Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Is there a way to add a query string? #4

Description

@GoncaloGarcia

Hi!

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions