This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new 0dce44d fix(doc): Correct title levels in monitoring documentation
0dce44d is described below
commit 0dce44de1f375c785d95c3c873f7207f5775fd9b
Author: Antonin Stefanutti <[email protected]>
AuthorDate: Thu Jul 2 14:52:48 2020 +0200
fix(doc): Correct title levels in monitoring documentation
---
docs/modules/ROOT/pages/observability/monitoring.adoc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/modules/ROOT/pages/observability/monitoring.adoc
b/docs/modules/ROOT/pages/observability/monitoring.adoc
index 1746231..af8ef92 100644
--- a/docs/modules/ROOT/pages/observability/monitoring.adoc
+++ b/docs/modules/ROOT/pages/observability/monitoring.adoc
@@ -124,7 +124,7 @@ It is possible to extend this set of metrics by using
either, or both:
* The
https://github.com/eclipse/microprofile-metrics/blob/master/spec/src/main/asciidoc/app-programming-model.adoc#annotations[MicroProfile
Metrics annotations], in external dependencies
-=== Discovery
+== Discovery
The Prometheus trait automatically configures the resources necessary for the
Prometheus Operator to reconcile, so that the managed Prometheus instance can
scrape the integration _metrics_ endpoint.
@@ -147,7 +147,7 @@ The Prometheus Operator
https://github.com/coreos/prometheus-operator/blob/v0.38
In case your integration metrics are not discovered, you may want to rely on
https://github.com/coreos/prometheus-operator/blob/v0.38.0/Documentation/troubleshooting.md#troubleshooting-servicemonitor-changes[Troubleshooting
`ServiceMonitor` changes].
-=== Alerting
+== Alerting
The Prometheus Operator declares the `AlertManager` resource that can be used
to configure _Alertmanager_ instances, along with `Prometheus` instances.
@@ -173,7 +173,7 @@ EOF
More information can be found in the Prometheus Operator
https://github.com/coreos/prometheus-operator/blob/v0.38.0/Documentation/user-guides/alerting.md[Alerting]
user guide. You can also find more details in
https://docs.openshift.com/container-platform/4.4/monitoring/monitoring-your-own-services.html#creating-alerting-rules_monitoring-your-own-services[Creating
alerting rules] from the OpenShift documentation.
-=== Autoscaling
+== Autoscaling
Integration metrics can be exported for horizontal pod autoscaling (HPA),
using the https://github.com/DirectXMan12/k8s-prometheus-adapter[custom metrics
Prometheus adapter].
If you have an OpenShift cluster, you can follow
https://docs.openshift.com/container-platform/4.4/monitoring/exposing-custom-application-metrics-for-autoscaling.html[Exposing
custom application metrics for autoscaling] to set it up.