Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
378 changes: 194 additions & 184 deletions README.md

Large diffs are not rendered by default.

527 changes: 527 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@stackql/pgwire-lite": "^1.0.1",
"@stackql/provider-utils": "^0.4.6"
"@stackql/provider-utils": "^0.4.9"
},
"keywords": [
"stackql",
Expand Down
Empty file removed provider-dev/config/.gitkeep
Empty file.
576 changes: 576 additions & 0 deletions provider-dev/config/all_services.csv

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions provider-dev/docgen/provider-data/headerContent1.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
title: REPLACEME
title: datadog
hide_title: false
hide_table_of_contents: false
keywords:
- REPLACEME
- datadog
- stackql
- infrastructure-as-code
- configuration-as-data
- cloud inventory
description: Query, deploy and manage REPLACEME resources using SQL
description: Query, monitor, and manage Datadog resources using SQL
custom_edit_url: null
image: /img/stackql-REPLACEME-provider-featured-image.png
image: /img/providers/datadog/stackql-datadog-provider-featured-image.png
id: 'provider-intro'
---

import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';

REPLACEME with description for the provider.
Monitoring, alerting and reporting platform for cloud platforms and applications.
11 changes: 6 additions & 5 deletions provider-dev/docgen/provider-data/headerContent2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ See also:

## Installation

To pull the latest version of the `REPLACEME` provider, run the following command:
To pull the latest version of the `datadog` provider, run the following command:

```bash
REGISTRY PULL REPLACEME;
REGISTRY PULL datadog;
```
> To view previous provider versions or to pull a specific provider version, see [here](https://stackql.io/docs/language-spec/registry).

## Authentication

The following system environment variables are used for authentication by default:

- <CopyableCode code="REPLACEME" /> - REPLACEME API token (see <a href="REPLACEME>How to Create a Personal Access Token</a>)
- <CopyableCode code="DD_API_KEY" /> - Datadog API key (see <a href="https://docs.datadoghq.com/account_management/api-app-keys/#api-keys">Datadog API Key Documentation</a>)
- <CopyableCode code="DD_APP_KEY" /> - Datadog Application Key (see <a href="https://docs.datadoghq.com/account_management/api-app-keys/#application-keys">Datadog Application Key Documentation</a>)

These variables are sourced at runtime (from the local machine or as CI variables/secrets).

Expand All @@ -27,15 +28,15 @@ To use different environment variables (instead of the defaults), use the `--aut

```bash

AUTH='{ "REPLACEME": { "type": "bearer", "credentialsenvvar": "REPLACEME" }}'
AUTH='{ "datadog": { "type": "custom", "location": "header", "name": "DD-API-KEY", "credentialsenvvar": "YOUR_DD_API_KEY_VAR", "successor": { "type": "custom", "location": "header", "name": "DD-APPLICATION-KEY", "credentialsenvvar": "YOUR_DD_APP_KEY_VAR" }}}'
stackql shell --auth="${AUTH}"

```
or using PowerShell:

```powershell

$Auth = "{ 'REPLACEME': { 'type': 'bearer', 'credentialsenvvar': 'REPLACEME' }}"
$Auth = "{ 'datadog': { 'type': 'custom', 'location': 'header', 'name': 'DD-API-KEY', 'credentialsenvvar': 'YOUR_DD_API_KEY_VAR', 'successor': { 'type': 'custom', 'location': 'header', 'name': 'DD-APPLICATION-KEY', 'credentialsenvvar': 'YOUR_DD_APP_KEY_VAR' }}}"
stackql.exe shell --auth=$Auth

```
Expand Down
Empty file removed provider-dev/downloaded/.gitkeep
Empty file.
Loading
Loading