Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2134 from aiven/cincinnat-prebuild-grafana-dash-f…
Browse files Browse the repository at this point in the history
…or-pg

Revert "issue-1972-changes-to-prebuilt-grafan-dashboards"
  • Loading branch information
wojcik-dorota authored Sep 8, 2023
2 parents 2df9958 + c11ac46 commit 4399f44
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docs/products/postgresql/howto/report-metrics-grafana.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,25 @@ Monitor PostgreSQL® metrics with Grafana®
As well as offering PostgreSQL-as-a-service, the Aiven platform gives you access to monitor the database. The metrics/dashboard integration in the Aiven console lets you send PostgreSQL® metrics to an external endpoint like Datadog or to create an integration and a :doc:`prebuilt dashboard <../reference/pg-metrics>` in Aiven for Grafana®. Get detailed information about the metrics and dashboard sections in :doc:`../reference/pg-metrics`.


Push PostgreSQL metrics to InfluxDB® or M3DB
--------------------------------------------
Push PostgreSQL metrics to InfluxDB®, M3DB, or PostgreSQL
---------------------------------------------------------

To collect metrics about your PostgreSQL service you will need to configure a metrics integration and nominate somewhere to store the collected metrics.

1. In the **Overview** page of your Aiven for PostgreSQL service, go to **Manage integrations** and choose the **Store Metrics** option with **Store service metrics in a time-series database** as its description.

2. Choose either a new or existing InfluxDB® or M3DB service.
2. Choose either a new or existing InfluxDB®, M3DB, or PostgreSQL service.

- A new service will ask you to select the cloud, region and plan to use. You should also give your service a name. The service overview page shows the nodes rebuilding, and then indicates when they are ready.
- If you're already using InfluxDB or M3DB on Aiven, you can submit your PostgreSQL metrics to the existing service.
- If you're already using InfluxDB, M3DB, or PostgreSQL on Aiven, you can submit your PostgreSQL metrics to the existing service.

.. Warning::
Although you can send metrics of your PostgreSQL service to this very service, this is not recommended since it increases the load on the monitored system. This can also result in issues with the availability of the metrics in case of problems with the service.

Provision and configure Grafana
-------------------------------

1. Select the target InfluxDB, M3DB or PostgreSQL database service and go to its service page. Under **Manage integrations**, choose the **Monitor Data in Grafana** option to make the metrics available on that platform.
1. Select the target InfluxDB, M3DB, or PostgreSQL database service and go to its service page. Under **Manage integrations**, choose the **Monitor Data in Grafana** option to make the metrics available on that platform.

2. Choose either a new or existing Grafana service.
- A new service will ask you to select the cloud, region and plan to use. You should also give your service a name. The service overview page shows the nodes rebuilding, and then indicates when they are ready.
Expand Down

0 comments on commit 4399f44

Please sign in to comment.