lightstep / servicenow-cloud-observability-datasource

ServiceNow Cloud Observability (formerly Lightstep) telemetry datasource for Grafana
Apache License 2.0
6 stars 3 forks source link

Template Variable is not working with this data source #50

Closed kjain003 closed 2 weeks ago

kjain003 commented 1 month ago

How to Reproduce Issue : When Adding Variable in Grafana Dashboards,

  1. Goto Dashboard Settings>Variables>New Variable.
  2. Add variable name ,label and data source from which you want to pull values for the variable.
  3. it supports only regex query so we have to use regex patterns to extract details from records For example to get host.name from record {host.name="test-host", instrumentation.name="xyasyas", instrumentation.version:"10.1",os.type:"windows"}, we will have to use regex like /host.name="(?[^"]+)/
  4. This should provide value test-host as dashboard variable. But unfortunately this is not working and getting no values in response.

Environment (with versions):

kjain003 commented 1 month ago
image
kjain003 commented 1 month ago

Hi @DHedgecock, can you help us to resolve above issue?

DHedgecock commented 1 month ago

Hello @kjain003 - thank you for the detailed issue report, I will be working on this next week 👍

heidmotron commented 2 weeks ago

@kjain003 - this should be resolved via #51 in the 4.1.0 release!