Cross Service Integration
Find out how to use Cross Service Integration for Public Cloud Databases engines
Find out how to use Cross Service Integration for Public Cloud Databases engines
Last updated October 19th, 2022
Cross Service Integration allows you to expose your Public Cloud Databases Logs and Metrics.
This guide explains how to use Cross Service Integration.
Out of scope:
The Cross Service Integrations for Logs and Metrics allow you for example:
For that you need:
Although it is possible to define the same cluster as destination service and source service, this is a bad practice for multiple reasons (performance, security, resiliency, ...)
Other integrations:
source → ↓ destination |
grafana | m3db | kafka |
---|---|---|---|
pg | dashboard, datasource | ||
opensearch | datasource | ||
m3db | dashboard, datasource | ||
m3agg | m3agg | ||
kmm | kafka_mirrormaker | ||
kc | kafka_connect |
Log in to your OVHcloud Control Panel and open your Public Cloud
project. Click on Databases
in the left-hand navigation bar, select your engine instance and open the Service integration
tab.
Click on Add an integration
:
Define the Integration type
and the Destination service
:
First create a Public Cloud Database for your Destination service via your Control Panel or API.
If you want to store the metrics of your postgresql cluster to m3db, select m3dbMetrics
as Integration type
and m3db
as Destination service
, as shown below.
Your first integration is ready:
Note that this integration creation has created two users, respectively: metrics_reader
and metrics_writer
in your engine instance.
Don't delete them.
Go to the Service integration
tab of your Destination service
service and click on Add an integration
As you can see, the first integration is referenced.
Define grafanaDashboard
as Integration type
and the Source service
:
Your second integration is ready:
Connect to your Grafana instance and browse the dashboards:
Then open your new dashboard:
If you are not familiar with using the OVHcloud API, please refer to our guide on First Steps with the OVHcloud APIs.
You first need to identify your serviceId
and your clusterId
.
Execute the following API call:
From the resulting list, select and copy the service identifier corresponding to the desired service, also known as serviceName
.
Open the following API call, paste your service ID into the serviceName
input field and click Execute
:
Get integration capabilities related to your Public Cloud Databases service:
As a first step, you need to push your metrics or logs somewhere, in order to store them and retrieve the metrics with Grafana.
For that, you need to create a new integration:
Fill in the form with the information corresponding to the type of integration chosen.
The destionationServiceId
and the sourceServiceId
correspond to the destination cluster ID and to the source cluster ID.
Now that metrics are stored somewhere, you need to connect your Public Cloud Databases service to a Grafana service.
For that, first create a Public Cloud Database for Grafana via our Control Panel or API.
Once done, get the GrafanaDashboard
integration capability related to the destination service:
Then create a second integration from your Destination service name:
Connect to your Grafana instance and browse the dashboards:
Then open your new dashboard:
We would love to help answer questions and appreciate any feedback you may have.
Are you on Discord? Connect to our channel at https://discord.gg/ovhcloud and interact directly with the team that builds our databases service!
Please feel free to give any suggestions in order to improve this documentation.
Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.
Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.
Thank you. Your feedback has been received.
Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.
Discuss with the OVHcloud community