X-Ray Filtering and Grouping

0

Hello Team, I have couple of questions w.r.t X-Ray filtering and Grouping.

Q1 : How do we forward the Traces to a predefined Trace Group ?

Description : I would like to know how do we group the Traces from a Kubernetes cluster. We are using Otel Collector to forward the Traces from Cluster to Cloud X-Ray. We can define a group in case of fluentbit and forward the logs to specific group on a cloud watch. Do we have anything like this.

Q2: How do we filter on the Metadata of a Trace ?

We have Cluster specific information in our metadata and trying to filter on the the same. This data is getting displayed in Segement Tab -> Metadata.

Sample: { "default": {

   "otel.resource.k8s.pod.uid": "82784adc-4f59-411e-9a7e-ee8f070752d8",
    "otel.resource.service.version": "v1",
    "otel.resource.k8s.deployment.name": "ihe-forwarder",
    "otel.resource.k8s.pod.start_time": "2023-01-09 19:16:11 +0000 UTC",
    "otel.resource.ClusterId": "",
    "otel.resource.service.instance.id": "95fb977c-7ded-40be-8da3-983b052db1ef",
    "otel.resource.k8s.pod.ip": "10.42.0.90",
    "otel.resource.k8s.node.name": "ingbtcpic6vl355",
    "otel.resource.k8s.pod.name": "ihe-forwarder-7f6b98b99b-nthw7",
    "otel.resource.service.name": "ix-ihe-forwarder",
    "db.statement_type": "Text",
    "otel.resource.k8s.namespace.name": "ix"

}

}

Overall, my requirement is to get the Total number of Trace metric from a given Kubernetes Cluster. I am capturing these metrics to have the Cost Analysis done for our Application.

Thanks,

asked a year ago204 views
1 Answer

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions