Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 17, 2025

What's Changed in this PR

Documents the /debug/enable_trace HTTP endpoint added in GreptimeTeam/greptimedb#6609, enabling runtime control of distributed tracing without restart.

Changes:

English Documentation:

  • docs/reference/http-endpoints.md: Added endpoint documentation under Admin APIs with POST examples
  • docs/user-guide/deployments-administration/monitoring/tracing.md: Added "Dynamic Tracing Control" section with usage patterns

Chinese Documentation:

  • i18n/zh/.../reference/http-endpoints.md: Added "启用/禁用链路追踪" section
  • i18n/zh/.../monitoring/tracing.md: Added "动态链路追踪控制" section

Usage:

# Enable tracing
curl --data "true" http://127.0.0.1:4000/debug/enable_trace

# Disable tracing  
curl --data "false" http://127.0.0.1:4000/debug/enable_trace

Checklist

  • Please confirm that all corresponding versions of the documents have been revised.

  • Please ensure that the content in sidebars.ts matches the current document structure when you changed the document structure.

  • This change requires follow-up update in localized docs.

  • Fixes Update docs for feat: dynamic enable or disable trace #2000

Original prompt

This section details on the original issue you should resolve

<issue_title>Update docs for feat: dynamic enable or disable trace</issue_title>
<issue_description>A document change request is generated from GreptimeTeam/greptimedb#6609</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 17, 2025

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: b700b30
Status: ✅  Deploy successful!
Preview URL: https://47e666c5.greptime-docs.pages.dev
Branch Preview URL: https://copilot-update-docs-dynamic.greptime-docs.pages.dev

View logs

Copilot AI changed the title [WIP] Update documentation for dynamic trace enable or disable feature docs: add HTTP API for dynamic trace control Nov 17, 2025
Copilot AI requested a review from waynexia November 17, 2025 13:54
Copilot finished work on behalf of waynexia November 17, 2025 13:54
@waynexia waynexia marked this pull request as ready for review November 18, 2025 03:16
@fengjiachun
Copy link
Contributor

The Chinese document also needs updating, right?

@waynexia
Copy link
Member

@copilot also changesthe corresponding Chinese parts

Copilot AI requested a review from killme2008 as a code owner November 28, 2025 08:22
Copy link
Contributor Author

Copilot AI commented Nov 28, 2025

@copilot also changesthe corresponding Chinese parts

Added Chinese translations in commit b700b30. Updated both i18n/zh/.../reference/http-endpoints.md and i18n/zh/.../monitoring/tracing.md with the corresponding sections.

Copilot AI requested a review from waynexia November 28, 2025 08:23
Copilot finished work on behalf of waynexia November 28, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update docs for feat: dynamic enable or disable trace

3 participants