You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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