Traefik
StackState curated integration
This page describes StackState version 4.3.
The StackState 4.3 version range is End of Life (EOL) and no longer supported. We encourage customers still running the 4.3 version range to upgrade to a more recent release.
The StackState Agent V2 Traefik integration provides the following functionality:
Reporting Traefik frontends and backends as topology elements.
Reporting all network connections between services, including network traffic telemetry.
Setup
Installation
The StackState Traefik integration is included in the Agent V2 StackPack. Currently this integration supports tracing of Traefik requests using the Datadog tracing backend supported by Traefik.
Configuration
Configure your Traefik instance to report Datadog tracing data to the StackState Agent. Your Traefik.toml configuration file must include the following parameters:
Integrate with Java traces
When using Traefik in conjunction with one of our language specific trace clients, eg. StackState Java Trace Client - Java APM it is 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.
Eg. 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:
Troubleshooting
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
Last updated