Deploying the Observability service on OPCP
Find out how to deploy and configure the Observability service of Cloud Store from the OPCP Admin Console, and enable it for Organizations
Alpha version — This guide documents the alpha version of Cloud Store. Features, interfaces and procedures will change until general availability (GA), and this guide will be updated along with them.
Objective
This guide shows IT Admins how to deploy the Observability service from the OPCP Admin Console, configure it and enable it for Organizations.
The Observability service gives each Organization of your platform its own logs, metrics, traces and alerts, in its own Grafana. It is built on the open-source Grafana LGTM stack: Loki for logs, Grafana Mimir for metrics, Tempo for traces and Grafana for dashboards and alerting. Users sign in with their Organization account (Keycloak single sign-on).
This service is for the Organizations. The observability of the platform itself (control plane, OpenStack, Ceph, hardware) is a separate stack that comes with OPCP and is described in the guide Observability on OPCP.
This guide covers what is specific to the Observability service. The general steps (Service Catalog, Service Deployments, Organizations) are described in the guide OPCP Admin Console. How Organization users work with the service is described in the guide Using the Observability service on OPCP.
This guide documents version 0.1.0-alpha.99.
Requirements
- Access to the OPCP Admin Console, as described in the guide OPCP Admin Console.
- An S31-compatible object storage, for example the Object Storage service of Cloud Store, with:
- an endpoint URL, a region, an access key and a secret key;
- three buckets created beforehand: one for the logs, one for the metrics and one for the traces. The service does not create them.
- An Organization to enable the service for. To create one, read the "Creating an Organization" section of the "OPCP Admin Console" guide.
Instructions
Architecture overview
Each Organization only sees its own data. The data of all Organizations is stored in the same three buckets, separated by Organization.
Deploying the service
-
Go to
Management>Service Catalogand open Observability. ClickNew deployment. -
Choose the version of your service, then click
Next. -
Configure your service: fill in the object storage settings described in "Settings of the Service Deployment" below. The
sizesetting is underShow advanced config.
-
Click
Deploy.
The Service Deployment is deploying, then deployed.
Settings of the Service Deployment
The connection to the platform's Kubernetes cluster and to Keycloak is provided by Cloud Store: there is nothing to fill in for them.
Outputs of the Service Deployment
Once the Service Deployment is deployed, its Outputs tab shows:
Enabling the service for an Organization
Enable the Service Deployment for each Organization that needs it, as described in the "Enabling a service for an Organization" section of the "OPCP Admin Console" guide.
- The service runs on the platform's cluster: the Host Pool step is marked
not applicable. - Never enable the service for an Organization that already has it, see "Known limitations".
The Enabled Service is deploying, then deployed. The Organization's users then find Observability in the OPCP Cloud Console. Send them the guide Using the Observability service on OPCP.
Settings of the Enabled Service
The retention settings and keycloak_l3_namespace are under Show advanced config.
Lowering a retention period permanently deletes the older data of that Organization.
The Keycloak connection of the Organization is provided by Cloud Store: there is nothing to fill in for it.
Outputs of the Enabled Service
Each Enabled Service has its own Outputs, shown to the Organization's users in the Overview tab of the service in the OPCP Cloud Console:
Giving an Organization push credentials
To send the data of its own servers and applications, an Organization needs a client of its Keycloak realm that can get tokens by itself (a service account). Create one with an account that can manage the clients of the Organization's realm:
- Open the Keycloak administration console of the Organization's realm and go to
Clients. ClickCreate client. - Keep the client type OpenID Connect, enter a client ID, for example
observability-push, and clickNext. - Turn on
Client authentication, tickService accounts rolesonly, and clickNext, thenSave. - In the
Credentialstab of the client, copy the Client Secret. - Give the Organization the client ID, the client secret and the token URL of its realm:
https://<keycloak>/realms/<realm>/protocol/openid-connect/token.
To use them, see the guide Sending and reading data with the OPCP Observability gateway.
Limits per Organization
The Observability service sets the same fixed limits for each Organization. They only apply to the data sent to this service, not to the other Cloud Store services, and they protect the service and the other Organizations:
Data above a rate limit is refused with an HTTP 429 error, and the sender retries. Metric series above 150,000 are dropped. The Organization's users see their usage on the Usage & Limits dashboard of their Grafana. You see the data rejected per Organization on the Platform Health dashboard.
Disabling the service or deleting the Service Deployment
- Disable the service for each Organization, as described in the "Disabling a service or deleting a Service Deployment" section of the "OPCP Admin Console" guide.
- Delete the Service Deployment.
Disabling the service or deleting the Service Deployment does not delete the data stored in the three buckets. If an Organization's data must be erased, contact OVHcloud.
Known limitations
The Alpha has the following known limitations:
Troubleshooting
Go further
Using the Observability service on OPCP
For training or technical assistance implementing our solutions, contact your sales representative or visit our Professional Services page to request a quote and have your project analysed by our experts.
Join our community of users.
1: S3 is a trademark of Amazon Technologies, Inc. OVHcloud's service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies, Inc.