OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Cloud

  • Overview
  • Schema evolution
    • Liquibase
    • Flyway
  • Data ingestion
    • Canal
    • dbt
    • Debezium
    • Flink
    • Glue
    • Informatica Cloud
    • Kafka
    • Maxwell
    • SeaTunnel
    • DataWorks
    • NiFi
  • SQL development
    • DataGrip
    • DBeaver
    • Navicat
    • TablePlus
  • Orchestration
    • DolphinScheduler
    • Linkis
    • Airflow
  • Visualization
    • Grafana
    • Power BI
    • Quick BI
    • Superset
    • Tableau
  • Observability
    • Datadog
    • Prometheus
  • Database management
    • Bytebase
  • AI
    • LlamaIndex
    • Dify
    • LangChain
    • Tongyi Qianwen
    • OpenAI
    • n8n
    • Trae
    • SpringAI
    • Cline
    • Cursor
    • Continue
    • Toolbox
    • CamelAI
    • Firecrawl
    • Hugging Face
    • Ollama
    • Google Gemini
    • Cloudflare Workers AI
    • Qoder
    • OpenCode
    • Claude Code
    • GitHub Copilot
    • Codex
    • Jina AI
    • Augment Code
    • Claude Code
    • Kiro
  • Development tools
    • Cloudflare Workers
    • Vercel

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase Cloud

Visualize OceanBase Cloud monitoring data with Grafana

Last Updated:2026-09-04 07:03:30

Prerequisites
Procedure
Step 1: Start and log in to Grafana
Step 2: Add Prometheus as a data source
Step 3: Configure the Grafana dashboard

OceanBase Cloud supports collecting database monitoring metrics via Prometheus and displaying them using Grafana dashboards. This guide walks you through configuring a Grafana dashboard to visualize monitoring data for an OceanBase Cloud database.

Prerequisites

  • You have already set up Prometheus to collect monitoring metrics. For detailed steps, refer to Monitor data of OceanBase Cloud with Prometheus.

  • You have deployed Grafana and ensured that Grafana and Prometheus can communicate. This guide uses Grafana version 10.2.2 deployed via Docker as an example, but you may use other methods, such as local installation or a managed service.

  • You have downloaded the OceanBase Cloud monitoring dashboard configuration files: Host Monitoring and Instance Monitoring. These are pre-configured example dashboards, but you can also customize them as needed.

Procedure

Step 1: Start and log in to Grafana

  1. If you are deploying Grafana using Docker, run the following command to start Grafana:

    sudo docker run -d --name=grafana-test -p 3000:3000 grafana/grafana:10.2.2
    
    # The `--name` parameter defines the container name, which in this example is `grafana-test`. You can customize it as needed.
    
  2. Access Grafana in your browser at http://localhost:3000. The default username and password are both admin. When you log in for the first time, Grafana will prompt you to change the password.

Step 2: Add Prometheus as a data source

  1. After logging in, click the icon in the top-left corner to expand the sidebar, then select Connections > Data sources.

  2. Click Add data source, then select Prometheus as the data source.

  3. In the Connection section of the Prometheus configuration page, enter the URL of your Prometheus server. Scroll to the bottom of the page and click Save & test to validate the connection.

Step 3: Configure the Grafana dashboard

  1. Click the icon again to open the sidebar, then select Dashboards.

  2. Click + Create Dashboard, then in the Import a dashboard card, click Import Dashboard.

  3. Upload one of the pre-downloaded dashboard configuration files mentioned in the prerequisites, then click Load.

  4. On the Options page, enter a custom name for the dashboard and click Import. You should now be able to view your monitoring data on the Grafana dashboard.

Previous topic

Airflow
Last

Next topic

Power BI
Next
on this page
Prerequisites
Procedure
Step 1: Start and log in to Grafana
Step 2: Add Prometheus as a data source
Step 3: Configure the Grafana dashboard