generated from Patagia/template-nix
feat(direnv): opentelemetry env vars for development
Some checks failed
ci/woodpecker/push/ci Pipeline failed
Some checks failed
ci/woodpecker/push/ci Pipeline failed
This commit is contained in:
parent
7333ced376
commit
e297e16cfb
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
|||
nix_direnv_manual_reload
|
||||
use flake
|
||||
export DATABASE_URL=postgresql://patagia:swordfish@/patagia?host=$XDG_RUNTIME_DIR/patagia-postgres
|
||||
export OTEL_EXPORTER_OTLP_TRACES_PROTOCOL="http/protobuf"
|
||||
export OTEL_RESOURCE_ATTRIBUTES=host.name=$HOSTNAME
|
||||
export OTEL_SERVICE_NAME=$USER.patagia-control
|
||||
export OTEL_TRACES_SAMPLER=always_on
|
||||
dotenv_if_exists
|
||||
|
|
Loading…
Reference in a new issue