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

events #326

Open
igor-zacharov opened this issue Oct 17, 2019 · 1 comment
Open

events #326

igor-zacharov opened this issue Oct 17, 2019 · 1 comment

Comments

@igor-zacharov
Copy link

I'm using the new event feature in 0.8.71
The events are introduced with the ! sign. Here is the kind of string sent to akumulid:
+!packet.arrival host=xxx othertags\r\n+timestamp\r\n+count
formatted according to https://docs.akumuli.org/writing-data documentation.
Count is just an integer number formatted as a string.

However that leads to the error message in akumuli.log:
"metric": "!packet.arrival",
Main [ERROR] Metric name can't be empty or start with '!' s

An additional explanation of how to use the events may be helpfull.

@Lazin
Copy link
Member

Lazin commented Oct 17, 2019

Hi!
The event message format looks good.
The error message that you posted can be generated if you'll try to fetch events using normal 'select' query. To read the events you should use 'select-events' query - https://docs.akumuli.org/query-language#select-events-query
You can also use akumuli-datasource for Grafana which supports annotations now - https://grafana.com/grafana/plugins/akumuli-datasource

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

No branches or pull requests

2 participants