-
Notifications
You must be signed in to change notification settings - Fork 492
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
Get unix timestamp from time
var for alert messages.
#612
Comments
Any news with that? |
In our case we send a notification to hipchat and an email with the grafana direct rendered graph and the grafana graph/dashboard link. To accomplish that we use the exec property in alert node. We have 2 python scripts, one for hipchat and one for email. For hipchat things are straightforward. Get current timestamp in Python script and call the render endopint of Grafana. Then we post the message with the rendered png in hipchat, add the link to grafana graph and that's it Let me know if you need more details, Best, |
Thanks a lot! |
Hello! I have a similar problem: I would like to write a The problem is the two time formats are completely different: Is that now possible to convert from one format to another in the TICKscript without using a UDF? Thanks! |
or may be just add a new time function for lambda expression ? |
The notification contains a link to a Grafana dashboard. Is there a way to add the timestamps to a link?
i.e.
http://192.168.1.10:3000/dashboard/db/device_1_live?from=1462448901244&to=1462452501244
My message now:
I want to know if there is a way to calculate the value of from and to using TICK. I found something here but I don't know if this is what I need. If yes can you post an example? The ideea is that I want to add a link to Grafana to see some hardware metrics when a test fails and I need the timestamps. Thanks again.
From @bogdanveres in #508
The text was updated successfully, but these errors were encountered: