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

Using the Observability service on OPCP

Ver como Markdown

Find out how to explore your logs, metrics and traces, and set up dashboards and alerts with the Observability service in the OPCP Cloud Console

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 Organization users how to open the Observability service from the OPCP Cloud Console, explore their logs, metrics and traces, and set up dashboards and alerts.

The Observability service gives your Organization its own Grafana, with its own logs, metrics, traces and alerts. No other Organization can see your data. You sign in with your Organization account.

How your IT Admin deploys the service is described in the guide Deploying the Observability service on OPCP.

This guide documents version 0.1.0-alpha.99.

Requirements

  • An account in your Organization, as described in the guide OPCP Cloud Console.
  • The Observability service enabled for your Organization by your IT Admin.

Instructions

What the service offers in the Alpha

FeatureIn the Alpha
Grafana for your Organization, with single sign-onYes
Logs, metrics and traces of your OrganizationYes
IAM audit log: sign-ins and IAM changes of your OrganizationYes, unless your IT Admin turned it off
Usage & Limits: your Organization's usage of the Observability service against its limitsYes
Your own dashboards and alert rules, notifications to your toolsYes
Sending the logs, metrics and traces of your own servers and applicationsYes, see "Sending your own data"
Data and access per projectNo: everything is per Organization, see "Known limitations"

Opening the service

  1. Log in to the OPCP Cloud Console and open Observability in your Enabled Services.
  2. In the Overview tab, open the grafana_url link.
  3. Sign in with your Organization account.

Every user of the Organization who signs in gets the Editor role in Grafana: they can explore the data and create and change dashboards and alert rules.

Exploring your data

In the Alpha, the data of your Organization comes from the IAM audit log of your Keycloak realm, and from what your own servers and applications send, see "Sending your own data". The other Cloud Store services will add their data, for example the S31 access logs of your buckets, with the Beta.

Four data sources are provisioned in your Grafana:

Data sourceContentsQuery language
Loki (default)LogsLogQL
MimirMetricsPromQL
TempoTracesTraceQL
AlertmanagerYour alerts and notification settings—

To explore your data:

  1. Open Explore in the Grafana menu and select a data source.
  2. Build the query in Builder mode, or type it in Code mode. For example:
    • Loki: {job="keycloak-audit", type="LOGIN_ERROR"} returns the failed sign-ins of your Organization;
    • Mimir: open the Metrics browser to list the metrics your Organization has, then pick one.
  3. Select the time range and click Run query.

Provisioned dashboards

Organization's Grafana Dashboards page with the provisioned IAM audit log and Usage & Limits dashboards
DashboardWhat it shows
IAM audit logThe sign-ins, failed sign-ins, sign-outs and IAM changes (users, roles, clients) of your Organization's Keycloak realm.
Usage & LimitsYour active metric series, metric samples per second and log ingestion, against the Observability limits of your Organization.
IAM audit log dashboard: sign-ins, failed sign-ins, sign-outs, IAM changes and sign-ins over time

To create your own dashboard, go to Dashboards > New > New dashboard. You can also import a dashboard from a JSON file with Dashboards > New > Import.

Sending your own data

Your servers, applications and scripts can send their logs, metrics and traces to the gateway of your Organization, and read them back. The data shows up in your Grafana, alongside your other data.

  • Address: the gateway_url link in the Overview tab of the service.
  • Access: a token from your Organization's realm in each request. Ask your IT Admin for a client ID, a client secret and the token URL, see the "Giving an Organization push credentials" section of the "Deploying the Observability service on OPCP" guide.
  • APIs: the standard APIs of Loki, Mimir (Prometheus) and Tempo, and OTLP over HTTP.

The guide Sending and reading data with the OPCP Observability gateway lists the API and gives end-to-end examples with curl, Grafana Alloy and the OpenTelemetry SDK.

Data retention and limits

Your IT Admin sets how long your data is kept. By default:

DataDefault retention
Logs30 days
Metrics365 days
Traces30 days

The Observability service sets fixed limits for each Organization. They only apply to the data sent to this service, not to your other Cloud Store services:

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 and sent again later by its sender. Metric series above 150,000 are dropped. Track your usage on the Usage & Limits dashboard.

Setting up alerts

You can write alert rules on your logs and metrics, and send the notifications to your own tools.

  1. Go to Alerting > Notification configuration > Contact points and click New contact point. Choose the integration (email, webhook, Slack, Microsoft Teams, PagerDuty, etc.) and fill in its settings.
  2. Go to Alerting > Alert rules and click New alert rule.
  3. Choose the Mimir or Loki data source, write the query and the condition, and choose your contact point.
  4. Save the rule.

The rules are evaluated by the service itself, so they keep running when nobody has Grafana open.

Info

When you write a rule, the preview may show the error Jwt is missing. Save the rule anyway: it is evaluated correctly. Check the result in Explore.

Warning

Notifications can only be sent to public addresses. A contact point that targets a private address (for example 10.x.x.x or 192.168.x.x) fails with blocked address.

Known limitations

The Alpha has the following known limitations:

LimitationDetail
Everything is per OrganizationAll users of the Organization see all its data and are Editor. Data, roles and dashboards per project come with the Beta.
No forwarding, no exportSending a copy of your data to an external platform, and a full export, come with the Beta.
Few data sourcesIn the Alpha, apart from the data you send yourself, only the IAM audit log sends data to your Organization. The Cloud Store services, for example Object Storage, send theirs with the Beta.
RetentionOnly your IT Admin can change the retention of your data.
Short query errorsDuring upgrades or restarts of the service, queries over the last few hours may fail for a short time. No data is lost: run the query again.

Go further

Sending and reading data with the OPCP Observability gateway

Deploying the Observability service on OPCP

OPCP Cloud Console

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.

¿Le ha resultado útil esta página?