From f5544519dbbd4194050c8e0dbdd5760d0fd25fd1 Mon Sep 17 00:00:00 2001 From: Ben Elferink Date: Wed, 4 Dec 2024 09:31:03 +0200 Subject: [PATCH] [GEN-1849]: add Axiom to docs/backends, and add metrics/logs to AppDynamics (#1908) --- README.md | 2 +- destinations/data/appdynamics.yaml | 4 +- docs/backends-overview.mdx | 2 +- docs/backends/appdynamics.mdx | 2 + docs/backends/axiom.mdx | 62 ++++++++++++++++++++++++++++++ docs/mint.json | 1 + 6 files changed, 69 insertions(+), 4 deletions(-) create mode 100644 docs/backends/axiom.mdx diff --git a/README.md b/README.md index 95afe4146..a6483bfc6 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ For more details, see our [quickstart guide](https://docs.odigos.io/intro). | Destination | Traces | Metrics | Logs | |-------------------------|:------:|:-------:|:----:| -| AppDynamics | ✅ | | | +| AppDynamics | ✅ | ✅ | ✅ | | Axiom | ✅ | | ✅ | | AWS S3 | ✅ | | ✅ | | Azure Blob Storage | ✅ | | ✅ | diff --git a/destinations/data/appdynamics.yaml b/destinations/data/appdynamics.yaml index 0c59c6ec6..2080f6092 100644 --- a/destinations/data/appdynamics.yaml +++ b/destinations/data/appdynamics.yaml @@ -10,9 +10,9 @@ spec: traces: supported: true metrics: - supported: false + supported: true logs: - supported: false + supported: true fields: - name: APPDYNAMICS_APPLICATION_NAME displayName: Application Name diff --git a/docs/backends-overview.mdx b/docs/backends-overview.mdx index 6ae47d8c6..903dba68b 100644 --- a/docs/backends-overview.mdx +++ b/docs/backends-overview.mdx @@ -6,7 +6,7 @@ Odigos has destinations for many observability backends. | Destination | Category | Traces | Metrics | Logs | |-------------------------|------------------|:------:|:-------:|:----:| -| AppDynamics | Managed | ✅ | | | +| AppDynamics | Managed | ✅ | ✅ | ✅ | | Axiom | Managed | ✅ | | ✅ | | AWS S3 | Managed | ✅ | | ✅ | | Azure Blob Storage | Managed | ✅ | | ✅ | diff --git a/docs/backends/appdynamics.mdx b/docs/backends/appdynamics.mdx index 08b9576af..e4d73e21c 100644 --- a/docs/backends/appdynamics.mdx +++ b/docs/backends/appdynamics.mdx @@ -57,6 +57,8 @@ spec: name: appdynamics-secret signals: - TRACES + - METRICS + - LOGS type: appdynamics --- diff --git a/docs/backends/axiom.mdx b/docs/backends/axiom.mdx new file mode 100644 index 000000000..94c8a0e09 --- /dev/null +++ b/docs/backends/axiom.mdx @@ -0,0 +1,62 @@ +--- +title: 'Axiom' +--- + +## Configuring Axiom Backend + +1. [Register](https://app.axiom.co/register)/[Login](https://app.axiom.co/login) to Axiom. +2. Navigate to the [Axiom Datasets](https://app.axiom.co/settings/datasets) page, create a dataset and copy it's name. +3. Navigate to the [Axiom API Tokens](https://app.axiom.co/settings/api-tokens) page, and generate a new API Token. + +- **AXIOM_DATASET** - Axiom Dataset Name from above (step 2). +- **AXIOM_API_TOKEN** - Axiom API Token from above (step 3). + +## Adding a destination to Odigos + +Odigos makes it simple to add and configure destinations, allowing you to select the specific signals [traces/logs/metrics] that you want to send to each destination. There are two primary methods for configuring destinations in Odigos: + +1. **Using the UI** + +- Use the [Odigos CLI](https://docs.odigos.io/cli/odigos_ui) to access the UI: + +```bash +odigos ui +``` + + +2. **Using kubernetes manifests** + +Save the YAML below to a file (e.g., `destination.yaml`) and apply it using `kubectl`: + +```bash +kubectl apply -f destination.yaml +``` + + +```yaml +apiVersion: odigos.io/v1alpha1 +kind: Destination +metadata: + name: axiom-example + namespace: odigos-system +spec: + data: + AXIOM_DATASET: + destinationName: axiom + secretRef: + name: axiom-secret + signals: + - TRACES + - LOGS + type: axiom + +--- +apiVersion: v1 +data: + AXIOM_API_TOKEN: +kind: Secret +metadata: + name: axiom-secret + namespace: odigos-system +type: Opaque +``` \ No newline at end of file diff --git a/docs/mint.json b/docs/mint.json index c30d9ac29..977e7d86b 100644 --- a/docs/mint.json +++ b/docs/mint.json @@ -202,6 +202,7 @@ "pages": [ "backends/appdynamics", "backends/s3", + "backends/axiom", "backends/azureblob", "backends/causely", "backends/chronosphere",