Skip to content

Commit debe473

Browse files
Release v0.7.17-preview.ddviz (#22)
## Release v0.7.17-preview.ddviz (preview) Automated release from the Datadog client plugin repository. **When this PR is merged into `preview-ddviz`, a GitHub Release `v0.7.17-preview.ddviz` will be created automatically.** Co-authored-by: dd-octo-sts[bot] <200755185+dd-octo-sts[bot]@users.noreply.github.com>
1 parent 2b7d12c commit debe473

28 files changed

Lines changed: 2354 additions & 856 deletions

‎.claude-plugin/marketplace.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"name": "datadog",
1313
"source": "./",
1414
"description": "Use Datadog directly in Claude Code through a preconfigured Datadog MCP server. Query logs, metrics, traces, dashboards, and more through natural conversation. This plugin is in preview.",
15-
"version": "0.7.16-preview.ddviz",
15+
"version": "0.7.17-preview.ddviz",
1616
"author": {
1717
"name": "Datadog"
1818
},

‎.claude-plugin/plugin.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "datadog",
3-
"version": "0.7.16-preview.ddviz",
3+
"version": "0.7.17-preview.ddviz",
44
"description": "Use Datadog directly in Claude Code through a preconfigured Datadog MCP server. Query logs, metrics, traces, dashboards, and more through natural conversation. This plugin is in preview.",
55
"author": {
66
"name": "Datadog"
@@ -12,5 +12,6 @@
1212
"mcp",
1313
"observability",
1414
"productivity"
15-
]
15+
],
16+
"mcpServers": "./.dd_claude-code_mcp.json"
1617
}

‎.dd_claude-code_mcp.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"mcpServers": {
3+
"mcp": {
4+
"type": "http",
5+
"url": "https://${DD_MCP_DOMAIN:-not-setup}/v1/mcp?referrer_ide=claude-code-plugin&plugin_version=0.7.17-preview.ddviz&toolsets=${DD_MCP_TOOLSETS:-}",
6+
"headers": {
7+
"DD_API_KEY": "${DD_API_KEY:-}",
8+
"DD_APPLICATION_KEY": "${DD_APPLICATION_KEY:-}"
9+
}
10+
}
11+
}
12+
}

‎.github/workflows/release.yaml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- 'preview-*'
1111
paths:
1212
- '*-plugin/plugin.json'
13+
- 'plugin.json'
1314
- 'package.json'
1415

1516
permissions:
@@ -20,14 +21,16 @@ jobs:
2021
runs-on: ubuntu-latest
2122
steps:
2223
- name: Checkout repository
23-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2425

2526
- name: Extract version
2627
id: version
2728
run: |
2829
MANIFEST=$(find . -maxdepth 2 -name plugin.json -path '*/.*-plugin/*' | head -1)
2930
if [ -n "$MANIFEST" ]; then
3031
VERSION=$(node -e "console.log(JSON.parse(require('fs').readFileSync('${MANIFEST}','utf8')).version)")
32+
elif [ -f plugin.json ]; then
33+
VERSION=$(node -e "console.log(JSON.parse(require('fs').readFileSync('plugin.json','utf8')).version)")
3134
elif [ -f package.json ]; then
3235
VERSION=$(node -e "console.log(JSON.parse(require('fs').readFileSync('package.json','utf8')).version)")
3336
else

‎.mcp.json‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎CONTRIBUTING.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ Thanks for taking the time to contribute. This document covers basic guidelines
1616

1717
Note that this repository is a downstream artifact — it is regenerated from an internal source repository on each release. External contributions are reviewed here, then ported back to the internal source as part of the normal release flow. We will let you know in the PR if changes need to flow through that path.
1818

