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
Copy file name to clipboardExpand all lines: README.md
+9-16Lines changed: 9 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
CLI tool to generate SLO dashboards, monitors & SLI data
4
4
from [OpenSLO](https://github.com/OpenSLO/OpenSLO#specification) configs.
5
+
The resources are generated via terraform which can be consumed on its as as well.
6
+
5
7
6
8
Currently supported vendors/data sources.
7
9
@@ -10,10 +12,15 @@ Currently supported vendors/data sources.
10
12

11
13

12
14
15
+
A flow graph of `SLO` to `AlertPolicy` to `AlertNotificationTarget` is also generated in the output dir as `slo-dep-graph.png`.
16
+
Flow graphs for sample configs [here](samples/sumologic/v1) (only supported for v1 onward specs).
17
+
18
+

19
+
13
20
14
21
#### Getting the tool
15
22
16
-
##### install with go1.17 as `go install github.com/OpenSLO/slogen@latest`
23
+
##### install with go1.17 or above as `go install github.com/OpenSLO/slogen@v1.0.0`
17
24
18
25
latest golang release can be installed by using the directions here : https://github.com/udhos/update-golang#usage.
19
26
Add `$GOPATH/bin` to your `$PATH`.
@@ -24,20 +31,6 @@ It can be done with
24
31
export PATH=`go env GOPATH`/bin:$PATH
25
32
```
26
33
27
-
##### Get the latest binary from [release page](https://github.com/OpenSLO/slogen/releases) and put it in a directory in your `$PATH` (e.g. `$HOME/.local/bin` )
28
-
29
-
###### For Linux
30
-
31
-
```shell
32
-
wget -O - https://github.com/OpenSLO/slogen/releases/download/v0.7.11/slogen_0.7.11_Linux_x86_64.tar.gz | tar xvz -C /path/to/bin
33
-
```
34
-
35
-
###### For Mac
36
-
37
-
```shell
38
-
wget -O - https://github.com/OpenSLO/slogen/releases/download/v0.7.11/slogen_0.7.11_Darwin_x86_64.tar.gz | tar xvz -C /path/to/bin
39
-
```
40
-
41
34
### Using the tool
42
35
43
36
##### Set the sumologic auth as `ENV` variables as required by the [terraform provider](https://registry.terraform.io/providers/SumoLogic/sumologic/latest/docs#environment-variables):
0 commit comments