mirror of
https://github.com/kerberos-io/agent.git
synced 2026-08-23 15:08:32 +00:00
- Added OpenTelemetry tracing support in main.go, including a new function startTracing to initialize the tracer with a configurable endpoint. - Updated the environment attribute from "testing" to "develop" for better clarity in tracing. - Integrated tracing into the RTSP connection process in gortsplib.go by creating a span for the Connect method. - Enhanced the Bootstrap function in Kerberos.go to include tracing, marking the start and end of the bootstrap process. - Introduced a new span in RunAgent to trace the execution flow and ensure proper span management.
31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
AGENT_NAME=camera-name
|
|
AGENT_KEY=uniq-camera-id
|
|
AGENT_TIMEZONE=Europe/Brussels
|
|
#AGENT_CAPTURE_CONTINUOUS=true
|
|
#AGENT_CAPTURE_IPCAMERA_RTSP=rtsp://fake.kerberos.io/stream
|
|
#AGENT_CAPTURE_IPCAMERA_SUB_RTSP=rtsp://fake.kerberos.io/stream
|
|
AGENT_CAPTURE_IPCAMERA_ONVIF_XADDR=x.x.x.x
|
|
AGENT_CAPTURE_IPCAMERA_ONVIF_USERNAME=xxx
|
|
AGENT_CAPTURE_IPCAMERA_ONVIF_PASSWORD=xxx
|
|
AGENT_HUB_URI=https://api.cloud.kerberos.io
|
|
AGENT_HUB_KEY=AKIXxxx4JBEI
|
|
AGENT_HUB_PRIVATE_KEY=DIOXxxxAlYpaxxxxXioL0txxx
|
|
AGENT_HUB_SITE=681xxxxxxx9bcda5
|
|
|
|
# By default will send to Hub (=S3), if you wish to send to Kerberos Vault, set to "kstorage"
|
|
AGENT_CLOUD=s3
|
|
AGENT_KERBEROSVAULT_URI=
|
|
AGENT_KERBEROSVAULT_PROVIDER=
|
|
AGENT_KERBEROSVAULT_DIRECTORY=
|
|
AGENT_KERBEROSVAULT_ACCESS_KEY=
|
|
AGENT_KERBEROSVAULT_SECRET_KEY=
|
|
AGENT_KERBEROSVAULT_MAX_RETRIES=10
|
|
AGENT_KERBEROSVAULT_TIMEOUT=120
|
|
AGENT_KERBEROSVAULT_SECONDARY_URI=
|
|
AGENT_KERBEROSVAULT_SECONDARY_PROVIDER=
|
|
AGENT_KERBEROSVAULT_SECONDARY_DIRECTORY=
|
|
AGENT_KERBEROSVAULT_SECONDARY_ACCESS_KEY=
|
|
AGENT_KERBEROSVAULT_SECONDARY_SECRET_KEY=
|
|
|
|
# Open telemetry tracing endpoint
|
|
OTEL_EXPORTER_OTLP_ENDPOINT= |