Skip to content

Commit

Permalink
Merge pull request #19 from authzed/update-dedicated-metrics
Browse files Browse the repository at this point in the history
Update Dedicated metrics example
  • Loading branch information
alecmerdler authored Aug 19, 2024
2 parents b56e4bb + 0b52252 commit 39e7dd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions authzed-dedicated-metrics/otel-collector/env-vars.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export AUTHZED_DEDICATED_HOST='<your-authzed-dashboard-url>'
export PROMETHEUS_USERNAME='<permission-system-name>'
export PROMETHEUS_PASSWORD='<permission-system-token>'
export OTEL_EXPORTER_OTLP_ENDPOINT="https://<metrics-service-url>:443"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ receivers:
metrics_path: "/api/v1alpha/metrics"
scrape_interval: "15s"
static_configs:
- targets: ["app.admin.demo.aws.authzed.net"]
- targets: ["${AUTHZED_DEDICATED_HOST}"]
basic_auth:
username: ${PROMETHEUS_USERNAME} # yamllint disable-line rule:quoted-strings
password: ${PROMETHEUS_PASSWORD} # yamllint disable-line rule:quoted-strings
Expand Down

0 comments on commit 39e7dd1

Please sign in to comment.