use prometheus sdk to send metrics
This commit is contained in:
@@ -6,6 +6,7 @@ services:
|
||||
default: null
|
||||
ports:
|
||||
- 4318:4318
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- ./fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf
|
||||
victorialogs-1:
|
||||
@@ -70,12 +71,12 @@ services:
|
||||
environment:
|
||||
STARRYSDK_TELEMETRY_ENABLED: "true"
|
||||
STARRYSDK_SERVICE_NAME: starry-python-sdk-demo
|
||||
STARRYSDK_METRIC_EXPORT_INTERVAL_MS: "5000"
|
||||
#OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector:4318
|
||||
STARRYSDK_PROMETHEUS_REMOTE_WRITE_ENDPOINT: http://fluentbit:8080/api/prom/push
|
||||
STARRYSDK_METRIC_PUSH_INTERVAL_SECONDS: "5"
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT: http://fluentbit:4318
|
||||
DEMO_LOOP: "true"
|
||||
DEMO_INTERVAL_SECONDS: "5"
|
||||
DEMO_PATHS: ",__sdk_demo_not_found__"
|
||||
DEFAULT_OTLP_ENDPOINT: "http://fluentbit:4318"
|
||||
grafana:
|
||||
image: grafana/grafana-enterprise
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user