You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recommended way of working is to store metric bindings (and any other custom resources created in {stackstate-product-name}) as YAML files in xref:/setup/custom-integrations/overview.adoc[a StackPack]. From there changes can be manually applied or it can be fully automated by using the SUSE Observability CLI in a CI/CD system like GitHub actions or GitLab pipelines.
73
+
====
70
74
71
75
=== Create/update a Metric Binding
72
76
Create a file `metric-bindings.yaml` that looks like this:
The `<id>` in this command isn't the identifier but the number in the `Id` column of the `sts settings list` output.
115
119
116
-
[NOTE]
117
-
====
118
-
The recommended way of working is to store metric bindings (and any other custom resources created in {stackstate-product-name}) as YAML files in xref:/setup/custom-integrations/overview.adoc[a StackPack]. From there changes can be manually applied or it can be fully automated by using the SUSE Observability CLI in a CI/CD system like GitHub actions or GitLab pipelines.
Copy file name to clipboardExpand all lines: docs/latest/modules/en/pages/setup/custom-integrations/monitors/cli.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,11 @@ Monitor health states with identifier matching exactly 1 topology element: 650
144
144
145
145
== Modifying Monitors
146
146
147
+
[NOTE]
148
+
====
149
+
The recommended way of working is to store monitors (and any other custom resources created in {stackstate-product-name}) as YAML files in xref:/setup/custom-integrations/overview.adoc[a StackPack]. From there changes can be manually applied or it can be fully automated by using the SUSE Observability CLI in a CI/CD system like GitHub actions or GitLab pipelines.
150
+
====
151
+
147
152
=== Create a Monitor
148
153
149
154
You can create a monitor by applying a YAML file, say `monitor.yaml`. It must have the following outline:
@@ -174,11 +179,6 @@ You can xref:/setup/custom-integrations/monitors/index.adoc#_verifying_the_resul
174
179
The identifier is used as the unique key of a monitor. Changing the identifier will create a new monitor instead of updating the existing one.
175
180
====
176
181
177
-
[NOTE]
178
-
====
179
-
The recommended way of working is to store monitors (and any other custom resources created in {stackstate-product-name}) as YAML files in xref:/setup/custom-integrations/overview.adoc[a StackPack]. From there changes can be manually applied or it can be fully automated by using the SUSE Observability CLI in a CI/CD system like GitHub actions or GitLab pipelines.
0 commit comments