Skip to content

Commit

Permalink
change metrics env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
kenanfarukcakir committed Sep 26, 2023
1 parent c05a9b3 commit 177ee6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func main() {
}

ebpfEnabled, _ := strconv.ParseBool(os.Getenv("EBPF_ENABLED"))
metricsEnabled, _ := strconv.ParseBool(os.Getenv("METRICS_BACKEND"))
metricsEnabled, _ := strconv.ParseBool(os.Getenv("METRICS_ENABLED"))

// datastore backend
dsBackend := datastore.NewBackendDS(ctx, config.BackendConfig{
Expand Down
2 changes: 1 addition & 1 deletion resources/alaz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
- env:
- name: EBPF_ENABLED
value: "true"
- name: METRICS_BACKEND
- name: METRICS_ENABLED
value: "true"
- name: BACKEND_HOST
value: https://api.ddosify.com:443
Expand Down

0 comments on commit 177ee6b

Please sign in to comment.