//
pkg.gl
Category
github.com/apache/trafficcontrol/v8
traffic_stats
influxdb
package
8.0.2
Repository:
https://github.com/apache/trafficcontrol.git
Documentation:
pkg.go.dev
Overview
Versions
4
Dependencies
5
Dependents
2
Files
62 SLOC
#
Functions
Create
Create takes an influx.Client, and a create cmd in order to create objects in the influx db (it doesn't require a db argument like QueryDB).
QueryDB
QueryDB takes an influx client interface, cmd, and db strings.
#
Structs
Config
Config holds the requisite information to connect to an influx db instance prefix is an optional variable that is set via the Flags method, so as to distinguish between flags for different influxdb instances.