The steps to instrument the subgraphs are as follows:Documentation Index
Fetch the complete documentation index at: https://wundergraphinc-milinda-eng-8701-implement-cache-warmer-from.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Instrument your application with OpenTelemetry.
If you’re running on Cosmo Cloud, the OTEL endpoint is
https://cosmo-otel.wundergraph.comTo authenticate against the collector, make your OpenTelemetry agent authenticate using your federated graph token as a bearer token, by adding the following HTTP header:
Authorization: Bearer <your token>Examples
Go
TypeScript
Sampling Rate
Ensure that your subgraphs use parent-based sampling to inherit the sampling rate.Example
Additionally, check our TypeScript example with OTEL.Custom OTEL Metrics are currently not exposed but stored. Please contact us if you have advanced use cases.