Skip to content

Commit 77b8964

Browse files
committed
Add parameter enableadminAPI to prometheus configuration
Signed-off-by: morenod <dsanzmor@redhat.com>
1 parent 9443999 commit 77b8964

4 files changed

Lines changed: 19 additions & 0 deletions

api/bases/telemetry.openstack.org_metricstorages.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ spec:
132132
replicas: 2
133133
description: Define prometheus config
134134
properties:
135+
enableAdminAPI:
136+
description: |-
137+
Enable Prometheus admin API. Defaults to the value of `false`.
138+
type: boolean
135139
enableOtlpHttpReceiver:
136140
description: |-
137141
Enable Prometheus to accept OpenTelemetry Metrics via the otlp/http protocol.

api/bases/telemetry.openstack.org_telemetries.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,11 @@ spec:
719719
replicas: 2
720720
description: Define prometheus config
721721
properties:
722+
enableAdminAPI:
723+
description: |-
724+
Enable Prometheus admin API. Defaults to the value of `false`.
725+
The resulting endpoint is /api/v1/admin.
726+
type: boolean
722727
enableOtlpHttpReceiver:
723728
description: |-
724729
Enable Prometheus to accept OpenTelemetry Metrics via the otlp/http protocol.

config/crd/bases/telemetry.openstack.org_metricstorages.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ spec:
132132
replicas: 2
133133
description: Define prometheus config
134134
properties:
135+
enableAdminAPI:
136+
description: |-
137+
Enable Prometheus admin API. Defaults to the value of `false`.
138+
The resulting endpoint is /api/v1/admin.
139+
type: boolean
135140
enableOtlpHttpReceiver:
136141
description: |-
137142
Enable Prometheus to accept OpenTelemetry Metrics via the otlp/http protocol.

config/crd/bases/telemetry.openstack.org_telemetries.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,11 @@ spec:
719719
replicas: 2
720720
description: Define prometheus config
721721
properties:
722+
enableAdminAPI:
723+
description: |-
724+
Enable Prometheus admin API.
725+
Defaults to the value of `false`.
726+
type: boolean
722727
enableOtlpHttpReceiver:
723728
description: |-
724729
Enable Prometheus to accept OpenTelemetry Metrics via the otlp/http protocol.

0 commit comments

Comments
 (0)