-
Notifications
You must be signed in to change notification settings - Fork 1.1k
How to display an Integration in documentation integrations page?
Most of the Datadog integrations are automatically pulled from:
- Integrations-core
- Integrations-extras
- Datadog internal repo
Note: Integrations are pulled only from the Master
branch.
To know in which repository the integration is stored, scroll down to the bottom of the integration page to find a direct link to the source file:
If you don't see this it means that the integration is stored in the Datadog internal repo.
For each integration, we use the following files to generate the documentation page:
Readme.md
metadata.csv
manifest.json
The Readme.md
is used to generate the main content, metadata.csv
is used to generate the metrics table in the Data Collected section and manifest.json
is used as supporting page data to determine page visibility and crawler type.
In order to display an integration in /integrations
you need to :
-
Push your integrations in one of the source repositories: integrations-core or integrations-extras by following the new integrations creation rules.
-
Add you integrations logo inYou no longer have to place a logo in the repository. Instead the logo will be sourced automaticall from druids by matching thedocumentation
repository in the/static/images/integrations_logos/
integration_id
used in the manifest.json to the name used in druids.
NOTE If you want to see the integrations from integrations-core/extras on your local development environment, you will need to make sure you have a Makefile.config
setup and that FETCH_INTEGRATIONS
is set to true and that you have a GITHUB_TOKEN
populated (Learn how to create your Github personal token).
To display the metric table in the ### Metrics
sub-section you need to have the following sentences in your Readme.md
file:
See metadata.csv for a list of metrics provided by this integration.
See metadata.csv for a list of metrics provided by this check.
On build, this sentence is removed and replaced by the following partial groups:
{{< get-metrics-from-git "INTEGRATION_NAME" >}}
That allows metrics inlining.