Traefik
StackState Self-hosted v5.0.x
This page describes StackState version 5.0.
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.
Traefik is a StackState curated integration.
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