Skip to content

Commit 64595b5

Browse files
authored
Merge pull request #43845 from bburt-rh/RHDEVDOCS-3827-fix-incorrect-indent-in-tls-config-sample
RHDEVDOCS-3827 - fix incorrect indent in tls config sample
2 parents 9d74c73 + bc4a9a5 commit 64595b5

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

modules/monitoring-configuring-remote-write.adoc renamed to modules/monitoring-configuring-remote-write-storage.adoc

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[id="configuring_remote_write_storage_{context}"]
77
= Configuring remote write storage
88

9+
[role="_abstract"]
910
You can configure remote write storage to enable Prometheus to send ingested metrics to remote systems for long-term storage.
1011
Doing so has no impact on how or for how long Prometheus stores metrics.
1112

@@ -121,18 +122,18 @@ data:
121122
prometheusK8s:
122123
remoteWrite:
123124
- url: "https://remote-write.endpoint"
124-
tlsConfig:
125-
ca:
126-
secret:
125+
tlsConfig:
126+
ca:
127+
secret:
128+
name: selfsigned-mtls-bundle
129+
key: ca.crt
130+
cert:
131+
secret:
132+
name: selfsigned-mtls-bundle
133+
key: client.crt
134+
keySecret:
127135
name: selfsigned-mtls-bundle
128-
key: ca.crt
129-
cert:
130-
secret:
131-
name: selfsigned-mtls-bundle
132-
key: client.crt
133-
keySecret:
134-
name: selfsigned-mtls-bundle
135-
key: client.key
136+
key: client.key
136137
----
137138
138139
. Add write relabel configuration values after the authentication credentials:

monitoring/configuring-the-monitoring-stack.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ include::modules/monitoring-modifying-retention-time-for-prometheus-metrics-data
112112
* xref:../scalability_and_performance/optimizing-storage.adoc#optimizing-storage[Optimizing storage]
113113

114114
// Configuring remote write storage for Prometheus
115-
include::modules/monitoring-configuring-remote-write.adoc[leveloffset=+1]
115+
include::modules/monitoring-configuring-remote-write-storage.adoc[leveloffset=+1]
116116

117117
[role="_additional-resources"]
118118
.Additional resources

0 commit comments

Comments
 (0)