Skip to content

Commit e8b685f

Browse files
lmkerbey-mdbjwilliams-mongo
authored andcommitted
(DOCSP-46414) Fix link format and update target. (#2044)
* (DOCSP-46414) Fix link format and update target. * (DOCSP-46414) Link replacements.
1 parent 5def12a commit e8b685f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

source/multi-cluster-arch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The following limitations exist for |multi-clusters|:
3131
:ref:`MongoDB <k8s-specification>` custom resources,
3232
you must manually configure |kmip| backup encryption client settings in |onprem|.
3333
To learn more, see :ref:`kmip-manual-procedure`.
34-
- Don't add a :github:`ServiceMonitor</prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md#related-resources>`
34+
- Don't add a :github:`ServiceMonitor<prometheus-operator/prometheus-operator/blob/main/Documentation/developer/getting-started.md>`
3535
to your |mongodb-multis|. The |k8s-op-short| doesn't support integration with Prometheus.
3636

3737
- .. include:: /includes/facts/fact-migrating-to-multi-clusters.rst

source/tutorial/deploy-prometheus.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Deploy a Resource to Use with Prometheus
1515
You can use the :ref:`mongodb-prometheus-sample.yaml
1616
<mdb-prometheus-sample>` file to deploy a MongoDB resource in your
1717
|k8s| cluster, with a :github:`ServiceMonitor
18-
</prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md#related-resources>`
18+
<prometheus-operator/prometheus-operator/blob/main/Documentation/developer/getting-started.md>`
1919
to indicate to Prometheus how to consume metrics data from
2020
it.
2121

@@ -84,7 +84,7 @@ Create a MongoDB Resource
8484
You can use the :ref:`mongodb-prometheus-sample.yaml
8585
<mdb-prometheus-sample>` file to deploy a MongoDB resource in your
8686
|k8s| cluster, with a :github:`ServiceMonitor
87-
</prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md#related-resources>`
87+
<prometheus-operator/prometheus-operator/blob/main/Documentation/developer/getting-started.md>`
8888
to indicate to Prometheus how to consume metrics data from
8989
it.
9090

@@ -107,7 +107,7 @@ Prometheus endpoint. The command creates both |k8s-secrets| in the
107107
``mongodb`` namespace.
108108

109109
This command also creates a :github:`ServiceMonitor
110-
</prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md#related-resources>` that
110+
<prometheus-operator/prometheus-operator/blob/main/Documentation/developer/getting-started.md>` that
111111
configures Prometheus to consume this resource's metrics. This command
112112
creates the ``ServiceMonitor`` in the ``prometheus-system``
113113
namespace.
@@ -163,14 +163,14 @@ The following response appears:
163163

164164
After a few minutes, the MongoDB resource should return to the
165165
Running phase. Now you must configure the Prometheus
166-
:github:`ServiceMonitor </prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md#related-resources>`
166+
:github:`ServiceMonitor <prometheus-operator/prometheus-operator/blob/main/Documentation/developer/getting-started.md>`
167167
to point to the HTTPS endpoint.
168168

169169
Update ServiceMonitor
170170
~~~~~~~~~~~~~~~~~~~~~
171171

172172
To update the :github:`ServiceMonitor
173-
</prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md#related-resources>`, run
173+
<prometheus-operator/prometheus-operator/blob/main/Documentation/developer/getting-started.md>`, run
174174
the following command to patch the resource again:
175175

176176
.. code-block:: sh
@@ -191,7 +191,7 @@ The following reponse appears:
191191
servicemonitor.monitoring.coreos.com/mongodb-sm patched
192192

193193
With these changes, the new :github:`ServiceMonitor
194-
</prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md#related-resources>`
194+
<prometheus-operator/prometheus-operator/blob/main/Documentation/developer/getting-started.md>`
195195
points to the HTTPS endpoint (defined in
196196
``/spec/endpoints/0/scheme``). You also set
197197
``spec/endpoints/0/tlsConfig/insecureSkipVerify`` to ``true``,
@@ -208,7 +208,7 @@ using HTTPS.
208208

209209
Create the following ``mongodb-prometheus-sample.yaml`` file to deploy
210210
a MongoDB resource in your |k8s| cluster, with a
211-
:github:`ServiceMonitor </prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/getting-started.md#related-resources>`
211+
:github:`ServiceMonitor <prometheus-operator/prometheus-operator/blob/main/Documentation/developer/getting-started.md>`
212212
to indicate to Prometheus how to consume metrics data from
213213
it.
214214

0 commit comments

Comments
 (0)