Interface to InfluxDB : Writing data with the InfluxDB API

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Interface to InfluxDB : Writing data with the InfluxDB API

Noschvie
Hello

has anybody implemented the InfluxDB HTTP API in Smalltalk? Maybe there is an example available ?

How can this "write data" example be done in VAST using SstHttpClient or SstHttpUrl ?

curl -i -XPOST 'http://localhost:8086/write?db=mydb' --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000'

Thanks
Norbert

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/1f52d873-43d8-4010-af0e-70b5b0a3f4f6%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Interface to InfluxDB : Writing data with the InfluxDB API

Hans-Martin Mosner-3
Try this:

'http://localhost:8086/write?db=mydb' sstAsUrl post: 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000'


Cheers,
Hans-Martin

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/277b4abc-8675-40c4-aa52-55c37e10246a%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Interface to InfluxDB : Writing data with the InfluxDB API

Noschvie
Thanks Hans-Martin, works perfect!

In the meantime I got the UDP interface running...

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/475c52e5-b322-42bb-a232-7feff78a55b9%40googlegroups.com.