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
32
plugins/inputs/consul_agent/consul_structs.go
Normal file
32
plugins/inputs/consul_agent/consul_structs.go
Normal file
|
@ -0,0 +1,32 @@
|
|||
package consul_agent
|
||||
|
||||
type agentInfo struct {
|
||||
Timestamp string
|
||||
Gauges []gaugeValue
|
||||
Points []pointValue
|
||||
Counters []sampledValue
|
||||
Samples []sampledValue
|
||||
}
|
||||
|
||||
type gaugeValue struct {
|
||||
Name string
|
||||
Value float32
|
||||
Labels map[string]string
|
||||
}
|
||||
|
||||
type pointValue struct {
|
||||
Name string
|
||||
Points []float32
|
||||
}
|
||||
|
||||
type sampledValue struct {
|
||||
Name string
|
||||
Count int
|
||||
Sum float64
|
||||
Min float64
|
||||
Max float64
|
||||
Mean float64
|
||||
Rate float64
|
||||
Stddev float64
|
||||
Labels map[string]string
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue