Skip to content

Commit eaebb47

Browse files
committed
STAC-24067: move note on using stackpacks instead of cli to more prominent place
1 parent 7be1791 commit eaebb47

File tree

2 files changed

+9
-10
lines changed
  • docs/latest/modules/en/pages/setup/custom-integrations

2 files changed

+9
-10
lines changed

docs/latest/modules/en/pages/setup/custom-integrations/metric-bindings/cli.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ timestamp: 2026-01-14T13:11:07.575662922Z[Etc/UTC]
6767

6868
== Modifying Metric Bindings
6969

70+
[NOTE]
71+
====
72+
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+
====
7074

7175
=== Create/update a Metric Binding
7276
Create a file `metric-bindings.yaml` that looks like this:
@@ -113,8 +117,3 @@ sts settings delete --ids <id>
113117

114118
The `<id>` in this command isn't the identifier but the number in the `Id` column of the `sts settings list` output.
115119

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.
119-
====
120-

docs/latest/modules/en/pages/setup/custom-integrations/monitors/cli.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@ Monitor health states with identifier matching exactly 1 topology element: 650
144144

145145
== Modifying Monitors
146146

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+
147152
=== Create a Monitor
148153

149154
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
174179
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.
175180
====
176181

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.
180-
====
181-
182182
=== Delete a Monitor
183183

184184
To delete a monitor use

0 commit comments

Comments
 (0)