2
apiVersion: apiextensions.k8s.io/v1
3
kind: CustomResourceDefinition
6
controller-gen.kubebuilder.io/version: v0.14.0
7
name: meshmetrics.kuma.io
14
listKind: MeshMetricList
19
- additionalPrinterColumns:
20
- jsonPath: .spec.targetRef.kind
23
- jsonPath: .spec.targetRef.name
32
APIVersion defines the versioned schema of this representation of an object.
33
Servers should convert recognized schemas to the latest internal value, and
34
may reject unrecognized values.
35
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
39
Kind is a string value representing the REST resource this object represents.
40
Servers may infer this from the endpoint the client submits requests to.
43
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
48
description: Spec is the specification of the Kuma MeshMetric resource.
51
description: MeshMetric configuration.
54
description: Applications is a list of application that Dataplane
59
description: Address on which an application listens.
62
description: Name of the application to scrape
65
default: /metrics/prometheus
66
description: Path on which an application expose HTTP endpoint
70
description: Port on which an application expose HTTP endpoint
79
description: Backends list that will be used to collect metrics.
83
description: OpenTelemetry backend configuration
86
description: Endpoint for OpenTelemetry collector
92
description: Prometheus backend configuration.
95
description: ClientId of the Prometheus backend. Needed
96
when using MADS for DP discovery.
100
description: Path on which a dataplane should expose
101
HTTP endpoint with Prometheus metrics.
105
description: Port on which a dataplane should expose
106
HTTP endpoint with Prometheus metrics.
110
description: Configuration of TLS for prometheus listener.
114
description: Configuration of TLS for Prometheus
129
description: Type of the backend that will be used to collect
130
metrics. At the moment only Prometheus backend is available.
140
description: Sidecar metrics collection configuration
145
IncludeUnused if false will scrape only metrics that has been by sidecar (counters incremented
146
at least once, gauges changed at least once, and histograms added to at
147
least once). If true will scrape all metrics (even the ones with zeros).
150
description: Regex that will be used to filter sidecar metrics.
151
It uses Google RE2 engine https://github.com/google/re2
157
TargetRef is a reference to the resource the policy takes an effect on.
158
The resource could be either a real store object or virtual resource
162
description: Kind of the referenced resource
172
description: Mesh is reserved for future use to identify cross
177
Name of the referenced resource. Can only be used with kinds: `MeshService`,
178
`MeshServiceSubset` and `MeshGatewayRoute`
182
ProxyTypes specifies the data plane types that are subject to the policy. When not specified,
183
all data plane types are targeted by the policy.
192
additionalProperties:
195
Tags used to select a subset of proxies by tags. Can only be used with kinds
196
`MeshSubset` and `MeshServiceSubset`