Add grafana dashboard
This commit is contained in:
21
contrib/docker-compose-sample.yml
Normal file
21
contrib/docker-compose-sample.yml
Normal file
@ -0,0 +1,21 @@
|
||||
name: Ambient Local Exporter
|
||||
services:
|
||||
ambient-local-exporter:
|
||||
image: image.libretechconsulting.com/dev/ambient-local-exporter:latest
|
||||
ports:
|
||||
- 8080:8080
|
||||
environment:
|
||||
APP_NAME: ambient-local-exporter
|
||||
APP_LOG_LEVEL: debug ## For testing only
|
||||
APP_LOG_FORMAT: json ## console, json
|
||||
APP_LOG_TIME_FORMAT: rfc3339 ## long, short, unix, rfc3339, off
|
||||
APP_HTTP_LISTEN: 0.0.0.0:8080
|
||||
APP_HTTP_READ_TIMEOUT: 10s
|
||||
APP_HTTP_WRITE_TIMEOUT: 10s
|
||||
APP_HTTP_IDLE_TIMEOUT: 30s
|
||||
APP_HTTP_LOG_REQUESTS: true
|
||||
APP_OTEL_STDOUT_ENABLED: false
|
||||
APP_OTEL_METRIC_INTERVAL_SECS: 30
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel.libretechconsulting.com:4317 # Set to your otel collector
|
||||
OTEL_SERVICE_NAME: ambient-local-exporter
|
||||
OTEL_RESOURCE_ATTRIBUTES: "env=development,service.version=(devel)"
|
5059
contrib/grafana-dashboard.json
Normal file
5059
contrib/grafana-dashboard.json
Normal file
File diff suppressed because it is too large
Load Diff
8
contrib/unset_env.sh
Executable file
8
contrib/unset_env.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!env sh
|
||||
unset APP_NAME
|
||||
unset APP_LOG_LEVEL
|
||||
unset APP_LOG_FORMAT
|
||||
unset APP_LOG_TIME_FORMAT
|
||||
unset APP_HTTP_LISTEN
|
||||
unset APP_OTEL_STDOUT_ENABLED
|
||||
unset APP_OTEL_METRIC_INTERVAL_SECS
|
Reference in New Issue
Block a user