raphaelthomas / influxdb-http Goto Github PK
View Code? Open in Web Editor NEWPerl Module to interact with the InfluxDB HTTP API
Perl Module to interact with the InfluxDB HTTP API
Logging with username and password fails for influxdb.
Hello,
Though this might be unusual, I had requests to support https connections to influxdb on this project: oetiker/SmokePing#201. However, the scheme used by you is hardcoded to http. Are you interested in extending it to support HTTPS (with optional self-signed certificates)? You'd need a few extra options when setting up a connection, but the underlying LWP should support HTTPS.
Thanks
Hi,
I am a DBA trying to use influxDB::HTTP perl module on centos7.3
Downladed :
$ wget https://github.com/raphaelthomas/InfluxDB-HTTP/archive/0.02.tar.gz
I compiled the .02 module but running the base code gives
"Can't locate Method/Signatures.pm in @inc "
So I did search
cricket:/var/opt/work $ yum search Method::Signatures
======================================== Matched: Method::Signatures =========================================
perl-Parse-Method-Signatures.noarch : Perl6 like method signature parser
$ yum install perl-Parse-Method-Signatures.noarch
and installed that .. but still get
perl -c connect_influxdb
Can't locate Method/Signatures.pm in @inc
.. What am I doing wrong!
Any help is appreciated.
Thanks.
MPAUL
I'm cleaning up the https://docs.influxdata.com/influxdb/v1.0/tools/api_client_libraries/ page and removing those libraries that aren't compatible with InfluxDB 1.0.
I'll remove this project from that page on October 15th unless you have plans to update for 1.0 compatibility. Thanks!
Hello,
I am using this to write to influxDB.
$influx2->write($arrayref, 'database' => 'myDB');
I am using Dumper to check the data before writing to DB.
This one works:
$VAR2 = 'pdn_con_stats,host=MME1,mmepool=mmepoolc2 Failure_at_enb:\ eps_esm_cause_network_failure=17.13,Success=66.35 1535483595493004000';
Query from Influx:
2018-08-28T19:13:15.493004Z 17.13 66.35 DE2VMME1 mmepoolc2
This one doesn't
$VAR2 = 'pdn_con_stats,host=MME1,mmepool=mmepoolc2 Failure_at_enb:\ eps_esm_cause_network_failure=16.19,Failure_at_pgw:\ dns_failure=0.02,Success=68.24 1535484008168269000';
There were no influx DB entries.
Hello,
This library uses some other libs as dependencies, as can be seen here:
https://github.com/raphaelthomas/InfluxDB-HTTP/blob/develop/lib/InfluxDB/HTTP.pm#L13-L16
however, they are not defined as dependencies in the Makefile.PL
file.
This means that to use this lib one needs to add them in manually in upstream projects.
Note: #7 touches up on this by adding the missing dependencies, but it's also adding features and more dependencies.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.