Skip to content

fix: update token creation docs and use Authorization header - #43

Merged
gnzjgo merged 1 commit into
mainfrom
fix/update-token-creation-docs
Feb 5, 2026
Merged

gnzjgo merged 1 commit into
mainfrom
fix/update-token-creation-docs

Conversation

@gnzjgo

@gnzjgo gnzjgo commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

Updates the token creation instructions and authentication examples in both README.md and TEMPLATE.md:

  • Token creation: Replaced the deprecated POST /v0/tokens/ API with the tb CLI command:
    tb --cloud token create static prometheus_org_access --scope "WORKSPACE:READ_ALL" --scope "ORG_DATASOURCES:READ"
  • Authentication: Updated Datadog/OpenMetrics config to use Authorization: Bearer header instead of token in query parameters
  • Removed the duplicate Datadog-style config block from the Prometheus section in README.md

Closes #42

- Replace deprecated tokens API (POST /v0/tokens/) with tb CLI command
- Update scopes to WORKSPACE:READ_ALL and ORG_DATASOURCES:READ
- Use Authorization header instead of token in query params for Datadog
- Update both README.md and TEMPLATE.md

Closes #42

Amp-Thread-ID: https://ampcode.com/threads/T-019c2fe0-1927-7498-8ef9-305a1df05e7e
Co-authored-by: Amp <amp@ampcode.com>
@gnzjgo
gnzjgo merged commit 272adfa into main Feb 5, 2026
1 check passed
@gnzjgo
gnzjgo deleted the fix/update-token-creation-docs branch February 5, 2026 23:11
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.

add token creation to readme

1 participant