Traces
Last updated
Last updated
groundcover is fully able to ingest traces generated by DatadDog APM, displaying it natively in our platform. The result is a seamless experience of combining eBPF and DataDog traces to enable even more insights into your applications.
Once ingested, DataDog traces will natively appear as Distributed Traces in the platform.
There are two ways to ingest DataDog traces into groundcover:
Dual Shipping from the DataDog agent - to DataDog + groundcover's endpoint
Redirecting the DataDog SDK to send traces to groundcover's endpoint
Configuring the DataDog agent for Dual Shipping is done using the following environment variable. Note that the "apikey" should be left as is, as the ingestion does not require any type of apikey.
Apply the following environment variables to your deployment to redirect the traffic to groundcover's endpoint for ingestion:
Keep in mind - using this method will stop sending traces to the DataDog agent, meaning they will not appear in DataDog's platform
If sampling is not done by the DataDog SDK, it can be convenient to sample a ratio of the incoming traces in groundcover.
groundcover sampling does not take into account sampling being done in earlier stages (e.g SDK or collectors). It's recommended to choose one point for sampling.
To configure sampling, the relevant values can be used:
The samplingRatio
field is a fraction in the range 0-1. For example, 0.1 means 10% of the incoming traces will be sampled and stored in groundcover.
Use the values below to disable sampling and ingest 100% of the incoming traces.
Both methods - Dual Shipping and SDK redirection - require locating the groundcover endpoint to ship the traces to. Use the instructions to locate the endpoint for the sensor
service, referenced below as {GROUNDCOVER_SENSOR_ENDPOINT}
.