You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2024. It is now read-only.
I see that to add a new target to my dashboard i have to do something like
`/ define a target
target := grafanaclient.NewTarget()
//specify the measurement to use
target.Measurement = "cadvisor_version_info"
target.
// group stats by name tag values
target.GroupByTag("name")
target.GroupByTag("host")
// filter by host tag
target.FilterByTag("host", "test")
// Adding everything
graphPanel.AddTarget(target)`
But for me it would be easier to simply add the Prometheus query string. Is this possible?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
I see that to add a new target to my dashboard i have to do something like
`/ define a target
target := grafanaclient.NewTarget()
But for me it would be easier to simply add the Prometheus query string. Is this possible?
The text was updated successfully, but these errors were encountered: