newrelic-experimental / gha-new-relic-exporter

18 stars 14 forks source link

Make parent trace names consistent between runs #23

Closed nsheaps closed 4 months ago

nsheaps commented 4 months ago

With tracing in newrelic, groups are done via the name on the parent trace. With each run having a unique name (due to the run ID being unique each time), it makes it hard to use the traces and compare runs over time. If the previous functionality is desired by consumers of this action, it is easy enough to restore by updating the GHA_RUN_NAME environment variable, which is only used in the context of the name of the parent trace.

Screenshot 2024-07-09 at 9 38 52 PM

The top group of traces were collected by github.com/inception-health/otel-export-trace-action and feature very similar results. This change is necessary for us to replace that action with this one. (note the difference in the service name, which this action achieves better by naming it after the repo)

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.