For AI agents: the complete documentation index is available at https://docs.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.ovhcloud.com/en/guides/hosted-private-cloud/opcp/observability-admin-console.md.
Skip to content

Deploying the Observability service on OPCP

View as Markdown

Find out how to deploy and configure the Observability service of Cloud Store from the OPCP Admin Console, and enable it for Organizations

Warning

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

ComponentDeployedRole
Control planeOnce per Service DeploymentRuns the shared storage and query components: Loki, Mimir, Tempo, a Kafka buffer for incoming data, and a platform Grafana that shows the health of the service itself. Stores all data in your three buckets.
Data planeOnce per Organization, when you enable the service for itGives the Organization its own Grafana and its own gateway. The gateway checks every request against the Organization's Keycloak realm and keeps the Organization's data in its own space (tenant).

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

  1. Go to Management > Service Catalog and open Observability. Click New deployment.

  2. Choose the version of your service, then click Next.

  3. Configure your service: fill in the object storage settings described in "Settings of the Service Deployment" below. The size setting is under Show advanced config.

    Configure your service step of a new Observability deployment: S3 keys, buckets, endpoint and region
  4. Click Deploy.

The Service Deployment is deploying, then deployed.

Settings of the Service Deployment

SettingDefaultDescription
s3_endpoint—URL of the object storage, with its scheme, for example https://s3.example.net.
s3_region—Region of the object storage.
s3_access_key_id—Access key of the object storage.
s3_secret_access_key—Secret key of the object storage.
s3_bucket_loki—Existing bucket for the logs.
s3_bucket_mimir—Existing bucket for the metrics. It also holds the alert rules and the notification settings of every Organization.
s3_bucket_tempo—Existing bucket for the traces.
sizesandboxSize of the service. Only sandbox is available in the Alpha, see "Known limitations".

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:

OutputContent
admin_grafana_urlThe platform Grafana of the service. IT Admins sign in with their OPCP Admin Console account. Its Platform Health dashboard shows the state of the service: components down, ingestion and query errors, Kafka lag, data rejected per Organization.
admin_gateway_urlThe gateway of the platform Grafana. It is used by the service itself; you do not need it.

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.

Configure your enabled service step: IAM audit switch, Keycloak namespace, log, metric and trace retention
SettingDefaultDescription
log_retention_days30Number of days the Organization's logs are kept.
metric_retention_days365Number of days the Organization's metrics are kept. The default allows year-over-year comparisons.
trace_retention_days30Number of days the Organization's traces are kept.
iam_audit_enabledtrueSends the sign-ins and the IAM changes of the Organization's Keycloak realm to its logs, and adds the IAM audit log dashboard to its Grafana. Set it to false to turn it off.
keycloak_l3_namespacekeycloak-layer-3Namespace of the Keycloak pods of the Organizations on the platform's cluster, read for the IAM audit log. Leave the default unless OVHcloud support asks you to change it.
Warning

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:

OutputContent
grafana_urlThe Grafana of the Organization.
gateway_urlThe gateway of the Organization, used by its Grafana, and by its servers and applications to send their own data.

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:

  1. Open the Keycloak administration console of the Organization's realm and go to Clients. Click Create client.
  2. Keep the client type OpenID Connect, enter a client ID, for example observability-push, and click Next.
  3. Turn on Client authentication, tick Service accounts roles only, and click Next, then Save.
  4. In the Credentials tab of the client, copy the Client Secret.
  5. 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:

SignalLimit
Metrics150,000 active series, 15,000 samples per second
Logs1 MiB/s (burst 4 MiB), 5,000 active log streams
Traces2 MiB/s (burst 4 MiB)

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

  1. 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.
  2. Delete the Service Deployment.
Warning

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:

LimitationDetail
Only the sandbox sizeThe service runs on one node, without high availability. During upgrades or restarts, queries over the last few hours may fail for a short time; no data is lost. Larger sizes come with the Beta.
LoadThe sandbox size was tested with three Organizations using half of their limits at the same time.
One data plane per OrganizationA second Enabled Service for an Organization that already has one breaks the Service Deployment: every later change to it fails. Disabling the service and enabling it again is safe.
No scalingThe size of a Service Deployment cannot be changed.
No erasure on disableThe data stays in the buckets: see "Disabling the service or deleting the Service Deployment".
No access to an Organization's dataIT Admins cannot read an Organization's data. A defined access process comes with the Beta.
No alert notifications to private addressesNotifications of an Organization can only be sent to public addresses.

Troubleshooting

What you noticeWhat to do
The IAM audit log dashboard of an Organization stays empty, and the logs of its data plane show unauthorized_client.The Keycloak client of the Organization does not allow service accounts yet. An admin of the Organization's realm fixes it: in the Keycloak administration console of the realm, go to Clients and open the client whose ID starts with observability-. In Capability config, tick Service accounts roles and click Save. The dashboard fills within a few minutes. A fix is on its way in Keycloak.
After the object storage was redeployed or replaced, the service shows certificate (x509) or connection errors.Update the S3 settings of the Service Deployment with the new endpoint and keys. Then, for each Organization, disable the service (this deletes its data plane, not its data), wait until the Enabled Service is deleted, and enable the service again, so that the new data plane takes the new values.
Deleting the Service Deployment or an Enabled Service never finishes.Contact OVHcloud.
Every change to the Service Deployment fails after the service was enabled for an Organization.The Organization probably has a second Enabled Service. Contact OVHcloud.

Go further

Using the Observability service on OPCP

OPCP Admin Console

Observability 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.

Was this page helpful?