Traefik
StackState Self-hosted v5.1.x
Last updated
StackState Self-hosted v5.1.x
Last updated
The StackState Traefik integration provides the following functionality:
Reporting Traefik frontends and backends as topology elements.
Reporting all network connections between services, including network traffic telemetry.
Traefik is a .
The StackState Traefik integration is included in the . Currently, this integration supports tracing of Traefik requests using the Datadog tracing backend supported by Traefik.
Configure your Traefik instance to report to StackState . Your Traefik.toml configuration file must include the following parameters:
For example, for the following Traefik.toml
:
you should pass the following jvm argument when starting your java application: -Dsts.service.name=stackstate-demo-backend
or for a similar docker-compose configuration:
To verify whether the StackState Trace Agent has received traces, set the logging level to debug and check the trace-agent.log
:
In Docker or Kubernetes, set the following environment variable for the StackState Agent
When using Traefik in conjunction with one of our language specific trace clients, for example, it's important to note that you should use the backend
name of your Traefik service as the service-name
for the trace client to allow automatic merging of the service components within StackState.