Skip to content

Commit 5616985

Browse files
committed
Add readme
1 parent 2fe2bf0 commit 5616985

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Sysdig Query Translator
2+
3+
## What it is?
4+
This is a tool created in GO that creates a C library to be used mainly by a Pyhton application. With this tool you can translate a sysdig promql query to a vanilla Prometheus query.
5+
6+
## How to use it?
7+
You can import the library in your Python code and use it. The function RemoveSysdigLabelsInExpression expects two string as input:
8+
- The expresion itself
9+
- The extra scope you want to remove
10+
11+
In the folder example you will find an example of how to integrate it in your Pyhton code.
12+
13+
## Build
14+
If you want to build it by yourself just execute the build command of the makefile:
15+
16+
```bash
17+
make build
18+
```
19+
This will create a folder library with the two needed files with the C library.

0 commit comments

Comments
 (0)