Metrics Config (v0.13.7)


| Language: |

cloudprober.metrics.Dist #


[explicit_buckets <string> | exponential_buckets <cloudprober.metrics.ExponentialBuckets>]: <oneof>

cloudprober.metrics.ExponentialBuckets #


scale_factor: <float>

base: <float>

num_buckets: <uint32>

cloudprober.metrics.payload.OutputMetricsOptions #


metrics_kind: (UNDEFINED|GAUGE|CUMULATIVE): <enum>

# Additional labels (comma-separated) to attach to the output metrics, e.g. # "region=us-east1,zone=us-east1-d". ptype="external" and probe="<probeName>" # are attached automatically.
additional_labels: <string>
# Whether to aggregate metrics in Cloudprober. If enabled, Cloudprober # aggregates the metrics returned by the external probe process -- external # probe process should return metrics only since the last probe run. # Note that this option is mutually exclusive with GAUGE metrics and # cloudprober will fail during initialization if both options are enabled.
aggregate_in_cloudprober: <bool> | default: false
# Metrics that should be treated as distributions. These metrics are exported # by the external probe program as comma-separated list of values, for # example: "op_latency 4.7,5.6,5.9,6.1,4.9". To be able to build distribution # from these values, these metrics should be pre-configured in external # probe: # dist_metric { # key: "op_latency" # value { # explicit_buckets: "1,2,4,8,16,32,64,128,256" # } # }
dist_metric: <cloudprober.metrics.payload.OutputMetricsOptions.DistMetricEntry>

cloudprober.metrics.payload.OutputMetricsOptions.DistMetricEntry #


key: <string>

value: <cloudprober.metrics.Dist>