1
0
Fork 0
mirror of synced 2024-06-02 10:54:44 +12:00

debug influx

This commit is contained in:
Torsten Dittmann 2021-05-04 14:15:29 +02:00
parent bf8994fa3a
commit a46638544f
3 changed files with 44 additions and 37 deletions

View file

@ -170,7 +170,7 @@ $register->set('influxdb', function () { // Register DB connection
return;
}
$client = new InfluxDB\Client($host, $port, '', '', false, false, 5);
$client = new InfluxDB\Client(host: $host, port: $port, timeout: 5);
return $client;
});

View file

@ -55,7 +55,7 @@
"resque/php-resque": "1.3.6",
"matomo/device-detector": "4.2.2",
"dragonmantank/cron-expression": "3.1.0",
"influxdb/influxdb-php": "1.15.2",
"influxdb/influxdb-php": "dev-fix-php-8",
"phpmailer/phpmailer": "6.4.0",
"chillerlan/php-qrcode": "4.3.0",
"adhocore/jwt": "1.1.2",
@ -71,6 +71,10 @@
{
"type": "git",
"url": "https://github.com/appwrite/sdk-generator"
},
{
"type": "git",
"url": "https://github.com/torstendittmann/influxdb-php"
}
],
"provide": {

73
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "32ceddda707fb8f625f84eec08dc3871",
"content-hash": "e1895c2ac913b340a77d06030122f42e",
"packages": [
{
"name": "adhocore/jwt",
@ -649,17 +649,11 @@
},
{
"name": "influxdb/influxdb-php",
"version": "1.15.2",
"version": "dev-fix-php-8",
"source": {
"type": "git",
"url": "https://github.com/influxdata/influxdb-php.git",
"reference": "d6e59f4f04ab9107574fda69c2cbe36671253d03"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/influxdata/influxdb-php/zipball/d6e59f4f04ab9107574fda69c2cbe36671253d03",
"reference": "d6e59f4f04ab9107574fda69c2cbe36671253d03",
"shasum": ""
"url": "https://github.com/torstendittmann/influxdb-php",
"reference": "a784e08b0bf1658b11ff14c86942c9ba7a77709f"
},
"require": {
"guzzlehttp/guzzle": "^6.0|^7.0",
@ -679,7 +673,19 @@
"InfluxDB\\": "src/InfluxDB"
}
},
"notification-url": "https://packagist.org/downloads/",
"autoload-dev": {
"psr-4": {
"InfluxDB\\Test\\": "tests"
}
},
"scripts": {
"test": [
"vendor/bin/phpunit"
],
"test-ci": [
"vendor/bin/phpunit -v --coverage-clover=clover.xml"
]
},
"license": [
"MIT"
],
@ -707,11 +713,7 @@
"influxdb library",
"time series"
],
"support": {
"issues": "https://github.com/influxdata/influxdb-php/issues",
"source": "https://github.com/influxdata/influxdb-php/tree/1.15.2"
},
"time": "2020-12-26T17:45:17+00:00"
"time": "2021-05-04T12:12:20+00:00"
},
{
"name": "matomo/device-detector",
@ -1015,16 +1017,16 @@
},
{
"name": "psr/log",
"version": "1.1.3",
"version": "1.1.4",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "0f73288fd15629204f9d42b7055f72dacbe811fc"
"reference": "d49695b909c3b7628b6289db5479a1c204601f11"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc",
"reference": "0f73288fd15629204f9d42b7055f72dacbe811fc",
"url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
"reference": "d49695b909c3b7628b6289db5479a1c204601f11",
"shasum": ""
},
"require": {
@ -1048,7 +1050,7 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for logging libraries",
@ -1059,9 +1061,9 @@
"psr-3"
],
"support": {
"source": "https://github.com/php-fig/log/tree/1.1.3"
"source": "https://github.com/php-fig/log/tree/1.1.4"
},
"time": "2020-03-23T09:12:05+00:00"
"time": "2021-05-03T11:20:27+00:00"
},
{
"name": "ralouphie/getallheaders",
@ -3043,16 +3045,16 @@
},
{
"name": "nikic/php-parser",
"version": "v4.10.4",
"version": "v4.10.5",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
"reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e"
"reference": "4432ba399e47c66624bc73c8c0f811e5c109576f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/c6d052fc58cb876152f89f532b95a8d7907e7f0e",
"reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e",
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4432ba399e47c66624bc73c8c0f811e5c109576f",
"reference": "4432ba399e47c66624bc73c8c0f811e5c109576f",
"shasum": ""
},
"require": {
@ -3093,9 +3095,9 @@
],
"support": {
"issues": "https://github.com/nikic/PHP-Parser/issues",
"source": "https://github.com/nikic/PHP-Parser/tree/v4.10.4"
"source": "https://github.com/nikic/PHP-Parser/tree/v4.10.5"
},
"time": "2020-12-20T10:01:03+00:00"
"time": "2021-05-03T19:11:20+00:00"
},
{
"name": "openlss/lib-array2xml",
@ -4973,16 +4975,16 @@
},
{
"name": "symfony/console",
"version": "v5.2.6",
"version": "v5.2.7",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "35f039df40a3b335ebf310f244cb242b3a83ac8d"
"reference": "90374b8ed059325b49a29b55b3f8bb4062c87629"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/35f039df40a3b335ebf310f244cb242b3a83ac8d",
"reference": "35f039df40a3b335ebf310f244cb242b3a83ac8d",
"url": "https://api.github.com/repos/symfony/console/zipball/90374b8ed059325b49a29b55b3f8bb4062c87629",
"reference": "90374b8ed059325b49a29b55b3f8bb4062c87629",
"shasum": ""
},
"require": {
@ -5050,7 +5052,7 @@
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v5.2.6"
"source": "https://github.com/symfony/console/tree/v5.2.7"
},
"funding": [
{
@ -5066,7 +5068,7 @@
"type": "tidelift"
}
],
"time": "2021-03-28T09:42:18+00:00"
"time": "2021-04-19T14:07:32+00:00"
},
{
"name": "symfony/polyfill-intl-grapheme",
@ -5925,6 +5927,7 @@
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
"influxdb/influxdb-php": 20,
"appwrite/sdk-generator": 20
},
"prefer-stable": false,