ddurieux / glpi_app_grafana

GNU Affero General Public License v3.0
23 stars 13 forks source link

incorrect values when using url #68

Closed phamorais closed 1 year ago

phamorais commented 3 years ago

Hey guys! My scenario is:

When making a filter in GLPI (tickets assigned to Group > XPTO), Im get 63

image

But then put the URL in grafana, I get incorrect values

image

What can it be?

ddurieux commented 3 years ago

Do you have entities in GLPI?

phamorais commented 3 years ago

@ddurieux

No. There is only one Entity (root).

And the service teams are separated by Groups.

phamorais commented 3 years ago

@ddurieux

When trying to inspect the Query, I get this

image

However all tokens are configured.

ddurieux commented 3 years ago

Ah found, set the "timerange based on" behind because it filter by default on creation date

phamorais commented 3 years ago

@ddurieux

the field "timerange based on" have values "undefined". Should there be any other option?

image

ddurieux commented 3 years ago

Ah, so I must publish the version compatible , sorry for the problem, forgotten publish it ;(

phamorais commented 3 years ago

@ddurieux

No problem. I'll be waiting for the new version :)

I realized that to work around my problem with the current version, grafana was using "relative time" the information below can default

image

However, changing to "10y" brought the amount of data I needed

image

phamorais commented 3 years ago

Ah, so I must publish the version compatible , sorry for the problem, forgotten publish it ;(

@ddurieux Hi!

will you publish a new version of the plugin?

ddurieux commented 3 years ago

The plugin don't work on Grafana8, I'm working on code to be compatible. Need few days more

LordFPL commented 2 years ago

Hello @ddurieux :) Any news for new version ?

phamorais commented 1 year ago

Not more interessed.