19-
## Code of conduct
20-
21-
This project follows the [Datadog Code of Conduct](https://github.com/DataDog/.github/blob/master/CODE_OF_CONDUCT.md).
22-
2319
## License
2420

2521
By contributing, you agree that your contributions will be licensed under the repository's [LICENSE](LICENSE) file.

‎README.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
**This feature preview of the overlay visualization**
2-
3-
> [!IMPORTANT]
4-
> This is a preview of the overlay visualization feature. This is not the stable version of the Datadog Claude Code plugin. Contact us if you're interested in feature testing this new plugin.
1+
**This plugin is currently in Preview.**
52

63
# Datadog Claude Code Plugin
74

@@ -10,7 +7,7 @@ Query your Datadog data directly from Claude Code using natural language. Ask ab
107
## What you need
118

129
- A [Datadog](https://www.datadoghq.com/) account
13-
- [Claude Code](https://code.claude.com/docs) IDE (v2.1.20+)
10+
- [Claude Code](https://code.claude.com/docs) (v2.1.30+)
1411

1512
## Getting started
1613

@@ -34,7 +31,7 @@ Start Claude Code, install the plugin from the official marketplace:
3431

3532
> Auto-updates: Enable auto-update so Claude Code notifies when an update is available. Run /plugin, select the Marketplaces tab, select claude-plugins-official, then select Enable auto-update.
3633
37-
Before you can start querying Datadog data, you’ll need to connect the plugin to your Datadog account. The setup process will guide you in selecting the correct Datadog MCP domain. After setup, follow the instructions shown in Claude Code.
34+
Before you can start querying your Datadog data, you’ll need to connect the plugin to Datadog using your account. The setup process will guide you in selecting the correct Datadog MCP domain. After setup, follow the instructions shown in Claude Code.
3835

3936
> You can manually trigger setup by running the `/ddsetup` command.
4037
@@ -43,7 +40,7 @@ Before you can start querying Datadog data, you’ll need to connect the plugin
4340
Once connected, just ask the agent anything about your Datadog data:
4441

4542
```
46-
Show me error logs from the last hour
43+
Show me error logs for the "checkout" service from the last hour
4744
```
4845

4946
```
@@ -70,6 +67,7 @@ The plugin provides a few commands you can run in the agent to manage configurat
7067

7168
- `/ddconfig` — change your Datadog site or switch organizations
7269
- `/ddtoolsets` — enable or disable groups of tools
70+
- `/ddviz` — enable, disable, or check the status of the visualization panel
7371

7472
## Advanced usage
7573

@@ -99,10 +97,12 @@ When environment variables are set, `/ddsetup`, `/ddconfig`, and `/ddtoolsets` s
9997

10098
- By default, authentication is handled via OAuth in your browser. Key authentication is also [supported](#key-authentication).
10199
- No Datadog credentials are sent to the AI model provider.
100+
- On macOS, visualization tool results can render in a native side panel. Run `/ddviz` to enable, disable, or check its status. Disabling applies to every Claude Code install sharing the default data directory (a dev build with `DDVIZ_DATA_DIR` set is controlled separately).
101+
- When the panel can't render, the plugin sends lightweight telemetry (a failure-reason code only, never your queries or results) so we can spot broken setups. Opt out with `DO_NOT_TRACK` or `DISABLE_TELEMETRY`.
102102

103103
## Support
104104

105-
- [Datadog MCP Server Documentation](https://docs.datadoghq.com/bits_ai/mcp_server/)
105+
- [Datadog MCP Server Documentation](https://docs.datadoghq.com/mcp_server/)
106106

107107
## Legal
108108

‎hooks/forward.sh‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎hooks/hooks.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2+
"description": "Datadog visualizations: renders results from the get_widget and visualize_tabular_data tools as live, interactive charts in a native side panel, then closes it when the session ends. macOS only. Falls back to the sandbox URL when unavailable.",
23
"hooks": {
3-
"PreToolUse": [
4+
"PostToolUse": [
45
{
56
"matcher": "^mcp__plugin_datadog_mcp__(get_widget|visualize_tabular_data)$",
6-
"hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/forward.sh", "async": true }]
7+
"hooks": [{ "type": "command", "command": "bash", "args": ["${CLAUDE_PLUGIN_ROOT}/viz/hooks/forward.sh"] }]
78
}
89
],
9-
"PostToolUse": [
10+
"SessionEnd": [
1011
{
11-
"matcher": "^mcp__plugin_datadog_mcp__(get_widget|visualize_tabular_data)$",
12-
"hooks": [{ "type": "command", "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/forward.sh", "async": true }]
12+
"hooks": [{ "type": "command", "command": "bash", "args": ["${CLAUDE_PLUGIN_ROOT}/viz/hooks/session_end.sh"] }]
1313
}
1414
]
1515
}

‎skills/datadog-app/SKILL.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: datadog-app
3+
description: Use ONLY when the user explicitly asks to create, scaffold, or initialize a new Datadog App project — they must use action words like "create", "scaffold", "new", or "build" together with "Datadog App" or "@datadog/apps" or "npm create @datadog/apps". Do NOT use for any question that does not involve creating a new project from scratch, including: questions about Datadog observability products (logs, metrics, APM, traces, monitors, dashboards), working inside an existing project, deploying, publishing, auth, or CI/CD.
4+
---
5+
6+
# Datadog Apps
7+
8+
Use this skill only to **scaffold a new Datadog App**. It covers nothing else.
9+
10+
Once the app is scaffolded, all further guidance — local development, auth, deploy, publish, CI/CD, backend functions, data access, upgrading, and troubleshooting — lives in the generated project's `AGENTS.md` and `docs/agents/` files.
11+
12+
## Reference Routing
13+
14+
| User task | Read |
15+
| ------------------------ | ------------------------------- |
16+
| Create a new Datadog App | `references/getting-started.md` |
17+
18+
## Boundaries
19+
20+
- This skill covers scaffolding only. Stop here once the project is created.
21+
- Do not provide auth, deploy, publish, CI/CD, or app logic guidance from this skill — read the project's `AGENTS.md` instead.
22+
- Do not cover Datadog package/platform development in this skill.

0 commit comments

Comments
 (0)