Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
459
plugins/inputs/influxdb/README.md
Normal file
459
plugins/inputs/influxdb/README.md
Normal file
|
@ -0,0 +1,459 @@
|
|||
# InfluxDB Input Plugin
|
||||
|
||||
This plugin collects metrics on the given InfluxDB v1 servers from the
|
||||
`/debug/vars` endpoint. Read the [documentation][doc_v1] for detailed
|
||||
information about `influxdb` metrics.
|
||||
|
||||
Additionally, this plugin can gather metrics from endpoints exposing
|
||||
InfluxDB-formatted endpoints.
|
||||
|
||||
> [!TIP]
|
||||
> To gather [InfluxDB v2 metrics][docs_v2] use the
|
||||
> [prometheus plugin][prometheus] with
|
||||
>
|
||||
> ```toml
|
||||
> [[inputs.prometheus]]
|
||||
> urls = ["http://localhost:8086/metrics"]
|
||||
> metric_version = 1
|
||||
> ```
|
||||
|
||||
⭐ Telegraf v0.2.5
|
||||
🏷️ datastore
|
||||
💻 all
|
||||
|
||||
[doc_v1]: https://docs.influxdata.com/platform/monitoring/influxdata-platform/tools/measurements-internal/
|
||||
[docs_v2]: https://docs.influxdata.com/influxdb/latest/reference/internals/metrics/
|
||||
[prometheus]: /plugins/inputs/prometheus/README.md
|
||||
|
||||
## Global configuration options <!-- @/docs/includes/plugin_config.md -->
|
||||
|
||||
In addition to the plugin-specific configuration settings, plugins support
|
||||
additional global and plugin configuration settings. These settings are used to
|
||||
modify metrics, tags, and field or create aliases and configure ordering, etc.
|
||||
See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
||||
|
||||
[CONFIGURATION.md]: ../../../docs/CONFIGURATION.md#plugins
|
||||
|
||||
## Configuration
|
||||
|
||||
```toml @sample.conf
|
||||
# Read InfluxDB-formatted JSON metrics from one or more HTTP endpoints
|
||||
[[inputs.influxdb]]
|
||||
## Works with InfluxDB debug endpoints out of the box,
|
||||
## but other services can use this format too.
|
||||
## See the influxdb plugin's README for more details.
|
||||
|
||||
## Multiple URLs from which to read InfluxDB-formatted JSON
|
||||
## Default is "http://localhost:8086/debug/vars".
|
||||
urls = [
|
||||
"http://localhost:8086/debug/vars"
|
||||
]
|
||||
|
||||
## Username and password to send using HTTP Basic Authentication.
|
||||
# username = ""
|
||||
# password = ""
|
||||
|
||||
## Optional TLS Config
|
||||
# tls_ca = "/etc/telegraf/ca.pem"
|
||||
# tls_cert = "/etc/telegraf/cert.pem"
|
||||
# tls_key = "/etc/telegraf/key.pem"
|
||||
## Use TLS but skip chain & host verification
|
||||
# insecure_skip_verify = false
|
||||
|
||||
## http request & header timeout
|
||||
timeout = "5s"
|
||||
```
|
||||
|
||||
## InfluxDB-formatted endpoints
|
||||
|
||||
The influxdb plugin can collect InfluxDB-formatted data from JSON endpoints.
|
||||
Whether associated with an Influx database or not.
|
||||
|
||||
With a configuration of:
|
||||
|
||||
```toml
|
||||
[[inputs.influxdb]]
|
||||
urls = [
|
||||
"http://127.0.0.1:8086/debug/vars",
|
||||
"http://192.168.2.1:8086/debug/vars"
|
||||
]
|
||||
```
|
||||
|
||||
## Metrics
|
||||
|
||||
> [!NOTE]
|
||||
> The measurements and fields included in this plugin are dynamically
|
||||
> built from the InfluxDB source, and may vary between versions.
|
||||
|
||||
- **influxdb_ae** _(Enterprise Only)_ : Statistics related to the Anti-Entropy
|
||||
(AE) engine in InfluxDB Enterprise clusters.
|
||||
- **bytesRx**: Number of bytes received by the data node.
|
||||
- **errors**: Total number of anti-entropy jobs that have resulted in errors.
|
||||
- **jobs**: Total number of jobs executed by the data node.
|
||||
- **jobsActive**: Number of active (currently executing) jobs.
|
||||
- **influxdb_cluster** _(Enterprise Only)_ : Statistics related to the
|
||||
clustering features of the data nodes in InfluxDB Enterprise clusters.
|
||||
- **copyShardReq**: Number of internal requests made to copy a shard from
|
||||
one data node to another.
|
||||
- **createIteratorReq**: Number of read requests from other data nodes in
|
||||
the cluster.
|
||||
- **expandSourcesReq**: Number of remote node requests made to find
|
||||
measurements on this node that match a particular regular expression.
|
||||
- **fieldDimensionsReq**: Number of remote node requests for information
|
||||
about the fields and associated types, and tag keys of measurements on
|
||||
this data node.
|
||||
- **iteratorCostReq**: Number of internal requests for iterator cost.
|
||||
- **openConnections**: Tracks the number of open connections being handled by
|
||||
the data node (including logical connections multiplexed onto a single
|
||||
yamux connection).
|
||||
- **removeShardReq**: Number of internal requests to delete a shard from this
|
||||
data node. Exclusively incremented by use of the influxd-ctl remove shard
|
||||
command.
|
||||
- **writeShardFail**: Total number of internal write requests from a remote
|
||||
node that failed.
|
||||
- **writeShardPointsReq**: Number of points in every internal write request
|
||||
from any remote node, regardless of success.
|
||||
- **writeShardReq**: Number of internal write requests from a remote data
|
||||
node, regardless of success.
|
||||
- **influxdb_cq**: Metrics related to continuous queries (CQs).
|
||||
- **queryFail**: Total number of continuous queries that executed but failed.
|
||||
- **queryOk**: Total number of continuous queries that executed successfully.
|
||||
- **influxdb_database**: Database metrics are collected from.
|
||||
- **numMeasurements**: Current number of measurements in the specified
|
||||
database.
|
||||
- **numSeries**: Current series cardinality of the specified database.
|
||||
- **influxdb_hh** _(Enterprise Only)_ : Events resulting in new hinted handoff
|
||||
(HH) processors in InfluxDB Enterprise clusters.
|
||||
- **writeShardReq**: Number of initial write requests handled by the hinted
|
||||
handoff engine for a remote node.
|
||||
- **writeShardReqPoints**: Number of write requests for each point in the
|
||||
initial request to the hinted handoff engine for a remote node.
|
||||
- **influxdb_hh_database** _(Enterprise Only)_ : Aggregates all hinted handoff
|
||||
queues for a single database and node.
|
||||
- **bytesRead**: Size, in bytes, of points read from the hinted handoff queue
|
||||
and sent to its destination data node.
|
||||
- **bytesWritten**: Total number of bytes written to the hinted handoff queue.
|
||||
- **queueBytes**: Total number of bytes remaining in the hinted handoff queue.
|
||||
- **queueDepth**: Total number of segments in the hinted handoff queue.
|
||||
The HH queue is a sequence of 10MB “segment” files.
|
||||
- **writeBlocked**: Number of writes blocked because the number of concurrent
|
||||
HH requests exceeds the limit.
|
||||
- **writeDropped**: Number of writes dropped from the HH queue because the
|
||||
write appeared to be corrupted.
|
||||
- **writeNodeReq**: Total number of write requests that succeeded in writing
|
||||
a batch to the destination node.
|
||||
- **writeNodeReqFail**: Total number of write requests that failed in writing
|
||||
a batch of data from the hinted handoff queue to the destination node.
|
||||
- **writeNodeReqPoints**: Total number of points successfully written from
|
||||
the HH queue to the destination node fr
|
||||
- **writeShardReq**: Total number of every write batch request enqueued into
|
||||
the hinted handoff queue.
|
||||
- **writeShardReqPoints**: Total number of points enqueued into the hinted
|
||||
handoff queue.
|
||||
- **influxdb_hh_processor** _(Enterprise Only)_: Statistics stored for a single
|
||||
queue (shard).
|
||||
- **bytesRead**: Size, in bytes, of points read from the hinted handoff queue
|
||||
and sent to its destination data node.
|
||||
- **bytesWritten**: Total number of bytes written to the hinted handoff queue.
|
||||
- **queueBytes**: Total number of bytes remaining in the hinted handoff queue.
|
||||
- **queueDepth**: Total number of segments in the hinted handoff queue.
|
||||
The HH queue is a sequence of 10MB “segment” files.
|
||||
- **writeBlocked**: Number of writes blocked because the number of concurrent
|
||||
HH requests exceeds the limit.
|
||||
- **writeDropped**: Number of writes dropped from the HH queue because the
|
||||
write appeared to be corrupted.
|
||||
- **writeNodeReq**: Total number of write requests that succeeded in writing
|
||||
a batch to the destination node.
|
||||
- **writeNodeReqFail**: Total number of write requests that failed in writing
|
||||
a batch of data from the hinted handoff queue to the destination node.
|
||||
- **writeNodeReqPoints**: Total number of points successfully written from
|
||||
the HH queue to the destination node fr
|
||||
- **writeShardReq**: Total number of every write batch request enqueued into
|
||||
the hinted handoff queue.
|
||||
- **writeShardReqPoints**: Total number of points enqueued into the hinted
|
||||
handoff queue.
|
||||
- **influxdb_httpd**: Metrics related to the InfluxDB HTTP server.
|
||||
- **authFail**: Number of HTTP requests that were aborted due to
|
||||
authentication being required, but not supplied or incorrect.
|
||||
- **clientError**: Number of HTTP responses due to client errors, with
|
||||
a 4XX HTTP status code.
|
||||
- **fluxQueryReq**: Number of Flux query requests served.
|
||||
- **fluxQueryReqDurationNs**: Duration (wall-time), in nanoseconds, spent
|
||||
executing Flux query requests.
|
||||
- **pingReq**: Number of times InfluxDB HTTP server served the /ping HTTP
|
||||
endpoint.
|
||||
- **pointsWrittenDropped**: Number of points dropped by the storage engine.
|
||||
- **pointsWrittenFail**: Number of points accepted by the HTTP /write
|
||||
endpoint, but unable to be persisted.
|
||||
- **pointsWrittenOK**: Number of points successfully accepted and persisted
|
||||
by the HTTP /write endpoint.
|
||||
- **promReadReq**: Number of read requests to the Prometheus /read endpoint.
|
||||
- **promWriteReq**: Number of write requests to the Prometheus /write
|
||||
endpoint.
|
||||
- **queryReq**: Number of query requests.
|
||||
- **queryReqDurationNs**: Total query request duration, in nanosecond (ns).
|
||||
- **queryRespBytes**: Total number of bytes returned in query responses.
|
||||
- **recoveredPanics**: Total number of panics recovered by the HTTP handler.
|
||||
- **req**: Total number of HTTP requests served.
|
||||
- **reqActive**: Number of currently active requests.
|
||||
- **reqDurationNs**: Duration (wall time), in nanoseconds, spent inside HTTP
|
||||
requests.
|
||||
- **serverError**: Number of HTTP responses due to server errors.
|
||||
- **statusReq**: Number of status requests served using the HTTP /status
|
||||
endpoint.
|
||||
- **valuesWrittenOK**: Number of values (fields) successfully accepted and
|
||||
persisted by the HTTP /write endpoint.
|
||||
- **writeReq**: Number of write requests served using the HTTP /write
|
||||
endpoint.
|
||||
- **writeReqActive**: Number of currently active write requests.
|
||||
- **writeReqBytes**: Total number of bytes of line protocol data received by
|
||||
write requests, using the HTTP /write endpoint.
|
||||
- **writeReqDurationNs**: Duration, in nanoseconds, of write requests served
|
||||
using the /write HTTP endpoint.
|
||||
- **influxdb_memstats**: Statistics about the memory allocator in the specified
|
||||
database.
|
||||
- **Alloc**: Number of bytes allocated to heap objects.
|
||||
- **BuckHashSys**: Number of bytes of memory in profiling bucket hash tables.
|
||||
- **Frees**: Cumulative count of heap objects freed.
|
||||
- **GCCPUFraction**: fraction of InfluxDB's available CPU time used by the
|
||||
garbage collector (GC) since InfluxDB started.
|
||||
- **GCSys**: Number of bytes of memory in garbage collection metadata.
|
||||
- **HeapAlloc**: Number of bytes of allocated heap objects.
|
||||
- **HeapIdle**: Number of bytes in idle (unused) spans.
|
||||
- **HeapInuse**: Number of bytes in in-use spans.
|
||||
- **HeapObjects**: Number of allocated heap objects.
|
||||
- **HeapReleased**: Number of bytes of physical memory returned to the OS.
|
||||
- **HeapSys**: Number of bytes of heap memory obtained from the OS.
|
||||
- **LastGC**: Time the last garbage collection finished.
|
||||
- **Lookups**: Number of pointer lookups performed by the runtime.
|
||||
- **MCacheInuse**: Number of bytes of allocated mcache structures.
|
||||
- **MCacheSys**: Number of bytes of memory obtained from the OS for mcache
|
||||
structures.
|
||||
- **MSpanInuse**: Number of bytes of allocated mspan structures.
|
||||
- **MSpanSys**: Number of bytes of memory obtained from the OS for mspan
|
||||
structures.
|
||||
- **Mallocs**: Cumulative count of heap objects allocated.
|
||||
- **NextGC**: Target heap size of the next GC cycle.
|
||||
- **NumForcedGC**: Number of GC cycles that were forced by the application
|
||||
calling the GC function.
|
||||
- **NumGC**: Number of completed GC cycles.
|
||||
- **OtherSys**: Number of bytes of memory in miscellaneous off-heap runtime
|
||||
allocations.
|
||||
- **PauseTotalNs**: Cumulative nanoseconds in GC stop-the-world pauses since
|
||||
the program started.
|
||||
- **StackInuse**: Number of bytes in stack spans.
|
||||
- **StackSys**: Number of bytes of stack memory obtained from the OS.
|
||||
- **Sys**: Total bytes of memory obtained from the OS.
|
||||
- **TotalAlloc**: Cumulative bytes allocated for heap objects.
|
||||
- **influxdb_queryExecutor**: Metrics related to usage of the Query Executor
|
||||
of the InfluxDB engine.
|
||||
- **queriesActive**: Number of active queries currently being handled.
|
||||
- **queriesExecuted**: Number of queries executed (started).
|
||||
- **queriesFinished**: Number of queries that have finished executing.
|
||||
- **queryDurationNs**: Total duration, in nanoseconds, of executed queries.
|
||||
- **recoveredPanics**: Number of panics recovered by the Query Executor.
|
||||
- **influxdb_rpc** _(Enterprise Only)_ : Statistics related to the use of RPC
|
||||
calls within InfluxDB Enterprise clusters.
|
||||
- **idleStreams**: Number of idle multiplexed streams across all live TCP
|
||||
connections.
|
||||
- **liveConnections**: Current number of live TCP connections to other nodes.
|
||||
- **liveStreams**: Current number of live multiplexed streams across all live
|
||||
TCP connections.
|
||||
- **rpcCalls**: Total number of RPC calls made to remote nodes.
|
||||
- **rpcFailures**: Total number of RPC failures, which are RPCs that did
|
||||
not recover.
|
||||
- **rpcReadBytes**: Total number of RPC bytes read.
|
||||
- **rpcRetries**: Total number of RPC calls that retried at least once.
|
||||
- **rpcWriteBytes**: Total number of RPC bytes written.
|
||||
- **singleUse**: Total number of single-use connections opened using Dial.
|
||||
- **singleUseOpen**: Number of single-use connections currently open.
|
||||
- **totalConnections**: Total number of TCP connections that have been
|
||||
established.
|
||||
- **totalStreams**: Total number of streams established.
|
||||
- **influxdb_runtime**: Subset of memstat record statistics for the Go memory
|
||||
allocator.
|
||||
- **Alloc**: Currently allocated number of bytes of heap objects.
|
||||
- **Frees**: Cumulative number of freed (live) heap objects.
|
||||
- **HeapAlloc**: Size, in bytes, of all heap objects.
|
||||
- **HeapIdle**: Number of bytes of idle heap objects.
|
||||
- **HeapInUse**: Number of bytes in in-use spans.
|
||||
- **HeapObjects**: Number of allocated heap objects.
|
||||
- **HeapReleased**: Number of bytes of physical memory returned to the OS.
|
||||
- **HeapSys**: Number of bytes of heap memory obtained from the OS. Measures
|
||||
the amount of virtual address space reserved for the heap.
|
||||
- **Lookups**: Number of pointer lookups performed by the runtime. Primarily
|
||||
useful for debugging runtime internals.
|
||||
- **Mallocs**: Total number of heap objects allocated. The total number of
|
||||
live objects is Frees.
|
||||
- **NumGC**: Number of completed GC (garbage collection) cycles.
|
||||
- **NumGoroutine**: Total number of Go routines.
|
||||
- **PauseTotalNs**: Total duration, in nanoseconds, of total GC
|
||||
(garbage collection) pauses.
|
||||
- **Sys**: Total number of bytes of memory obtained from the OS. Measures
|
||||
the virtual address space reserved by the Go runtime for the heap, stacks,
|
||||
and other internal data structures.
|
||||
- **TotalAlloc**: Total number of bytes allocated for heap objects. This
|
||||
statistic does not decrease when objects are freed.
|
||||
- **influxdb_shard**: Metrics related to InfluxDB shards.
|
||||
- **diskBytes**: Size, in bytes, of the shard, including the size of the
|
||||
data directory and the WAL directory.
|
||||
- **fieldsCreate**: Number of fields created.
|
||||
- **indexType**: Type of index inmem or tsi1.
|
||||
- **n_shards**: Total number of shards in the specified database.
|
||||
- **seriesCreate**: Number of series created.
|
||||
- **writeBytes**: Number of bytes written to the shard.
|
||||
- **writePointsDropped**: Number of requests to write points t dropped from
|
||||
a write.
|
||||
- **writePointsErr**: Number of requests to write points that failed to be
|
||||
written due to errors.
|
||||
- **writePointsOk**: Number of points written successfully.
|
||||
- **writeReq**: Total number of write requests.
|
||||
- **writeReqErr**: Total number of write requests that failed due to errors.
|
||||
- **writeReqOk**: Total number of successful write requests.
|
||||
- **influxdb_subscriber**: InfluxDB subscription metrics.
|
||||
- **createFailures**: Number of subscriptions that failed to be created.
|
||||
- **pointsWritten**: Total number of points that were successfully written
|
||||
to subscribers.
|
||||
- **writeFailures**: Total number of batches that failed to be written
|
||||
to subscribers.
|
||||
- **influxdb_tsm1_cache**: TSM cache metrics.
|
||||
- **cacheAgeMs**: Duration, in milliseconds, since the cache was last
|
||||
snapshotted at sample time.
|
||||
- **cachedBytes**: Total number of bytes that have been written into snapshots.
|
||||
- **diskBytes**: Size, in bytes, of on-disk snapshots.
|
||||
- **memBytes**: Size, in bytes, of in-memory cache.
|
||||
- **snapshotCount**: Current level (number) of active snapshots.
|
||||
- **WALCompactionTimeMs**: Duration, in milliseconds, that the commit lock is
|
||||
held while compacting snapshots.
|
||||
- **writeDropped**: Total number of writes dropped due to timeouts.
|
||||
- **writeErr**: Total number of writes that failed.
|
||||
- **writeOk**: Total number of successful writes.
|
||||
- **influxdb_tsm1_engine**: TSM storage engine metrics.
|
||||
- **cacheCompactionDuration** Duration (wall time), in nanoseconds, spent in
|
||||
cache compactions.
|
||||
- **cacheCompactionErr** Number of cache compactions that have failed due
|
||||
to errors.
|
||||
- **cacheCompactions** Total number of cache compactions that have ever run.
|
||||
- **cacheCompactionsActive** Number of cache compactions that are currently
|
||||
running.
|
||||
- **tsmFullCompactionDuration** Duration (wall time), in nanoseconds, spent
|
||||
in full compactions.
|
||||
- **tsmFullCompactionErr** Total number of TSM full compactions that have
|
||||
failed due to errors.
|
||||
- **tsmFullCompactionQueue** Current number of pending TMS Full compactions.
|
||||
- **tsmFullCompactions** Total number of TSM full compactions that have
|
||||
ever run.
|
||||
- **tsmFullCompactionsActive** Number of TSM full compactions currently
|
||||
running.
|
||||
- **tsmLevel1CompactionDuration** Duration (wall time), in nanoseconds,
|
||||
spent in TSM level 1 compactions.
|
||||
- **tsmLevel1CompactionErr** Total number of TSM level 1 compactions that
|
||||
have failed due to errors.
|
||||
- **tsmLevel1CompactionQueue** Current number of pending TSM level 1
|
||||
compactions.
|
||||
- **tsmLevel1Compactions** Total number of TSM level 1 compactions that have
|
||||
ever run.
|
||||
- **tsmLevel1CompactionsActive** Number of TSM level 1 compactions that are
|
||||
currently running.
|
||||
- **tsmLevel2CompactionDuration** Duration (wall time), in nanoseconds,
|
||||
spent in TSM level 2 compactions.
|
||||
- **tsmLevel2CompactionErr** Number of TSM level 2 compactions that have
|
||||
failed due to errors.
|
||||
- **tsmLevel2CompactionQueue** Current number of pending TSM level 2
|
||||
compactions.
|
||||
- **tsmLevel2Compactions** Total number of TSM level 2 compactions that
|
||||
have ever run.
|
||||
- **tsmLevel2CompactionsActive** Number of TSM level 2 compactions that
|
||||
are currently running.
|
||||
- **tsmLevel3CompactionDuration** Duration (wall time), in nanoseconds,
|
||||
spent in TSM level 3 compactions.
|
||||
- **tsmLevel3CompactionErr** Number of TSM level 3 compactions that have
|
||||
failed due to errors.
|
||||
- **tsmLevel3CompactionQueue** Current number of pending TSM level 3
|
||||
compactions.
|
||||
- **tsmLevel3Compactions** Total number of TSM level 3 compactions that
|
||||
have ever run.
|
||||
- **tsmLevel3CompactionsActive** Number of TSM level 3 compactions that
|
||||
are currently running.
|
||||
- **tsmOptimizeCompactionDuration** Duration (wall time), in nanoseconds,
|
||||
spent during TSM optimize compactions.
|
||||
- **tsmOptimizeCompactionErr** Total number of TSM optimize compactions
|
||||
that have failed due to errors.
|
||||
- **tsmOptimizeCompactionQueue** Current number of pending TSM optimize
|
||||
compactions.
|
||||
- **tsmOptimizeCompactions** Total number of TSM optimize compactions that
|
||||
have ever run.
|
||||
- **tsmOptimizeCompactionsActive** Number of TSM optimize compactions that
|
||||
are currently running.
|
||||
- **influxdb_tsm1_filestore**: The TSM file store metrics.
|
||||
- **diskBytes**: Size, in bytes, of disk usage by the TSM file store.
|
||||
- **numFiles**: Total number of files in the TSM file store.
|
||||
- **influxdb_tsm1_wal**: The TSM Write Ahead Log (WAL) metrics.
|
||||
- **currentSegmentDiskBytes**: Current size, in bytes, of the segment disk.
|
||||
- **oldSegmentDiskBytes**: Size, in bytes, of the segment disk.
|
||||
- **writeErr**: Number of writes that failed due to errors.
|
||||
- **writeOK**: Number of writes that succeeded.
|
||||
- **influxdb_write**: Metrics related to InfluxDB writes.
|
||||
- **pointReq**: Total number of points requested to be written.
|
||||
- **pointReqHH** _(Enterprise only)_: Total number of points received for
|
||||
write by this node and then enqueued into hinted handoff for the
|
||||
destination node.
|
||||
- **pointReqLocal** _(Enterprise only)_: Total number of point requests that
|
||||
have been attempted to be written into a shard on the same (local) node.
|
||||
- **pointReqRemote** _(Enterprise only)_: Total number of points received for
|
||||
write by this node but needed to be forwarded into a shard on a remote node.
|
||||
- **pointsWrittenOK**: Number of points written to the HTTP /write endpoint
|
||||
and persisted successfully.
|
||||
- **req**: Total number of batches requested to be written.
|
||||
- **subWriteDrop**: Total number of batches that failed to be sent to the
|
||||
subscription dispatcher.
|
||||
- **subWriteOk**: Total number of batches successfully sent to the
|
||||
subscription dispatcher.
|
||||
- **valuesWrittenOK**: Number of values (fields) written to the HTTP
|
||||
/write endpoint and persisted successfully.
|
||||
- **writeDrop**: Total number of write requests for points that have been
|
||||
dropped due to timestamps not matching any existing retention policies.
|
||||
- **writeError**: Total number of batches of points that were not
|
||||
successfully written, due to a failure to write to a local or remote shard.
|
||||
- **writeOk**: Total number of batches of points written at the requested
|
||||
consistency level.
|
||||
- **writePartial** _(Enterprise only)_: Total number of batches written to
|
||||
at least one node, but did not meet the requested consistency level.
|
||||
- **writeTimeout**: Total number of write requests that failed to complete
|
||||
within the default write timeout duration.
|
||||
|
||||
## Example Output
|
||||
|
||||
```sh
|
||||
telegraf --config ~/ws/telegraf.conf --input-filter influxdb --test
|
||||
```
|
||||
|
||||
```text
|
||||
influxdb_database,database=_internal,host=tyrion,url=http://localhost:8086/debug/vars numMeasurements=10,numSeries=29 1463590500247354636
|
||||
influxdb_httpd,bind=:8086,host=tyrion,url=http://localhost:8086/debug/vars req=7,reqActive=1,reqDurationNs=14227734 1463590500247354636
|
||||
influxdb_measurement,database=_internal,host=tyrion,measurement=database,url=http://localhost:8086/debug/vars numSeries=1 1463590500247354636
|
||||
influxdb_measurement,database=_internal,host=tyrion,measurement=httpd,url=http://localhost:8086/debug/vars numSeries=1 1463590500247354636
|
||||
influxdb_measurement,database=_internal,host=tyrion,measurement=measurement,url=http://localhost:8086/debug/vars numSeries=10 1463590500247354636
|
||||
influxdb_measurement,database=_internal,host=tyrion,measurement=runtime,url=http://localhost:8086/debug/vars numSeries=1 1463590500247354636
|
||||
influxdb_measurement,database=_internal,host=tyrion,measurement=shard,url=http://localhost:8086/debug/vars numSeries=4 1463590500247354636
|
||||
influxdb_measurement,database=_internal,host=tyrion,measurement=subscriber,url=http://localhost:8086/debug/vars numSeries=1 1463590500247354636
|
||||
influxdb_measurement,database=_internal,host=tyrion,measurement=tsm1_cache,url=http://localhost:8086/debug/vars numSeries=4 1463590500247354636
|
||||
influxdb_measurement,database=_internal,host=tyrion,measurement=tsm1_filestore,url=http://localhost:8086/debug/vars numSeries=2 1463590500247354636
|
||||
influxdb_measurement,database=_internal,host=tyrion,measurement=tsm1_wal,url=http://localhost:8086/debug/vars numSeries=4 1463590500247354636
|
||||
influxdb_measurement,database=_internal,host=tyrion,measurement=write,url=http://localhost:8086/debug/vars numSeries=1 1463590500247354636
|
||||
influxdb_memstats,host=tyrion,url=http://localhost:8086/debug/vars alloc=7642384i,buck_hash_sys=1463471i,frees=1169558i,gc_sys=653312i,gc_cpu_fraction=0.00003825652361068311,heap_alloc=7642384i,heap_idle=9912320i,heap_inuse=9125888i,heap_objects=48276i,heap_released=0i,heap_sys=19038208i,last_gc=1463590480877651621i,lookups=90i,mallocs=1217834i,mcache_inuse=4800i,mcache_sys=16384i,mspan_inuse=70920i,mspan_sys=81920i,next_gc=11679787i,num_gc=141i,other_sys=1244233i,pause_total_ns=24034027i,stack_inuse=884736i,stack_sys=884736i,sys=23382264i,total_alloc=679012200i 1463590500277918755
|
||||
influxdb_shard,database=_internal,engine=tsm1,host=tyrion,id=4,path=/Users/sparrc/.influxdb/data/_internal/monitor/4,retentionPolicy=monitor,url=http://localhost:8086/debug/vars fieldsCreate=65,seriesCreate=26,writePointsOk=7274,writeReq=280 1463590500247354636
|
||||
influxdb_subscriber,host=tyrion,url=http://localhost:8086/debug/vars pointsWritten=7274 1463590500247354636
|
||||
influxdb_tsm1_cache,database=_internal,host=tyrion,path=/Users/sparrc/.influxdb/data/_internal/monitor/1,retentionPolicy=monitor,url=http://localhost:8086/debug/vars WALCompactionTimeMs=0,cacheAgeMs=2809192,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0 1463590500247354636
|
||||
influxdb_tsm1_cache,database=_internal,host=tyrion,path=/Users/sparrc/.influxdb/data/_internal/monitor/2,retentionPolicy=monitor,url=http://localhost:8086/debug/vars WALCompactionTimeMs=0,cacheAgeMs=2809184,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0 1463590500247354636
|
||||
influxdb_tsm1_cache,database=_internal,host=tyrion,path=/Users/sparrc/.influxdb/data/_internal/monitor/3,retentionPolicy=monitor,url=http://localhost:8086/debug/vars WALCompactionTimeMs=0,cacheAgeMs=2809180,cachedBytes=0,diskBytes=0,memBytes=42368,snapshotCount=0 1463590500247354636
|
||||
influxdb_tsm1_cache,database=_internal,host=tyrion,path=/Users/sparrc/.influxdb/data/_internal/monitor/4,retentionPolicy=monitor,url=http://localhost:8086/debug/vars WALCompactionTimeMs=0,cacheAgeMs=2799155,cachedBytes=0,diskBytes=0,memBytes=331216,snapshotCount=0 1463590500247354636
|
||||
influxdb_tsm1_filestore,database=_internal,host=tyrion,path=/Users/sparrc/.influxdb/data/_internal/monitor/1,retentionPolicy=monitor,url=http://localhost:8086/debug/vars diskBytes=37892 1463590500247354636
|
||||
influxdb_tsm1_filestore,database=_internal,host=tyrion,path=/Users/sparrc/.influxdb/data/_internal/monitor/2,retentionPolicy=monitor,url=http://localhost:8086/debug/vars diskBytes=52907 1463590500247354636
|
||||
influxdb_tsm1_wal,database=_internal,host=tyrion,path=/Users/sparrc/.influxdb/wal/_internal/monitor/1,retentionPolicy=monitor,url=http://localhost:8086/debug/vars currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0 1463590500247354636
|
||||
influxdb_tsm1_wal,database=_internal,host=tyrion,path=/Users/sparrc/.influxdb/wal/_internal/monitor/2,retentionPolicy=monitor,url=http://localhost:8086/debug/vars currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0 1463590500247354636
|
||||
influxdb_tsm1_wal,database=_internal,host=tyrion,path=/Users/sparrc/.influxdb/wal/_internal/monitor/3,retentionPolicy=monitor,url=http://localhost:8086/debug/vars currentSegmentDiskBytes=0,oldSegmentsDiskBytes=65651 1463590500247354636
|
||||
influxdb_tsm1_wal,database=_internal,host=tyrion,path=/Users/sparrc/.influxdb/wal/_internal/monitor/4,retentionPolicy=monitor,url=http://localhost:8086/debug/vars currentSegmentDiskBytes=495687,oldSegmentsDiskBytes=0 1463590500247354636
|
||||
influxdb_write,host=tyrion,url=http://localhost:8086/debug/vars pointReq=7274,pointReqLocal=7274,req=280,subWriteOk=280,writeOk=280 1463590500247354636
|
||||
influxdb_shard,host=tyrion n_shards=4i 1463590500247354636
|
||||
```
|
313
plugins/inputs/influxdb/influxdb.go
Normal file
313
plugins/inputs/influxdb/influxdb.go
Normal file
|
@ -0,0 +1,313 @@
|
|||
//go:generate ../../../tools/readme_config_includer/generator
|
||||
package influxdb
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
_ "embed"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"io"
|
||||
"net/http"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/influxdata/telegraf"
|
||||
"github.com/influxdata/telegraf/config"
|
||||
"github.com/influxdata/telegraf/internal"
|
||||
"github.com/influxdata/telegraf/plugins/common/tls"
|
||||
"github.com/influxdata/telegraf/plugins/inputs"
|
||||
)
|
||||
|
||||
//go:embed sample.conf
|
||||
var sampleConfig string
|
||||
|
||||
const (
|
||||
maxErrorResponseBodyLength = 1024
|
||||
)
|
||||
|
||||
type InfluxDB struct {
|
||||
URLs []string `toml:"urls"`
|
||||
Username string `toml:"username"`
|
||||
Password string `toml:"password"`
|
||||
Timeout config.Duration `toml:"timeout"`
|
||||
tls.ClientConfig
|
||||
|
||||
client *http.Client
|
||||
}
|
||||
|
||||
type apiError struct {
|
||||
StatusCode int
|
||||
Reason string
|
||||
Description string `json:"error"`
|
||||
}
|
||||
|
||||
func (e *apiError) Error() string {
|
||||
if e.Description != "" {
|
||||
return e.Reason + ": " + e.Description
|
||||
}
|
||||
return e.Reason
|
||||
}
|
||||
|
||||
func (*InfluxDB) SampleConfig() string {
|
||||
return sampleConfig
|
||||
}
|
||||
|
||||
func (i *InfluxDB) Gather(acc telegraf.Accumulator) error {
|
||||
if len(i.URLs) == 0 {
|
||||
i.URLs = []string{"http://localhost:8086/debug/vars"}
|
||||
}
|
||||
|
||||
if i.client == nil {
|
||||
tlsCfg, err := i.ClientConfig.TLSConfig()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
i.client = &http.Client{
|
||||
Transport: &http.Transport{
|
||||
ResponseHeaderTimeout: time.Duration(i.Timeout),
|
||||
TLSClientConfig: tlsCfg,
|
||||
},
|
||||
Timeout: time.Duration(i.Timeout),
|
||||
}
|
||||
}
|
||||
|
||||
var wg sync.WaitGroup
|
||||
for _, u := range i.URLs {
|
||||
wg.Add(1)
|
||||
go func(url string) {
|
||||
defer wg.Done()
|
||||
if err := i.gatherURL(acc, url); err != nil {
|
||||
acc.AddError(err)
|
||||
}
|
||||
}(u)
|
||||
}
|
||||
|
||||
wg.Wait()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// Gathers data from a particular URL
|
||||
// Parameters:
|
||||
//
|
||||
// acc : The telegraf Accumulator to use
|
||||
// url : endpoint to send request to
|
||||
//
|
||||
// Returns:
|
||||
//
|
||||
// error: Any error that may have occurred
|
||||
func (i *InfluxDB) gatherURL(acc telegraf.Accumulator, url string) error {
|
||||
shardCounter := 0
|
||||
now := time.Now()
|
||||
|
||||
// Get the data
|
||||
req, err := http.NewRequest("GET", url, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if i.Username != "" || i.Password != "" {
|
||||
req.SetBasicAuth(i.Username, i.Password)
|
||||
}
|
||||
|
||||
req.Header.Set("User-Agent", "Telegraf/"+internal.Version)
|
||||
|
||||
resp, err := i.client.Do(req)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
|
||||
if resp.StatusCode != http.StatusOK {
|
||||
return readResponseError(resp)
|
||||
}
|
||||
|
||||
// It would be nice to be able to decode into a map[string]point, but
|
||||
// we'll get a decoder error like:
|
||||
// `json: cannot unmarshal array into Go value of type influxdb.point`
|
||||
// if any of the values aren't objects.
|
||||
// To avoid that error, we decode by hand.
|
||||
dec := json.NewDecoder(resp.Body)
|
||||
|
||||
// Parse beginning of object
|
||||
if t, err := dec.Token(); err != nil {
|
||||
return err
|
||||
} else if t != json.Delim('{') {
|
||||
return errors.New("document root must be a JSON object")
|
||||
}
|
||||
|
||||
// Loop through rest of object
|
||||
for dec.More() {
|
||||
// Read in a string key. We don't do anything with the top-level keys,
|
||||
// so it's discarded.
|
||||
rawKey, err := dec.Token()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// All variables should be keyed
|
||||
key, ok := rawKey.(string)
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
|
||||
// Try to decode known special structs
|
||||
switch key {
|
||||
case "system":
|
||||
var p system
|
||||
if err := dec.Decode(&p); err != nil {
|
||||
continue
|
||||
}
|
||||
|
||||
acc.AddFields("influxdb_system",
|
||||
map[string]interface{}{
|
||||
"current_time": p.CurrentTime,
|
||||
"started": p.Started,
|
||||
"uptime": p.Uptime,
|
||||
},
|
||||
map[string]string{"url": url},
|
||||
now,
|
||||
)
|
||||
continue
|
||||
case "memstats":
|
||||
var m memstats
|
||||
if err := dec.Decode(&m); err != nil {
|
||||
continue
|
||||
}
|
||||
acc.AddFields("influxdb_memstats",
|
||||
map[string]interface{}{
|
||||
"alloc": m.Alloc,
|
||||
"total_alloc": m.TotalAlloc,
|
||||
"sys": m.Sys,
|
||||
"lookups": m.Lookups,
|
||||
"mallocs": m.Mallocs,
|
||||
"frees": m.Frees,
|
||||
"heap_alloc": m.HeapAlloc,
|
||||
"heap_sys": m.HeapSys,
|
||||
"heap_idle": m.HeapIdle,
|
||||
"heap_inuse": m.HeapInuse,
|
||||
"heap_released": m.HeapReleased,
|
||||
"heap_objects": m.HeapObjects,
|
||||
"stack_inuse": m.StackInuse,
|
||||
"stack_sys": m.StackSys,
|
||||
"mspan_inuse": m.MSpanInuse,
|
||||
"mspan_sys": m.MSpanSys,
|
||||
"mcache_inuse": m.MCacheInuse,
|
||||
"mcache_sys": m.MCacheSys,
|
||||
"buck_hash_sys": m.BuckHashSys,
|
||||
"gc_sys": m.GCSys,
|
||||
"other_sys": m.OtherSys,
|
||||
"next_gc": m.NextGC,
|
||||
"last_gc": m.LastGC,
|
||||
"pause_total_ns": m.PauseTotalNs,
|
||||
"pause_ns": m.PauseNs[(m.NumGC+255)%256],
|
||||
"num_gc": m.NumGC,
|
||||
"gc_cpu_fraction": m.GCCPUFraction,
|
||||
},
|
||||
map[string]string{"url": url},
|
||||
now,
|
||||
)
|
||||
case "build":
|
||||
var d build
|
||||
if err := dec.Decode(&d); err != nil {
|
||||
continue
|
||||
}
|
||||
acc.AddFields("influxdb_build",
|
||||
map[string]interface{}{
|
||||
"branch": d.Branch,
|
||||
"build_time": d.BuildTime,
|
||||
"commit": d.Commit,
|
||||
"version": d.Version,
|
||||
},
|
||||
map[string]string{"url": url},
|
||||
now,
|
||||
)
|
||||
case "cmdline":
|
||||
var d []string
|
||||
if err := dec.Decode(&d); err != nil {
|
||||
continue
|
||||
}
|
||||
acc.AddFields("influxdb_cmdline",
|
||||
map[string]interface{}{"value": strings.Join(d, " ")},
|
||||
map[string]string{"url": url},
|
||||
now,
|
||||
)
|
||||
case "crypto":
|
||||
var d crypto
|
||||
if err := dec.Decode(&d); err != nil {
|
||||
continue
|
||||
}
|
||||
acc.AddFields("influxdb_crypto",
|
||||
map[string]interface{}{
|
||||
"fips": d.FIPS,
|
||||
"ensure_fips": d.EnsureFIPS,
|
||||
"implementation": d.Implementation,
|
||||
"password_hash": d.PasswordHash,
|
||||
},
|
||||
map[string]string{"url": url},
|
||||
now,
|
||||
)
|
||||
default:
|
||||
// Attempt to parse all other entires as an object into a point.
|
||||
// Ignore all non-object entries (like a string or array) or
|
||||
// entries not conforming to a "point" structure and move on.
|
||||
var p point
|
||||
if err := dec.Decode(&p); err != nil {
|
||||
continue
|
||||
}
|
||||
|
||||
// If the object was a point, but was not fully initialized,
|
||||
// ignore it and move on.
|
||||
if p.Name == "" || p.Values == nil || len(p.Values) == 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
if p.Name == "shard" {
|
||||
shardCounter++
|
||||
}
|
||||
|
||||
// Add a tag to indicate the source of the data.
|
||||
if p.Tags == nil {
|
||||
p.Tags = make(map[string]string)
|
||||
}
|
||||
p.Tags["url"] = url
|
||||
|
||||
acc.AddFields("influxdb_"+p.Name, p.Values, p.Tags, now)
|
||||
}
|
||||
}
|
||||
|
||||
// Add a metric for the number of shards
|
||||
acc.AddFields("influxdb", map[string]interface{}{"n_shards": shardCounter}, nil, now)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func readResponseError(resp *http.Response) error {
|
||||
apiErr := &apiError{
|
||||
StatusCode: resp.StatusCode,
|
||||
Reason: resp.Status,
|
||||
}
|
||||
|
||||
var buf bytes.Buffer
|
||||
r := io.LimitReader(resp.Body, maxErrorResponseBodyLength)
|
||||
_, err := buf.ReadFrom(r)
|
||||
if err != nil {
|
||||
return apiErr
|
||||
}
|
||||
|
||||
err = json.Unmarshal(buf.Bytes(), apiErr)
|
||||
if err != nil {
|
||||
return apiErr
|
||||
}
|
||||
|
||||
return apiErr
|
||||
}
|
||||
|
||||
func init() {
|
||||
inputs.Add("influxdb", func() telegraf.Input {
|
||||
return &InfluxDB{
|
||||
Timeout: config.Duration(time.Second * 5),
|
||||
}
|
||||
})
|
||||
}
|
343
plugins/inputs/influxdb/influxdb_test.go
Normal file
343
plugins/inputs/influxdb/influxdb_test.go
Normal file
|
@ -0,0 +1,343 @@
|
|||
package influxdb
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/influxdata/telegraf/plugins/parsers/influx"
|
||||
"github.com/influxdata/telegraf/testutil"
|
||||
)
|
||||
|
||||
func TestBasic(t *testing.T) {
|
||||
fakeServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
if r.URL.Path == "/endpoint" {
|
||||
if _, err := w.Write([]byte(basicJSON)); err != nil {
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
t.Error(err)
|
||||
return
|
||||
}
|
||||
} else {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
}
|
||||
}))
|
||||
defer fakeServer.Close()
|
||||
|
||||
plugin := &InfluxDB{
|
||||
URLs: []string{fakeServer.URL + "/endpoint"},
|
||||
}
|
||||
|
||||
var acc testutil.Accumulator
|
||||
require.NoError(t, acc.GatherError(plugin.Gather))
|
||||
|
||||
require.Len(t, acc.Metrics, 3)
|
||||
fields := map[string]interface{}{
|
||||
// JSON will truncate floats to integer representations.
|
||||
// Since there's no distinction in JSON, we can't assume it's an int.
|
||||
"i": -1.0,
|
||||
"f": 0.5,
|
||||
"b": true,
|
||||
"s": "string",
|
||||
}
|
||||
tags := map[string]string{
|
||||
"id": "ex1",
|
||||
"url": fakeServer.URL + "/endpoint",
|
||||
}
|
||||
acc.AssertContainsTaggedFields(t, "influxdb_foo", fields, tags)
|
||||
|
||||
fields = map[string]interface{}{
|
||||
"x": "x",
|
||||
}
|
||||
tags = map[string]string{
|
||||
"id": "ex2",
|
||||
"url": fakeServer.URL + "/endpoint",
|
||||
}
|
||||
acc.AssertContainsTaggedFields(t, "influxdb_bar", fields, tags)
|
||||
|
||||
acc.AssertContainsTaggedFields(t, "influxdb",
|
||||
map[string]interface{}{
|
||||
"n_shards": 0,
|
||||
}, map[string]string{})
|
||||
}
|
||||
|
||||
func TestInfluxDB(t *testing.T) {
|
||||
influxReturn, err := os.ReadFile("./testdata/influx_return.json")
|
||||
require.NoError(t, err)
|
||||
|
||||
fakeInfluxServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
if r.URL.Path == "/endpoint" {
|
||||
if _, err := w.Write(influxReturn); err != nil {
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
t.Error(err)
|
||||
return
|
||||
}
|
||||
} else {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
}
|
||||
}))
|
||||
defer fakeInfluxServer.Close()
|
||||
|
||||
plugin := &InfluxDB{
|
||||
URLs: []string{fakeInfluxServer.URL + "/endpoint"},
|
||||
}
|
||||
|
||||
var acc testutil.Accumulator
|
||||
require.NoError(t, acc.GatherError(plugin.Gather))
|
||||
|
||||
require.Len(t, acc.Metrics, 36)
|
||||
|
||||
fields := map[string]interface{}{
|
||||
"heap_inuse": int64(18046976),
|
||||
"heap_released": int64(3473408),
|
||||
"mspan_inuse": int64(97440),
|
||||
"total_alloc": int64(201739016),
|
||||
"sys": int64(38537464),
|
||||
"mallocs": int64(570251),
|
||||
"frees": int64(381008),
|
||||
"heap_idle": int64(15802368),
|
||||
"pause_total_ns": int64(5132914),
|
||||
"pause_ns": int64(127053),
|
||||
"lookups": int64(77),
|
||||
"heap_sys": int64(33849344),
|
||||
"mcache_sys": int64(16384),
|
||||
"next_gc": int64(20843042),
|
||||
"gc_cpu_fraction": float64(4.287178819113636e-05),
|
||||
"other_sys": int64(1229737),
|
||||
"alloc": int64(17034016),
|
||||
"stack_inuse": int64(753664),
|
||||
"stack_sys": int64(753664),
|
||||
"buck_hash_sys": int64(1461583),
|
||||
"gc_sys": int64(1112064),
|
||||
"num_gc": int64(27),
|
||||
"heap_alloc": int64(17034016),
|
||||
"heap_objects": int64(189243),
|
||||
"mspan_sys": int64(114688),
|
||||
"mcache_inuse": int64(4800),
|
||||
"last_gc": int64(1460434886475114239),
|
||||
}
|
||||
|
||||
tags := map[string]string{
|
||||
"url": fakeInfluxServer.URL + "/endpoint",
|
||||
}
|
||||
acc.AssertContainsTaggedFields(t, "influxdb_memstats", fields, tags)
|
||||
|
||||
fields = map[string]interface{}{
|
||||
"current_time": "2023-01-11T16:51:52.723166944Z",
|
||||
"started": "2023-01-11T16:51:23.355766023Z",
|
||||
"uptime": uint64(29),
|
||||
}
|
||||
acc.AssertContainsTaggedFields(t, "influxdb_system", fields, tags)
|
||||
|
||||
acc.AssertContainsTaggedFields(t, "influxdb",
|
||||
map[string]interface{}{
|
||||
"n_shards": 1,
|
||||
}, map[string]string{})
|
||||
}
|
||||
|
||||
func TestInfluxDB2(t *testing.T) {
|
||||
// InfluxDB 1.0+ with tags: null instead of tags: {}.
|
||||
influxReturn2, err := os.ReadFile("./testdata/influx_return2.json")
|
||||
require.NoError(t, err)
|
||||
|
||||
fakeInfluxServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
if r.URL.Path == "/endpoint" {
|
||||
if _, err := w.Write(influxReturn2); err != nil {
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
t.Error(err)
|
||||
return
|
||||
}
|
||||
} else {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
}
|
||||
}))
|
||||
defer fakeInfluxServer.Close()
|
||||
|
||||
plugin := &InfluxDB{
|
||||
URLs: []string{fakeInfluxServer.URL + "/endpoint"},
|
||||
}
|
||||
|
||||
var acc testutil.Accumulator
|
||||
require.NoError(t, acc.GatherError(plugin.Gather))
|
||||
|
||||
require.Len(t, acc.Metrics, 36)
|
||||
|
||||
acc.AssertContainsTaggedFields(t, "influxdb",
|
||||
map[string]interface{}{
|
||||
"n_shards": 1,
|
||||
}, map[string]string{})
|
||||
|
||||
fields := map[string]interface{}{
|
||||
"current_time": "2023-01-11T17:04:59.928454705Z",
|
||||
"started": "2023-01-11T16:51:23.355766023Z",
|
||||
"uptime": uint64(816),
|
||||
}
|
||||
tags := map[string]string{
|
||||
"url": fakeInfluxServer.URL + "/endpoint",
|
||||
}
|
||||
acc.AssertContainsTaggedFields(t, "influxdb_system", fields, tags)
|
||||
}
|
||||
|
||||
func TestCloud1(t *testing.T) {
|
||||
// Setup a fake endpoint with the input data
|
||||
input, err := os.ReadFile("./testdata/cloud1.json")
|
||||
require.NoError(t, err)
|
||||
|
||||
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
if r.URL.Path == "/endpoint" {
|
||||
if _, err := w.Write(input); err != nil {
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
t.Error(err)
|
||||
return
|
||||
}
|
||||
} else {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
}
|
||||
}))
|
||||
defer server.Close()
|
||||
|
||||
// Setup the plugin
|
||||
plugin := &InfluxDB{
|
||||
URLs: []string{server.URL + "/endpoint"},
|
||||
}
|
||||
|
||||
// Gather the data
|
||||
var acc testutil.Accumulator
|
||||
require.NoError(t, acc.GatherError(plugin.Gather))
|
||||
|
||||
// Read the expected data
|
||||
parser := &influx.Parser{}
|
||||
require.NoError(t, parser.Init())
|
||||
|
||||
buf, err := os.ReadFile("./testdata/cloud1.influx")
|
||||
require.NoError(t, err)
|
||||
expected, err := parser.Parse(buf)
|
||||
require.NoError(t, err)
|
||||
|
||||
// Check the output
|
||||
opts := []cmp.Option{testutil.IgnoreTags("url"), testutil.IgnoreTime()}
|
||||
actual := acc.GetTelegrafMetrics()
|
||||
testutil.RequireMetricsEqual(t, expected, actual, opts...)
|
||||
}
|
||||
|
||||
func TestErrorHandling(t *testing.T) {
|
||||
badServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
if r.URL.Path == "/endpoint" {
|
||||
if _, err := w.Write([]byte("not json")); err != nil {
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
t.Error(err)
|
||||
return
|
||||
}
|
||||
} else {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
}
|
||||
}))
|
||||
defer badServer.Close()
|
||||
|
||||
plugin := &InfluxDB{
|
||||
URLs: []string{badServer.URL + "/endpoint"},
|
||||
}
|
||||
|
||||
var acc testutil.Accumulator
|
||||
require.Error(t, acc.GatherError(plugin.Gather))
|
||||
}
|
||||
|
||||
func TestErrorHandling404(t *testing.T) {
|
||||
badServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
if r.URL.Path == "/endpoint" {
|
||||
if _, err := w.Write([]byte(basicJSON)); err != nil {
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
t.Error(err)
|
||||
return
|
||||
}
|
||||
} else {
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
}
|
||||
}))
|
||||
defer badServer.Close()
|
||||
|
||||
plugin := &InfluxDB{
|
||||
URLs: []string{badServer.URL},
|
||||
}
|
||||
|
||||
var acc testutil.Accumulator
|
||||
require.Error(t, acc.GatherError(plugin.Gather))
|
||||
}
|
||||
|
||||
func TestErrorResponse(t *testing.T) {
|
||||
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
|
||||
w.WriteHeader(http.StatusUnauthorized)
|
||||
if _, err := w.Write([]byte(`{"error": "unable to parse authentication credentials"}`)); err != nil {
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
t.Error(err)
|
||||
return
|
||||
}
|
||||
}))
|
||||
defer ts.Close()
|
||||
|
||||
plugin := &InfluxDB{
|
||||
URLs: []string{ts.URL},
|
||||
}
|
||||
|
||||
var acc testutil.Accumulator
|
||||
err := plugin.Gather(&acc)
|
||||
require.NoError(t, err)
|
||||
|
||||
expected := []error{
|
||||
&apiError{
|
||||
StatusCode: http.StatusUnauthorized,
|
||||
Reason: fmt.Sprintf("%d %s", http.StatusUnauthorized, http.StatusText(http.StatusUnauthorized)),
|
||||
Description: "unable to parse authentication credentials",
|
||||
},
|
||||
}
|
||||
require.Equal(t, expected, acc.Errors)
|
||||
}
|
||||
|
||||
const basicJSON = `
|
||||
{
|
||||
"_1": {
|
||||
"name": "foo",
|
||||
"tags": {
|
||||
"id": "ex1"
|
||||
},
|
||||
"values": {
|
||||
"i": -1,
|
||||
"f": 0.5,
|
||||
"b": true,
|
||||
"s": "string"
|
||||
}
|
||||
},
|
||||
"ignored": {
|
||||
"willBeRecorded": false
|
||||
},
|
||||
"ignoredAndNested": {
|
||||
"hash": {
|
||||
"is": "nested"
|
||||
}
|
||||
},
|
||||
"array": [
|
||||
"makes parsing more difficult than necessary"
|
||||
],
|
||||
"string": "makes parsing more difficult than necessary",
|
||||
"_2": {
|
||||
"name": "bar",
|
||||
"tags": {
|
||||
"id": "ex2"
|
||||
},
|
||||
"values": {
|
||||
"x": "x"
|
||||
}
|
||||
},
|
||||
"pointWithoutFields_willNotBeIncluded": {
|
||||
"name": "asdf",
|
||||
"tags": {
|
||||
"id": "ex3"
|
||||
},
|
||||
"values": {}
|
||||
}
|
||||
}
|
||||
`
|
25
plugins/inputs/influxdb/sample.conf
Normal file
25
plugins/inputs/influxdb/sample.conf
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Read InfluxDB-formatted JSON metrics from one or more HTTP endpoints
|
||||
[[inputs.influxdb]]
|
||||
## Works with InfluxDB debug endpoints out of the box,
|
||||
## but other services can use this format too.
|
||||
## See the influxdb plugin's README for more details.
|
||||
|
||||
## Multiple URLs from which to read InfluxDB-formatted JSON
|
||||
## Default is "http://localhost:8086/debug/vars".
|
||||
urls = [
|
||||
"http://localhost:8086/debug/vars"
|
||||
]
|
||||
|
||||
## Username and password to send using HTTP Basic Authentication.
|
||||
# username = ""
|
||||
# password = ""
|
||||
|
||||
## Optional TLS Config
|
||||
# tls_ca = "/etc/telegraf/ca.pem"
|
||||
# tls_cert = "/etc/telegraf/cert.pem"
|
||||
# tls_key = "/etc/telegraf/key.pem"
|
||||
## Use TLS but skip chain & host verification
|
||||
# insecure_skip_verify = false
|
||||
|
||||
## http request & header timeout
|
||||
timeout = "5s"
|
184
plugins/inputs/influxdb/testdata/cloud1.influx
vendored
Normal file
184
plugins/inputs/influxdb/testdata/cloud1.influx
vendored
Normal file
|
@ -0,0 +1,184 @@
|
|||
influxdb_system,url=http://127.0.0.1:36225/endpoint current_time="2024-05-31T12:51:46.089414837Z",started="2024-05-31T07:00:46.920991868Z",uptime=21059u 1717163790675899148
|
||||
influxdb_build,url=http://127.0.0.1:36225/endpoint branch="unknown",build_time="",commit="d97e21d4473164bb3ba0055ecd1971f2529b6d82",version="v1.11.5" 1717163790675899148
|
||||
influxdb_cmdline,url=http://127.0.0.1:36225/endpoint value="influxd" 1717163790675899148
|
||||
influxdb_crypto,url=http://127.0.0.1:36225/endpoint ensure_fips=false,fips=false,implementation="Go",password_hash="bcrypt;cost=10" 1717163790675899148
|
||||
influxdb_memstats,url=http://127.0.0.1:36225/endpoint alloc=181164560i,buck_hash_sys=1985478i,frees=123761313i,gc_cpu_fraction=0.0007163177127655092,gc_sys=17702472i,heap_alloc=181164560i,heap_idle=183099392i,heap_inuse=197566464i,heap_objects=1338818i,heap_released=163487744i,heap_sys=380665856i,last_gc=1717159890037272716i,lookups=0i,mallocs=125100131i,mcache_inuse=14400i,mcache_sys=15600i,mspan_inuse=2025760i,mspan_sys=4047360i,next_gc=199979240i,num_gc=1630i,other_sys=2320474i,pause_ns=56843i,pause_total_ns=184808571i,stack_inuse=5210112i,stack_sys=5210112i,sys=411947352i,total_alloc=173073072024i 1717163790675899148
|
||||
influxdb_runtime,url=http://127.0.0.1:36225/endpoint Alloc=179303856,Frees=123761213,HeapAlloc=179303856,HeapIdle=184877056,HeapInUse=195788800,HeapObjects=1337095,HeapReleased=163487744,HeapSys=380665856,Lookups=0,Mallocs=125098308,NumGC=1630,NumGoroutine=1488,PauseTotalNs=184808571,Sys=411947352,TotalAlloc=173071211320 1717163790675899148
|
||||
influxdb_queryExecutor,url=http://127.0.0.1:36225/endpoint queriesActive=0,queriesExecuted=6149,queriesFinished=6149,queryDurationNs=747054059,recoveredPanics=0 1717163790675899148
|
||||
influxdb_database,database=new_db,url=http://127.0.0.1:36225/endpoint numMeasurements=5,numSeries=78 1717163790675899148
|
||||
influxdb_database,database=c152-zabbix-prd,url=http://127.0.0.1:36225/endpoint numMeasurements=2,numSeries=1501 1717163790675899148
|
||||
influxdb_database,database=_internal,url=http://127.0.0.1:36225/endpoint numMeasurements=21,numSeries=490 1717163790675899148
|
||||
influxdb_database,database=chronograf,url=http://127.0.0.1:36225/endpoint numMeasurements=1,numSeries=62 1717163790675899148
|
||||
influxdb_database,database=export_test_2,url=http://127.0.0.1:36225/endpoint numMeasurements=1,numSeries=36 1717163790675899148
|
||||
influxdb_database,database=c152-zabbix-hpr,url=http://127.0.0.1:36225/endpoint numMeasurements=1,numSeries=15000 1717163790675899148
|
||||
influxdb_database,database=autogen,url=http://127.0.0.1:36225/endpoint numMeasurements=4,numSeries=43 1717163790675899148
|
||||
influxdb_database,database=export_test,url=http://127.0.0.1:36225/endpoint numMeasurements=1,numSeries=37 1717163790675899148
|
||||
influxdb_database,database=telegraf,url=http://127.0.0.1:36225/endpoint numMeasurements=47,numSeries=618 1717163790675899148
|
||||
influxdb_shard,database=_internal,engine=tsm1,id=2,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/2,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/2 diskBytes=31791,fieldsCreate=0,seriesCreate=18,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=_internal,engine=tsm1,id=2,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/2,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/2 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=_internal,engine=tsm1,id=2,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/2,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/2 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=_internal,engine=tsm1,id=2,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/2,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/2 diskBytes=31791,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=_internal,engine=tsm1,id=2,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/2,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/2 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=c152-zabbix-hpr,engine=tsm1,id=5241,indexType=inmem,path=/var/lib/influxdb/data/c152-zabbix-hpr/autogen/5241,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/c152-zabbix-hpr/autogen/5241 diskBytes=1518907,fieldsCreate=0,seriesCreate=15000,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=c152-zabbix-hpr,engine=tsm1,id=5241,indexType=inmem,path=/var/lib/influxdb/data/c152-zabbix-hpr/autogen/5241,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/c152-zabbix-hpr/autogen/5241 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=c152-zabbix-hpr,engine=tsm1,id=5241,indexType=inmem,path=/var/lib/influxdb/data/c152-zabbix-hpr/autogen/5241,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/c152-zabbix-hpr/autogen/5241 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=c152-zabbix-hpr,engine=tsm1,id=5241,indexType=inmem,path=/var/lib/influxdb/data/c152-zabbix-hpr/autogen/5241,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/c152-zabbix-hpr/autogen/5241 diskBytes=1518907,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=c152-zabbix-hpr,engine=tsm1,id=5241,indexType=inmem,path=/var/lib/influxdb/data/c152-zabbix-hpr/autogen/5241,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/c152-zabbix-hpr/autogen/5241 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=c152-zabbix-prd,engine=tsm1,id=5242,indexType=inmem,path=/var/lib/influxdb/data/c152-zabbix-prd/autogen/5242,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/c152-zabbix-prd/autogen/5242 diskBytes=55826004,fieldsCreate=0,seriesCreate=1501,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=c152-zabbix-prd,engine=tsm1,id=5242,indexType=inmem,path=/var/lib/influxdb/data/c152-zabbix-prd/autogen/5242,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/c152-zabbix-prd/autogen/5242 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=c152-zabbix-prd,engine=tsm1,id=5242,indexType=inmem,path=/var/lib/influxdb/data/c152-zabbix-prd/autogen/5242,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/c152-zabbix-prd/autogen/5242 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=c152-zabbix-prd,engine=tsm1,id=5242,indexType=inmem,path=/var/lib/influxdb/data/c152-zabbix-prd/autogen/5242,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/c152-zabbix-prd/autogen/5242 diskBytes=55826004,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=c152-zabbix-prd,engine=tsm1,id=5242,indexType=inmem,path=/var/lib/influxdb/data/c152-zabbix-prd/autogen/5242,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/c152-zabbix-prd/autogen/5242 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=telegraf,engine=tsm1,id=5260,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5260,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5260 diskBytes=902338,fieldsCreate=0,seriesCreate=264,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=telegraf,engine=tsm1,id=5260,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5260,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5260 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=telegraf,engine=tsm1,id=5260,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5260,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5260 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=telegraf,engine=tsm1,id=5260,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5260,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5260 diskBytes=902338,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=telegraf,engine=tsm1,id=5260,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5260,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5260 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=telegraf,engine=tsm1,id=5272,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5272,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5272 diskBytes=306602401,fieldsCreate=0,seriesCreate=383,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=telegraf,engine=tsm1,id=5272,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5272,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5272 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=telegraf,engine=tsm1,id=5272,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5272,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5272 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=telegraf,engine=tsm1,id=5272,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5272,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5272 diskBytes=306602401,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=telegraf,engine=tsm1,id=5272,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5272,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5272 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=telegraf,engine=tsm1,id=5286,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5286,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5286 diskBytes=119528786,fieldsCreate=0,seriesCreate=485,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=telegraf,engine=tsm1,id=5286,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5286,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5286 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=telegraf,engine=tsm1,id=5286,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5286,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5286 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=telegraf,engine=tsm1,id=5286,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5286,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5286 diskBytes=119528786,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=telegraf,engine=tsm1,id=5286,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5286,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5286 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=chronograf,engine=tsm1,id=5287,indexType=inmem,path=/var/lib/influxdb/data/chronograf/autogen/5287,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/chronograf/autogen/5287 diskBytes=976751,fieldsCreate=0,seriesCreate=53,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=chronograf,engine=tsm1,id=5287,indexType=inmem,path=/var/lib/influxdb/data/chronograf/autogen/5287,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/chronograf/autogen/5287 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=chronograf,engine=tsm1,id=5287,indexType=inmem,path=/var/lib/influxdb/data/chronograf/autogen/5287,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/chronograf/autogen/5287 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=chronograf,engine=tsm1,id=5287,indexType=inmem,path=/var/lib/influxdb/data/chronograf/autogen/5287,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/chronograf/autogen/5287 diskBytes=976751,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=chronograf,engine=tsm1,id=5287,indexType=inmem,path=/var/lib/influxdb/data/chronograf/autogen/5287,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/chronograf/autogen/5287 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=export_test,engine=tsm1,id=5292,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5292,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5292 diskBytes=179683,fieldsCreate=0,seriesCreate=24,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=export_test,engine=tsm1,id=5292,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5292,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5292 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=export_test,engine=tsm1,id=5292,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5292,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5292 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=export_test,engine=tsm1,id=5292,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5292,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5292 diskBytes=179683,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=export_test,engine=tsm1,id=5292,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5292,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5292 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=export_test,engine=tsm1,id=5293,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5293,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5293 diskBytes=4645612,fieldsCreate=0,seriesCreate=32,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=export_test,engine=tsm1,id=5293,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5293,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5293 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=export_test,engine=tsm1,id=5293,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5293,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5293 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=export_test,engine=tsm1,id=5293,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5293,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5293 diskBytes=4645612,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=export_test,engine=tsm1,id=5293,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5293,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5293 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=export_test,engine=tsm1,id=5294,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5294,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5294 diskBytes=1618920,fieldsCreate=0,seriesCreate=1,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=export_test,engine=tsm1,id=5294,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5294,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5294 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=export_test,engine=tsm1,id=5294,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5294,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5294 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=export_test,engine=tsm1,id=5294,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5294,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5294 diskBytes=1618920,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=export_test,engine=tsm1,id=5294,indexType=inmem,path=/var/lib/influxdb/data/export_test/autogen/5294,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test/autogen/5294 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=export_test_2,engine=tsm1,id=5295,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5295,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5295 diskBytes=44956319,fieldsCreate=0,seriesCreate=31,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=export_test_2,engine=tsm1,id=5295,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5295,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5295 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=export_test_2,engine=tsm1,id=5295,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5295,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5295 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=export_test_2,engine=tsm1,id=5295,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5295,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5295 diskBytes=44956319,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=export_test_2,engine=tsm1,id=5295,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5295,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5295 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=export_test_2,engine=tsm1,id=5296,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5296,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5296 diskBytes=169033,fieldsCreate=0,seriesCreate=23,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=export_test_2,engine=tsm1,id=5296,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5296,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5296 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=export_test_2,engine=tsm1,id=5296,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5296,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5296 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=export_test_2,engine=tsm1,id=5296,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5296,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5296 diskBytes=169033,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=export_test_2,engine=tsm1,id=5296,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5296,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5296 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=export_test_2,engine=tsm1,id=5297,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5297,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5297 diskBytes=21805340,fieldsCreate=0,seriesCreate=31,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=export_test_2,engine=tsm1,id=5297,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5297,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5297 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=export_test_2,engine=tsm1,id=5297,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5297,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5297 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=export_test_2,engine=tsm1,id=5297,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5297,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5297 diskBytes=21805340,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=export_test_2,engine=tsm1,id=5297,indexType=inmem,path=/var/lib/influxdb/data/export_test_2/autogen/5297,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/export_test_2/autogen/5297 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=new_db,engine=tsm1,id=5300,indexType=inmem,path=/var/lib/influxdb/data/new_db/autogen/5300,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/new_db/autogen/5300 diskBytes=50109,fieldsCreate=0,seriesCreate=19,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=new_db,engine=tsm1,id=5300,indexType=inmem,path=/var/lib/influxdb/data/new_db/autogen/5300,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/new_db/autogen/5300 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=new_db,engine=tsm1,id=5300,indexType=inmem,path=/var/lib/influxdb/data/new_db/autogen/5300,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/new_db/autogen/5300 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=new_db,engine=tsm1,id=5300,indexType=inmem,path=/var/lib/influxdb/data/new_db/autogen/5300,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/new_db/autogen/5300 diskBytes=50109,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=new_db,engine=tsm1,id=5300,indexType=inmem,path=/var/lib/influxdb/data/new_db/autogen/5300,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/new_db/autogen/5300 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=new_db,engine=tsm1,id=5301,indexType=inmem,path=/var/lib/influxdb/data/new_db/autogen/5301,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/new_db/autogen/5301 diskBytes=216083,fieldsCreate=0,seriesCreate=63,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=new_db,engine=tsm1,id=5301,indexType=inmem,path=/var/lib/influxdb/data/new_db/autogen/5301,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/new_db/autogen/5301 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=new_db,engine=tsm1,id=5301,indexType=inmem,path=/var/lib/influxdb/data/new_db/autogen/5301,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/new_db/autogen/5301 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=new_db,engine=tsm1,id=5301,indexType=inmem,path=/var/lib/influxdb/data/new_db/autogen/5301,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/new_db/autogen/5301 diskBytes=216083,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=new_db,engine=tsm1,id=5301,indexType=inmem,path=/var/lib/influxdb/data/new_db/autogen/5301,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/new_db/autogen/5301 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=autogen,engine=tsm1,id=5303,indexType=inmem,path=/var/lib/influxdb/data/autogen/5301/5303,retentionPolicy=5301,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/autogen/5301/5303 diskBytes=113590,fieldsCreate=0,seriesCreate=32,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=autogen,engine=tsm1,id=5303,indexType=inmem,path=/var/lib/influxdb/data/autogen/5301/5303,retentionPolicy=5301,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/autogen/5301/5303 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=autogen,engine=tsm1,id=5303,indexType=inmem,path=/var/lib/influxdb/data/autogen/5301/5303,retentionPolicy=5301,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/autogen/5301/5303 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=autogen,engine=tsm1,id=5303,indexType=inmem,path=/var/lib/influxdb/data/autogen/5301/5303,retentionPolicy=5301,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/autogen/5301/5303 diskBytes=113590,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=autogen,engine=tsm1,id=5303,indexType=inmem,path=/var/lib/influxdb/data/autogen/5301/5303,retentionPolicy=5301,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/autogen/5301/5303 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=autogen,engine=tsm1,id=5304,indexType=inmem,path=/var/lib/influxdb/data/autogen/5300/5304,retentionPolicy=5300,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/autogen/5300/5304 diskBytes=28869,fieldsCreate=0,seriesCreate=11,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=autogen,engine=tsm1,id=5304,indexType=inmem,path=/var/lib/influxdb/data/autogen/5300/5304,retentionPolicy=5300,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/autogen/5300/5304 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=autogen,engine=tsm1,id=5304,indexType=inmem,path=/var/lib/influxdb/data/autogen/5300/5304,retentionPolicy=5300,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/autogen/5300/5304 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=autogen,engine=tsm1,id=5304,indexType=inmem,path=/var/lib/influxdb/data/autogen/5300/5304,retentionPolicy=5300,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/autogen/5300/5304 diskBytes=28869,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=autogen,engine=tsm1,id=5304,indexType=inmem,path=/var/lib/influxdb/data/autogen/5300/5304,retentionPolicy=5300,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/autogen/5300/5304 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=_internal,engine=tsm1,id=5306,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5306,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5306 diskBytes=1592566,fieldsCreate=0,seriesCreate=234,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=_internal,engine=tsm1,id=5306,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5306,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5306 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=_internal,engine=tsm1,id=5306,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5306,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5306 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=_internal,engine=tsm1,id=5306,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5306,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5306 diskBytes=1592566,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=_internal,engine=tsm1,id=5306,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5306,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5306 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=telegraf,engine=tsm1,id=5308,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5308,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5308 diskBytes=100862151,fieldsCreate=0,seriesCreate=530,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=675020,writeReq=5266,writeReqErr=0,writeReqOk=5266,writeValuesOk=3921076 1717163790675899148
|
||||
influxdb_tsm1_engine,database=telegraf,engine=tsm1,id=5308,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5308,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5308 cacheCompactionDuration=227545878,cacheCompactionErr=0,cacheCompactions=3,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=telegraf,engine=tsm1,id=5308,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5308,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5308 WALCompactionTimeMs=225,cacheAgeMs=4014989,cachedBytes=78680027,diskBytes=0,memBytes=12995909,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=7284 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=telegraf,engine=tsm1,id=5308,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5308,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5308 diskBytes=89546900,numFiles=8 1717163790675899148
|
||||
influxdb_tsm1_wal,database=telegraf,engine=tsm1,id=5308,indexType=inmem,path=/var/lib/influxdb/data/telegraf/autogen/5308,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/telegraf/autogen/5308 currentSegmentDiskBytes=801802,oldSegmentsDiskBytes=10513449,writeErr=0,writeOk=5266 1717163790675899148
|
||||
influxdb_shard,database=_internal,engine=tsm1,id=5310,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5310,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5310 diskBytes=1185091,fieldsCreate=0,seriesCreate=219,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=_internal,engine=tsm1,id=5310,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5310,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5310 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=_internal,engine=tsm1,id=5310,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5310,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5310 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=_internal,engine=tsm1,id=5310,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5310,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5310 diskBytes=1185091,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=_internal,engine=tsm1,id=5310,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5310,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5310 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=chronograf,engine=tsm1,id=5311,indexType=inmem,path=/var/lib/influxdb/data/chronograf/autogen/5311,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/chronograf/autogen/5311 diskBytes=9601170,fieldsCreate=0,seriesCreate=61,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=3122,writeReq=803,writeReqErr=0,writeReqOk=803,writeValuesOk=9366 1717163790675899148
|
||||
influxdb_tsm1_engine,database=chronograf,engine=tsm1,id=5311,indexType=inmem,path=/var/lib/influxdb/data/chronograf/autogen/5311,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/chronograf/autogen/5311 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=chronograf,engine=tsm1,id=5311,indexType=inmem,path=/var/lib/influxdb/data/chronograf/autogen/5311,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/chronograf/autogen/5311 WALCompactionTimeMs=0,cacheAgeMs=21058577,cachedBytes=0,diskBytes=0,memBytes=4676116,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=11354 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=chronograf,engine=tsm1,id=5311,indexType=inmem,path=/var/lib/influxdb/data/chronograf/autogen/5311,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/chronograf/autogen/5311 diskBytes=0,numFiles=0 1717163790675899148
|
||||
influxdb_tsm1_wal,database=chronograf,engine=tsm1,id=5311,indexType=inmem,path=/var/lib/influxdb/data/chronograf/autogen/5311,retentionPolicy=autogen,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/chronograf/autogen/5311 currentSegmentDiskBytes=4982276,oldSegmentsDiskBytes=4618894,writeErr=0,writeOk=803 1717163790675899148
|
||||
influxdb_shard,database=_internal,engine=tsm1,id=5313,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5313,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5313 diskBytes=1978014,fieldsCreate=0,seriesCreate=205,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=_internal,engine=tsm1,id=5313,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5313,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5313 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=_internal,engine=tsm1,id=5313,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5313,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5313 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=_internal,engine=tsm1,id=5313,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5313,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5313 diskBytes=1978014,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=_internal,engine=tsm1,id=5313,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5313,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5313 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=_internal,engine=tsm1,id=5314,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5314,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5314 diskBytes=3113562,fieldsCreate=0,seriesCreate=230,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=0,writeReq=0,writeReqErr=0,writeReqOk=0,writeValuesOk=0 1717163790675899148
|
||||
influxdb_tsm1_engine,database=_internal,engine=tsm1,id=5314,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5314,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5314 cacheCompactionDuration=0,cacheCompactionErr=0,cacheCompactions=0,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=_internal,engine=tsm1,id=5314,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5314,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5314 WALCompactionTimeMs=0,cacheAgeMs=0,cachedBytes=0,diskBytes=0,memBytes=0,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=_internal,engine=tsm1,id=5314,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5314,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5314 diskBytes=3113562,numFiles=1 1717163790675899148
|
||||
influxdb_tsm1_wal,database=_internal,engine=tsm1,id=5314,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5314,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5314 currentSegmentDiskBytes=0,oldSegmentsDiskBytes=0,writeErr=0,writeOk=0 1717163790675899148
|
||||
influxdb_shard,database=_internal,engine=tsm1,id=5316,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5316,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5316 diskBytes=5400093,fieldsCreate=0,seriesCreate=229,writeBytes=0,writePointsDropped=0,writePointsErr=0,writePointsOk=471520,writeReq=8420,writeReqErr=0,writeReqOk=8420,writeValuesOk=3749005 1717163790675899148
|
||||
influxdb_tsm1_engine,database=_internal,engine=tsm1,id=5316,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5316,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5316 cacheCompactionDuration=137702326,cacheCompactionErr=0,cacheCompactions=3,cacheCompactionsActive=0,tsmFullCompactionDuration=0,tsmFullCompactionErr=0,tsmFullCompactionQueue=0,tsmFullCompactions=0,tsmFullCompactionsActive=0,tsmLevel1CompactionDuration=0,tsmLevel1CompactionErr=0,tsmLevel1CompactionQueue=0,tsmLevel1Compactions=0,tsmLevel1CompactionsActive=0,tsmLevel2CompactionDuration=0,tsmLevel2CompactionErr=0,tsmLevel2CompactionQueue=0,tsmLevel2Compactions=0,tsmLevel2CompactionsActive=0,tsmLevel3CompactionDuration=0,tsmLevel3CompactionErr=0,tsmLevel3CompactionQueue=0,tsmLevel3Compactions=0,tsmLevel3CompactionsActive=0,tsmOptimizeCompactionDuration=0,tsmOptimizeCompactionErr=0,tsmOptimizeCompactionQueue=0,tsmOptimizeCompactions=0,tsmOptimizeCompactionsActive=0 1717163790675899148
|
||||
influxdb_tsm1_cache,database=_internal,engine=tsm1,id=5316,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5316,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5316 WALCompactionTimeMs=147,cacheAgeMs=234999,cachedBytes=81895372,diskBytes=0,memBytes=1105118,snapshotCount=0,writeDropped=0,writeErr=0,writeOk=11318 1717163790675899148
|
||||
influxdb_tsm1_filestore,database=_internal,engine=tsm1,id=5316,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5316,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5316 diskBytes=4250699,numFiles=6 1717163790675899148
|
||||
influxdb_tsm1_wal,database=_internal,engine=tsm1,id=5316,indexType=inmem,path=/var/lib/influxdb/data/_internal/monitor/5316,retentionPolicy=monitor,url=http://127.0.0.1:36225/endpoint,walPath=/var/lib/influxdb/wal/_internal/monitor/5316 currentSegmentDiskBytes=1149394,oldSegmentsDiskBytes=0,writeErr=0,writeOk=8420 1717163790675899148
|
||||
influxdb_localStore,url=http://127.0.0.1:36225/endpoint pointsWritten=1149662,seriesCreated=0,valuesWritten=7679447 1717163790675899148
|
||||
influxdb_write,url=http://127.0.0.1:36225/endpoint pointReq=787963,pointReqHH=0,pointReqLocal=577463,pointReqRemote=554308,req=7231,subWriteOk=7231,writeDrop=0,writeError=0,writeOk=11441,writePartial=0,writeTimeout=0 1717163790675899148
|
||||
influxdb_hh,path=/var/lib/influxdb/hh,url=http://127.0.0.1:36225/endpoint bytesRead=0,bytesWritten=0,queueBytes=0,queueDepth=0,writeBlocked=0,writeDropped=0,writeNodeReq=0,writeNodeReqFail=0,writeNodeReqPoints=0,writeShardReq=0,writeShardReqPoints=0 1717163790675899148
|
||||
influxdb_hh_processor,node=none,shardID=none,url=http://127.0.0.1:36225/endpoint bytesRead=0,bytesWritten=0,queueBytes=0,queueDepth=0,writeBlocked=0,writeDropped=0,writeNodeReq=0,writeNodeReqFail=0,writeNodeReqPoints=0,writeShardReq=0,writeShardReqPoints=0 1717163790675899148
|
||||
influxdb_hh_node,node=none,url=http://127.0.0.1:36225/endpoint queueTotalSize=0 1717163790675899148
|
||||
influxdb_subscriber,url=http://127.0.0.1:36225/endpoint createFailures=0,memUsage=0,pointsWritten=787963,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-sri-rxw-wifi-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-datacenter-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-qos-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=export_test_2,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c152-zabbix-hpr,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-bcr-rapi_tsdb-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-rxw_awx-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-genesys-hpr,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-qos-hpr,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c999-qos-hpr,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c023-zabbix-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=_internal,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=monitor,url=http://127.0.0.1:36225/endpoint pointsWritten=444155,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=autogen,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=autogen,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=5301,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c152-zabbix-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-bcr-appl_tsdb-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-bcr-supr_tsdb-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c999-mtroapi-hpr,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-opn-carema-hpr,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-zabbix-prd-new,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=export_test,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-bcr-tech_tsdb-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-telephonie-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-bcr-routeur_npc-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-datacenter-hpr,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c999-mtroapi-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=chronograf,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=1586,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=telegraf,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=342222,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-opn-carema-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-opn-opr-dynatrace-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=new_db,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-bcr-mtrm_tsdb-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c700-bcr-sup2_tsdb-prd,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=c152-dncl-hpr,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=autogen,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_subscriber,database=autogen,destination=http://kapacitor:9092,mode=ANY,name=kapacitor-f39852d3-1f10-40cd-96ba-67d2daee20c9,retention_policy=5300,url=http://127.0.0.1:36225/endpoint pointsWritten=0,writeFailures=0 1717163790675899148
|
||||
influxdb_rpc,url=http://127.0.0.1:36225/endpoint idleStreams=2,liveConnections=1,liveStreams=2,rpcCalls=146231,rpcFailures=0,rpcReadBytes=3941135770,rpcRetries=0,rpcWriteBytes=185033228,singleUse=0,singleUseOpen=0,totalConnections=1,totalStreams=2 1717163790675899148
|
||||
influxdb_entitlements,url=http://127.0.0.1:36225/endpoint licenseExpiry="2112-01-01T00:00:00Z",licenseType="license-file" 1717163790675899148
|
||||
influxdb_cluster,url=http://127.0.0.1:36225/endpoint copyShardReq=0,createIteratorReq=0,expandSourcesReq=0,fieldDimensionsReq=0,iteratorCostReq=0,openConnections=2,removeShardReq=0,storeReadFilterReq=0,storeReadGroupReq=0,storeReadWindowAggregateReq=0,writeShardFail=0,writeShardPointsReq=572199,writeShardReq=7258 1717163790675899148
|
||||
influxdb_cq,url=http://127.0.0.1:36225/endpoint queryFail=0,queryOk=0 1717163790675899148
|
||||
influxdb_httpd,bind=:8086,url=http://127.0.0.1:36225/endpoint authFail=0,clientError=0,fluxQueryReq=0,fluxQueryReqDurationNs=0,pingReq=871,pointsWrittenDropped=0,pointsWrittenFail=0,pointsWrittenOK=343808,promReadReq=0,promWriteReq=0,queryReq=6149,queryReqDurationNs=2612667879,queryRespBytes=2331498,recoveredPanics=0,req=12370,reqActive=2,reqDurationNs=9521864530967,serverError=0,statusReq=0,writeReq=3021,writeReqActive=0,writeReqBytes=96773706,writeReqDurationNs=45791403479 1717163790675899148
|
||||
influxdb_ae,url=http://127.0.0.1:36225/endpoint bytesRx=0,errors=0,jobs=0,jobsActive=0 1717163790675899148
|
||||
influxdb n_shards=24i 1717163790675899148
|
4666
plugins/inputs/influxdb/testdata/cloud1.json
vendored
Normal file
4666
plugins/inputs/influxdb/testdata/cloud1.json
vendored
Normal file
File diff suppressed because it is too large
Load diff
1255
plugins/inputs/influxdb/testdata/influx_return.json
vendored
Normal file
1255
plugins/inputs/influxdb/testdata/influx_return.json
vendored
Normal file
File diff suppressed because it is too large
Load diff
1255
plugins/inputs/influxdb/testdata/influx_return2.json
vendored
Normal file
1255
plugins/inputs/influxdb/testdata/influx_return2.json
vendored
Normal file
File diff suppressed because it is too large
Load diff
57
plugins/inputs/influxdb/types.go
Normal file
57
plugins/inputs/influxdb/types.go
Normal file
|
@ -0,0 +1,57 @@
|
|||
package influxdb
|
||||
|
||||
type point struct {
|
||||
Name string `json:"name"`
|
||||
Tags map[string]string `json:"tags"`
|
||||
Values map[string]interface{} `json:"values"`
|
||||
}
|
||||
|
||||
type memstats struct {
|
||||
Alloc int64 `json:"Alloc"`
|
||||
TotalAlloc int64 `json:"TotalAlloc"`
|
||||
Sys int64 `json:"Sys"`
|
||||
Lookups int64 `json:"Lookups"`
|
||||
Mallocs int64 `json:"Mallocs"`
|
||||
Frees int64 `json:"Frees"`
|
||||
HeapAlloc int64 `json:"HeapAlloc"`
|
||||
HeapSys int64 `json:"HeapSys"`
|
||||
HeapIdle int64 `json:"HeapIdle"`
|
||||
HeapInuse int64 `json:"HeapInuse"`
|
||||
HeapReleased int64 `json:"HeapReleased"`
|
||||
HeapObjects int64 `json:"HeapObjects"`
|
||||
StackInuse int64 `json:"StackInuse"`
|
||||
StackSys int64 `json:"StackSys"`
|
||||
MSpanInuse int64 `json:"MSpanInuse"`
|
||||
MSpanSys int64 `json:"MSpanSys"`
|
||||
MCacheInuse int64 `json:"MCacheInuse"`
|
||||
MCacheSys int64 `json:"MCacheSys"`
|
||||
BuckHashSys int64 `json:"BuckHashSys"`
|
||||
GCSys int64 `json:"GCSys"`
|
||||
OtherSys int64 `json:"OtherSys"`
|
||||
NextGC int64 `json:"NextGC"`
|
||||
LastGC int64 `json:"LastGC"`
|
||||
PauseTotalNs int64 `json:"PauseTotalNs"`
|
||||
PauseNs [256]int64 `json:"PauseNs"`
|
||||
NumGC int64 `json:"NumGC"`
|
||||
GCCPUFraction float64 `json:"GCCPUFraction"`
|
||||
}
|
||||
|
||||
type system struct {
|
||||
CurrentTime string `json:"currentTime"`
|
||||
Started string `json:"started"`
|
||||
Uptime uint64 `json:"uptime"`
|
||||
}
|
||||
|
||||
type build struct {
|
||||
Branch string `json:"Branch"`
|
||||
BuildTime string `json:"Build Time"`
|
||||
Commit string `json:"Commit"`
|
||||
Version string `json:"Version"`
|
||||
}
|
||||
|
||||
type crypto struct {
|
||||
FIPS bool `json:"FIPS"`
|
||||
EnsureFIPS bool `json:"ensureFIPS"`
|
||||
Implementation string `json:"implementation"`
|
||||
PasswordHash string `json:"passwordHash"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue