[influxdb] Re: writing annotations to InfluxDB

2016-06-16 Thread Timothy Appnel
 

OK. I traced this to a bit of stupidity (as I expected) on my part and how 
I was querying the data in Grafana. 


For those wondering or come upon this thread with myself, the trick was to 
"SELECT *" and using the column mapping in their annotations interface. The 
docs on annotations says "If you only select one column you will not need 
to enter anything in the column mapping fields." I was originally selecting 
on one column so I didn't do any mappings. When I switched to * and did a 
couple of mappings things went as I expected.

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to influxdb+unsubscr...@googlegroups.com.
To post to this group, send email to influxdb@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/69b7c98e-2341-401c-91fe-3a06a231644f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[influxdb] Re: writing annotations to InfluxDB

2016-06-15 Thread Timothy Appnel
I was rushing and made a couple of mistake in my last message. I'm running 
v0.13.0 and this is the correct link to my test code: 

https://gist.github.com/tima/d709da1f88f7e29e0536311f4d9835c2

On Wednesday, June 15, 2016 at 5:08:09 PM UTC-4, Timothy Appnel wrote:
>
> What is the proper way to write an annotation like that start of a new 
> application deploy to InfluxDB?
>
> I'm trying to write a python script that writes one, but I'm having 
> difficulties figuring out where I'm going wrong. The docs and sample code 
> I've found isn't working out for me. I'm not seeing any errors, I see the 
> measurement and one set of the tags (nothing that indicates each event) 
> thru the GUI. Grafana shows nothing ever. 
>
> The code examples I've found are several months old or more, with all the 
> breaking changes to the API that have happened in the past I was wondering 
> if that is where things are going wrong for me. I'm not convinced. I'm 
> pretty sure that it's me doing something dumb, but I'm stuck figuring out 
> what that is my on my own.
>
> https://gist.github.com/anonymous/dccdd51f91918e5907ce42e5fe4af357
>
> I'm using the latest stable version (v13.1) in my tests.
>
> Thanks.
>
>
>

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to influxdb+unsubscr...@googlegroups.com.
To post to this group, send email to influxdb@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/abe24cf8-e05f-4823-9283-a3ff3fa1b1fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.