envoy.config.metrics.v3.HistogramBucketSettings
Example
Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working
code.
local types = import 'types.libsonnet';
types.envoy.config.metrics.v3.HistogramBucketSettings
.withBuckets([ 1 ])
.withMatch(types.envoy.type.matcher.v3.StringMatcher)
._validate()
Fields
Name |
Type |
One-of group |
Required |
Constraints |
buckets |
[]
double
|
|
yes
|
{"Repeated":{"items":{"Type":{"Double":{"gt":0}}},"min_items":1,"unique":true}}
|
match |
envoy.type.matcher.v3.StringMatcher
|
|
yes
|
|