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

Two metrics on one graph with timeshift #307

Closed
1 of 3 tasks
pavelnemirovsky opened this issue Nov 16, 2016 · 8 comments
Closed
1 of 3 tasks

Two metrics on one graph with timeshift #307

pavelnemirovsky opened this issue Nov 16, 2016 · 8 comments

Comments

@pavelnemirovsky
Copy link

I'm submitting a ...

  • Bug report
  • Feature request
  • Question / Support request

First of all i want to admit u really crated a great professional product, well done.

Can u please advise how i can achieve using grafana capability cooperated with zabbix plugin when i can have two metrics where 1st one will be based on current time and second one will be looking 24h behind.

Just an example:
image

Thanks again,

P

@alexanderzobnin
Copy link
Collaborator

Hi! Thanks! About your question - now it's not impossible. But it one of feature which I want to add (with new timeShift() function for target), because it's very useful case for detecting correlation and deviations.

@alexanderzobnin
Copy link
Collaborator

Now you can use timeShift() function for shifting graph in time.

screen shot 2016-11-17 at 21 44 38

@pavelnemirovsky
Copy link
Author

pavelnemirovsky commented Nov 17, 2016

You are simply amazing, thank you

@pavelnemirovsky
Copy link
Author

Do u plan to release a version with this change?

@alexanderzobnin
Copy link
Collaborator

Yes, but don't know when. You can build it from sources.

@nubigtree
Copy link

I build this plugin from source for the timeshift new feature. But i got a error message "_.uniqBy is not a function".
image

image

Can you please advise anything i can do.

Thanks a lot.

@alexanderzobnin
Copy link
Collaborator

@nubigtree You should use latest grafana (4.0 pre). This is due lodash upgrade from 2.x to 4.x in Grafana, so some methods aren't have backward compatibility. Seems, I missed this method. Will try to fix, but in Grafana 4.x it works.

@nubigtree
Copy link

Hi Alex,
After upgrade to grafana4.x, it works well.thank you very much!

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

3 participants