Skip to content

internal/trace: remove ENABLE_GRAFANA_CLOUD_TRACE_URL

Administrator requested to merge trace-url-remove-grafana-workaround into main

Created by: bobheadxi

The same behaviour can now be achieved with observability.trace.urlTemplate, e.g. in https://github.com/sourcegraph/deploy-sourcegraph-cloud/pull/17259:

  "observability.tracing": {
    "type": "opentelemetry",
    "sampling": "selective",
    "urlTemplate": "https://sourcegraph.grafana.net/explore?orgId=1&left=[\"now-1h\",\"now\",\"grafanacloud-sourcegraph-traces\",{\"query\":\"{{ .TraceID }}\",\"queryType\":\"traceId\"}]"
  },

Do not merge until we roll out https://github.com/sourcegraph/deploy-sourcegraph-cloud/pull/17259

Test plan

Tested the above configuration locally

Merge request reports

Loading