You can use Atlas Kubernetes Operator to integrate Atlas with third-party services to:
Receive Atlas alerts in various third-party services.
View and analyze performance metrics that Atlas collects about your cluster.
To learn more, see Integrate with Third-Party Services.
Currently, serverless instance metrics don't support any third-party services (for example, Datadog).
You need the following public API key, private API key, and the organization ID information to configure Atlas Kubernetes Operator access to Atlas.
If you want Atlas Kubernetes Operator to create a new Atlas project, Create an API Key in an Organization. If your organization requires an IP access list for the Atlas Administration API, you must also configure the API access list.
You must assign the API key the Organization Project Creator organization role or higher.
If you want to work with an existing Atlas project, Create an API Key for a Project. If your organization requires an IP access list for the Atlas Administration API, you must also configure the API access list.
You must assign the API key the Project Owner project role.
To learn more, see Configure Access to Atlas.
To integrate Atlas with a third-party service, configure the
AtlasProject Custom Resource.
cat <<EOF | kubectl apply -f - apiVersion: atlas.mongodb.com/v1 kind: AtlasProject metadata: name: my-project labels: app.kubernetes.io/version: 1.6.0 spec: name: TestDatadogIntegration connectionSecretRef: name: my-atlas-key projectIpAccessList: - ipAddress: "0.0.0.0/1" comment: "Everyone has access. For test purposes only." - ipAddress: "188.8.131.52/1" comment: "Everyone has access. For test purposes only." integrations: - type: "DATADOG" apiKeyRef: name: key-name namespace: key-namespace region: "US" EOF
The parameters that you must specify in the
AtlasProject Custom Resource depend on the third-party service
that you want to configure:
For another example, see Prometheus Example.
To learn more about the configuration parameters available from the API, see the Atlas Third-Party Integration Settings.