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

How would I add an annotation? #596

Closed
minimedj opened this issue Jul 16, 2014 · 8 comments
Closed

How would I add an annotation? #596

minimedj opened this issue Jul 16, 2014 · 8 comments

Comments

@minimedj
Copy link

Hi guys,

I have grafana with elastic search installed. I can create dashboards and save them - everything works as expected.

But I cannot figure out how to create annotations... I see that there are two types of annotations available: metric and event. What is a difference?

I simple want to manually put a mark (I suppose it is an annotation) on the chart that will indicate some event in my infrastructure.

If there any tutorial available for this?

Thank you in advance!

@torkelo
Copy link
Member

torkelo commented Jul 16, 2014

@minimedj Here is the documentation, http://grafana.org/docs/features/annotations/

The documentation is not that complete (will try to improve it this autumn). Currently Grafana only supports annotations from graphite metrics (regular graphite metrics), and graphite events (Graphite feature that can save event, timestamp and metadata).

Currently working on adding support for fetching annotations from InfluxDB and Elasticsearch. There is currently no way to create annotations in grafana only fetch. Creating annotations is something I definitely want to add.

@nanowish
Copy link

Hi torkelo,

I don't understand what I can set in "Graphite target expression" ?

Thanks

@torkelo
Copy link
Member

torkelo commented Nov 12, 2014

Any graphite query would do, for example,
alias (my.deploy.counter, 'deploy')

@nanowish
Copy link

I have a event with tag ansible-deploy, when I added my tag in Graphite event tags this work.

Now with existing test metric my.deploy.counter , nothing appears. I trying to add this metric in panel and in 'Graphite target expression'. Trying to add in 'Graphite target expression' and my event tag, nothing too.

Annotation appears only with my event tag.

@softwareklinic
Copy link

Can we add annotations back in time --- if i want to assign specific annotations for past 3 dates of deployments?

@danhallin
Copy link

If your underlying database supports assigning annotations back in time, yes. Graphite does have support for that.

@softwareklinic
Copy link

Thank you. We were able to figure it out using both the DJango admin console and the CURL.

Thank you very much for the response and help.

From: danhallin [mailto:notifications@github.com]
Sent: Tuesday, October 27, 2015 6:33 AM
To: grafana/grafana
Cc: Shah, Keyur
Subject: Re: [grafana] How would I add an annotation? (#596)

If your underlying database supports assigning annotations back in time, yes. Graphite does have support for that.


Reply to this email directly or view it on GitHubhttps://github.com//issues/596#issuecomment-151462867.

@cojack
Copy link

cojack commented Jul 9, 2018

@torkelo any example how to add metrics with annotations in graph panel?

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

6 participants