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
52
plugins/outputs/stackdriver/sample.conf
Normal file
52
plugins/outputs/stackdriver/sample.conf
Normal file
|
@ -0,0 +1,52 @@
|
|||
# Configuration for Google Cloud Stackdriver to send metrics to
|
||||
[[outputs.stackdriver]]
|
||||
## GCP Project
|
||||
project = "erudite-bloom-151019"
|
||||
|
||||
## The namespace for the metric descriptor
|
||||
## This is optional and users are encouraged to set the namespace as a
|
||||
## resource label instead. If omitted it is not included in the metric name.
|
||||
namespace = "telegraf"
|
||||
|
||||
## Metric Type Prefix
|
||||
## The DNS name used with the metric type as a prefix.
|
||||
# metric_type_prefix = "custom.googleapis.com"
|
||||
|
||||
## Metric Name Format
|
||||
## Specifies the layout of the metric name, choose from:
|
||||
## * path: 'metric_type_prefix_namespace_name_key'
|
||||
## * official: 'metric_type_prefix/namespace_name_key/kind'
|
||||
# metric_name_format = "path"
|
||||
|
||||
## Metric Data Type
|
||||
## By default, telegraf will use whatever type the metric comes in as.
|
||||
## However, for some use cases, forcing int64, may be preferred for values:
|
||||
## * source: use whatever was passed in
|
||||
## * double: preferred datatype to allow queries by PromQL.
|
||||
# metric_data_type = "source"
|
||||
|
||||
## Tags as resource labels
|
||||
## Tags defined in this option, when they exist, are added as a resource
|
||||
## label and not included as a metric label. The values from tags override
|
||||
## the values defined under the resource_labels config options.
|
||||
# tags_as_resource_label = []
|
||||
|
||||
## Custom resource type
|
||||
# resource_type = "generic_node"
|
||||
|
||||
## Override metric type by metric name
|
||||
## Metric names matching the values here, globbing supported, will have the
|
||||
## metric type set to the corresponding type.
|
||||
# metric_counter = []
|
||||
# metric_gauge = []
|
||||
# metric_histogram = []
|
||||
|
||||
## NOTE: Due to the way TOML is parsed, tables must be at the END of the
|
||||
## plugin definition, otherwise additional config options are read as part of
|
||||
## the table
|
||||
|
||||
## Additional resource labels
|
||||
# [outputs.stackdriver.resource_labels]
|
||||
# node_id = "$HOSTNAME"
|
||||
# namespace = "myapp"
|
||||
# location = "eu-north0"
|
Loading…
Add table
Add a link
Reference in a new issue