Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables. Query of other elements. #23

Open
AleksandrSumkin opened this issue Jan 22, 2019 · 2 comments
Open

Variables. Query of other elements. #23

AleksandrSumkin opened this issue Jan 22, 2019 · 2 comments

Comments

@AleksandrSumkin
Copy link

Grafana v5.4.3
ITM v06.30.07.00
IBM APM datasource v0.8 (downloaded git release)
RHEL 7.6

Hi

How to get list of disks on the server or list of queues on the queue manger?
Variable can be used in conditions (for filtering results).

i tried but it didn't work.
Now for all query is added the string '/datasets/msys/items?properties=all'.
URL is brouken.

Example:

test query (list cpu ids):

TMSAgent.%25IBM.STATIC134/datasets/MetricGroup.KLZCPU/items?&optimize=true&param_SourceToken=skarsv100:LZ&properties=CPUID

result (url is malformed):
169.44.6.110/api/datasources/proxy/2/datasources/TMSAgent.%25IBM.STATIC134/datasets/MetricGroup.KLZCPU/items?&optimize=true&param_SourceToken=skarsv100:LZ&properties=CPUID/datasets/msys/items?properties=all

image

@rafal-szypulka
Copy link
Owner

Hi, Currently variable templates supports only lists of agents instances per agent type.
Here is the place where template variable request URL is assembled: https://github.com/rafal-szypulka/grafana-ibm-apm/blob/master/src/datasource.ts#L139
PRs are welcome!

@AleksandrSumkin
Copy link
Author

Hi,
Tthank you for answer! And thanks for your work! You mark this as enhancement, it is will be very powerfull tool for create detalied dashboards with crosslink! It looks simple, but I am is not a programmer (vbs is max of my skill). I will wait for the update.
:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants