We are using Grafana to monitor our AWS resources. Our current structure:
-
YACE → Prometheus (CloudWatch metrics)
-
Fluentd → Loki (CloudWatch Logs)
-
Thanos (Long-term storage)
-
Grafana (Visualization)
We also have AWS X-Ray active tracing enabled on all of our Lambda functions, and Grafana can query X-Ray directly for live trace data. However, X-Ray only retains traces for 30 days, and we need long-term storage to match what we already have for metrics and logs.
Ideally, we’d like a tool that can poll or scrape X-Ray trace data — similar to how YACE polls CloudWatch metrics — so we can store it long-term. Modifying our Lambda functions to send traces to an external collector isn’t feasible since they all use AWS-native active tracing with no custom instrumentation. We haven’t been able to find any open-source project that pulls trace data from the X-Ray API. Does anyone know of a tool or approach that fits this use case?
TL;DR: How to scrabe/poll the AWS X-Ray Data?