Skip to content

Commit 3cc85e9

Browse files
committed
Adding docs
1 parent 62db99b commit 3cc85e9

File tree

4 files changed

+39
-5
lines changed

4 files changed

+39
-5
lines changed

apis/v1alpha1/opentelemetrycollector_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ type MetricsConfigSpec struct {
527527
//
528528
// +optional
529529
// +kubebuilder:validation:Optional
530-
// Deprecated: use Spec.Observability.Metrics.DisableAutomaticPrometheusAnnotations instead.
530+
// Deprecated: use "OpenTelemetryCollector.Spec.Observability.Metrics.DisableAutomaticPrometheusAnnotations" instead.
531531
DisablePrometheusAnnotations bool `json:"DisablePrometheusAnnotations,omitempty"`
532532
// DisableAutomaticPrometheusAnnotations controls the automatic addition of default Prometheus annotations
533533
// ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')

bundle/manifests/opentelemetry.io_opentelemetrycollectors.yaml

+11-1
Original file line numberDiff line numberDiff line change
@@ -3870,7 +3870,12 @@ spec:
38703870
DisablePrometheusAnnotations:
38713871
description: DisablePrometheusAnnotations controls the automatic
38723872
addition of default Prometheus annotations ('prometheus.io/scrape',
3873-
'prometheus.io/port', and 'prometheus.io/path')
3873+
'prometheus.io/port', and 'prometheus.
3874+
type: boolean
3875+
disableAutomaticPrometheusAnnotations:
3876+
description: DisableAutomaticPrometheusAnnotations controls
3877+
the automatic addition of default Prometheus annotations
3878+
('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')
38743879
type: boolean
38753880
enableMetrics:
38763881
description: EnableMetrics specifies if ServiceMonitor or
@@ -5214,6 +5219,11 @@ spec:
52145219
DisablePrometheusAnnotations:
52155220
description: DisablePrometheusAnnotations controls the
52165221
automatic addition of default Prometheus annotations
5222+
('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.
5223+
type: boolean
5224+
disableAutomaticPrometheusAnnotations:
5225+
description: DisableAutomaticPrometheusAnnotations controls
5226+
the automatic addition of default Prometheus annotations
52175227
('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')
52185228
type: boolean
52195229
enableMetrics:

config/crd/bases/opentelemetry.io_opentelemetrycollectors.yaml

+11-1
Original file line numberDiff line numberDiff line change
@@ -3867,7 +3867,12 @@ spec:
38673867
DisablePrometheusAnnotations:
38683868
description: DisablePrometheusAnnotations controls the automatic
38693869
addition of default Prometheus annotations ('prometheus.io/scrape',
3870-
'prometheus.io/port', and 'prometheus.io/path')
3870+
'prometheus.io/port', and 'prometheus.
3871+
type: boolean
3872+
disableAutomaticPrometheusAnnotations:
3873+
description: DisableAutomaticPrometheusAnnotations controls
3874+
the automatic addition of default Prometheus annotations
3875+
('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')
38713876
type: boolean
38723877
enableMetrics:
38733878
description: EnableMetrics specifies if ServiceMonitor or
@@ -5211,6 +5216,11 @@ spec:
52115216
DisablePrometheusAnnotations:
52125217
description: DisablePrometheusAnnotations controls the
52135218
automatic addition of default Prometheus annotations
5219+
('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.
5220+
type: boolean
5221+
disableAutomaticPrometheusAnnotations:
5222+
description: DisableAutomaticPrometheusAnnotations controls
5223+
the automatic addition of default Prometheus annotations
52145224
('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')
52155225
type: boolean
52165226
enableMetrics:

docs/api.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -17815,7 +17815,14 @@ Metrics defines the metrics configuration for operands.
1781517815
<td><b>DisablePrometheusAnnotations</b></td>
1781617816
<td>boolean</td>
1781717817
<td>
17818-
DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')<br/>
17818+
DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.<br/>
17819+
</td>
17820+
<td>false</td>
17821+
</tr><tr>
17822+
<td><b>disableAutomaticPrometheusAnnotations</b></td>
17823+
<td>boolean</td>
17824+
<td>
17825+
DisableAutomaticPrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')<br/>
1781917826
</td>
1782017827
<td>false</td>
1782117828
</tr><tr>
@@ -20325,7 +20332,14 @@ Metrics defines the metrics configuration for operands.
2032520332
<td><b>DisablePrometheusAnnotations</b></td>
2032620333
<td>boolean</td>
2032720334
<td>
20328-
DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')<br/>
20335+
DisablePrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.<br/>
20336+
</td>
20337+
<td>false</td>
20338+
</tr><tr>
20339+
<td><b>disableAutomaticPrometheusAnnotations</b></td>
20340+
<td>boolean</td>
20341+
<td>
20342+
DisableAutomaticPrometheusAnnotations controls the automatic addition of default Prometheus annotations ('prometheus.io/scrape', 'prometheus.io/port', and 'prometheus.io/path')<br/>
2032920343
</td>
2033020344
<td>false</td>
2033120345
</tr><tr>

0 commit comments

Comments
 (0)