Render query result with 1st column as datetime as is #625
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @brunogonzalez, let me try to reproduce it, and I'll get back to you. Quick question - are you using Grafana Alloy and sql_exporter as separate components or built-in functionality (Grafana Alloy uses some code from sql_exporter so it's partially embedded, but only for Microsoft SQL)? Also, if you could check the raw output from the I have a feeling it's related to Grafana rendering the results, but happy to look into that. 👍 Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hi @burningalchemist I've thought about the timestamp_value parameter. I'll retry because it was crashing Alloy but I was playing a lot with multiple values so 😊 I'll check on Graphana's side as well for the transformation, thanks for the hints. I'll keep you posted. |
Beta Was this translation helpful? Give feedback.
Some thoughts:
You might want to use transformations in Grafana as
datetimeutc
is just a label, so it's not processed as a timestamp in Grafana (and maybe that's the reason of a broken chart);You also might want to try
timestamp_value
parameter as in the example:This feature is available in sql_exporter since v0.14, but if you're using the embedded exporter from Alloy, I don't know if they updated the config file in Grafana Alloy (they never reached out to me, so I don't know the current status of this integration).
…