Back to the Couchbase homepageCouchbase logo
Couchbase Developer

  • Docs

    • Integrations
    • SDKs
    • Mobile SDKs

    • AI Developer
    • Backend
    • Full-stack
    • Mobile
    • Ops / DBA

    • Data Modeling
    • Scalability

  • Tutorials

    • Developer Community
    • Ambassador Program
  • Sign In
  • Try Free

Configuring Grafana

  • Learn how to add Prometheus as a data source for Grafana
  • Import various sample dashboards, then learn how to build your own by exploring the Grafana Documentation

Add Grafana Data Source

Open the Grafana UI

http://<grafana-ip>:3000

Add a datasource by going to Configuration -> Data Sources.

Grafana Add Data Source

Click the "Add data source" button

Select "Prometheus"

Set the name to Prometheus (note this is case-sensitive).

In the URL, enter http://<prometheus-ip>:9090, leave the rest of the defaults and click "Save & Test".

Import Grafana Dashboards

Dashboards provide different ways of visualizing your data. Find sample dashboards for Prometheus and Grafana. Review the documentation for more information on creating your own dashboards and panels for Grafana.

Click the + sign on the left-hand side of the UI, and choose "Import".

Copy the contents from Couchbase Queries-1581449916780.json and paste them into the textbox.

Click the "Load" button

This will populate the name of the Dashboard automatically. Since this is the first Dashboard being created, click on the Folder dropdown, and choose "--New Folder--". Type "Couchbase" for the folder name and click "Create".

Click the "Import" button

You should see a dashboard similar to the following:

Grafana Dashboard

Repeat this process for any other existing dashboards that you want to visualize and start creating your own custom dashboards.


This tutorial is part of a Couchbase Learning Path:
Contents
Couchbase home page link

3250 Olcott Street
Santa Clara, CA 95054
United States

  • company
  • about
  • leadership
  • news & press
  • investor relations
  • careers
  • events
  • legal
  • contact us
  • support
  • Developer portal
  • Documentation
  • Forums
  • PROFESSIONAL SERVICES
  • support login
  • support policy
  • training
  • quicklinks
  • blog
  • downloads
  • get started
  • resources
  • why nosql
  • pricing
  • follow us
  • Social Media Link for FacebookFacebook
  • Social Media Link for TwitterTwitter
  • Social Media Link for LinkedInLinkedIn
  • Social Media Link for Youtubeyoutube
  • Social Media Link for GitHubGithub
  • Social Media Link for Stack OverflowStack Overflow
  • Social Media Link for Discorddiscord

© 2025 Couchbase, Inc. Couchbase and the Couchbase logo are registered trademarks of Couchbase, Inc. All third party trademarks (including logos and icons) referenced by Couchbase, Inc. remain the property of their respective owners.

Terms of UsePrivacy PolicyCookie PolicySupport PolicyDo Not Sell My Personal InformationMarketing Preference Center