Skip to content

Commit

Permalink
Add test instructions as Markdown comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreprinetti committed Sep 20, 2024
1 parent e3942dd commit c667653
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/user/openstack/observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,25 @@ sum by (vm_instance) (

## Using remote-write to send RHOSO and OCP metrics to an external storage

<!--
To generate test certificates:
```bash
# Generate a CA if you don't have one already
openssl genrsa -out ca.key 4096
openssl req -batch -new -x509 -key ca.key -out ca.crt
# Generate the client certificates and sign them:
for target in server ocp-client osp-client; do
openssl genrsa -out "${target}.key" 4096
openssl req -batch -new -key "${target}.key" -out "${target}.csr"
openssl x509 -req -CA ca.crt -CAkey ca.key -CAcreateserial -in "${target}.csr" -out "${target}.crt"
done
```
-->

### Step 1: Set up the external storage

In this example, we'll assume that the external storage is another Prometheus instance.
Expand Down

0 comments on commit c667653

Please sign in to comment.