Repository navigation
fix(docs): fix Prometheus counter names - #102
Merged
Merged
Conversation
|
🚀 Build success! Latest successful preview: https://preview-102--questdb-documentation.netlify.app Commit SHA: 19e97c4
|
goodroot
approved these changes
Dec 10, 2024
goodroot
enabled auto-merge (squash)
December 10, 2024 19:41
javier
added a commit
that referenced
this pull request
Oct 26, 2026
… and credential-bound HTTP sessions (#575) ## Summary Documents four tandem PRs, all merged and released: - questdb/java-questdb-client#102 (Java client 1.3.11): refreshing token providers and Microsoft Entra ID authentication. - questdb/questdb-enterprise#1267 (QuestDB Enterprise 4.1.0): OIDC claim fallback lists, JWT issuer validation, and HTTP sessions tied to their credentials. - questdb/questdb#7799 (QuestDB 10.1.0): the open source side of HTTP sessions tied to their credentials. - questdb/ui#617 (Web Console 2.0.5, bundled with QuestDB 10.1.0): Web Console token renewal and sign-in errors. ### Java client - `java.md`: new **Token providers** section. Covers `token_provider=azure` with the `questdb-client-azure` artifact, credential selection with `azure_credential`, `AzureTokenSource`, and how the Azure provider classifies failures. Also covers `RefreshingTokenProvider` with `TokenSource`, `ExpiringToken`, `TokenUnavailableException`, its builder options and `awaitReady`, and custom `HttpTokenProvider` implementations. - `java.md`: **How the client handles token failures**, by phase: the retry with a new token after a `401`, startup, the `QuestDB` handle, senders that have connected, queries, and orphan drainers. - `java.md`: new **Connection health** section (`db.health()`, `Sender.health()`, `QwpQueryClient.health()`). The handle and builder tables gain `connect(String, HttpTokenProvider)`, `health()`, and `httpTokenProvider(...)`. Connection-level errors cover `QwpAuthFailedException` and `QwpCredentialUnavailableException`. - `connect-string.md`: the `token_provider`, `azure_resource`, `azure_credential`, and `azure_client_id` keys, with recipe and key index rows. - QWP client behaviour spec: new **Authentication failures and token providers** reference, with the phase table of the cross-language spec in #102. The ingress, egress, client failover, and connect string pages no longer describe authentication errors as terminal in every case for Java. Other clients are still described as terminal. ### QuestDB Enterprise 4.1.0 - `configuration/oidc.md`: new `acl.oidc.issuer` and `acl.oidc.issuer.validation.enabled`. Claim lists and their startup validation for `acl.oidc.sub.claim` and `acl.oidc.groups.claim`. `acl.oidc.cache.ttl` as the interval for which a session reuses a password check. - `security/oidc.mdx`: new **User and group claims**, **Token validation** (with the expected issuer and Entra ID v1.0 and v2.0 issuers), **Sessions and token expiry**, and **Troubleshooting** sections, and an upgrade warning. - `security/oidc.mdx`: new **Managed identities and service principals** section in the Entra ID guide: app roles, v2.0 access tokens, claim lists, role assignment with `az rest`, group mapping, and ingestion with the Java client. - `security/rbac.md`: new **HTTP sessions** section: sessions end with their credential, ending Web Console logins with `DROP TOKEN TYPE REST`, and what replicas keep. - `operations/upgrade.md`: **Authentication changes in 4.1.0**. - `deployment/azure.md`: link to the managed identity setup. ### QuestDB 10.1.0 - `rest-api.md`: new **HTTP sessions** section: `session=true` and `session=false`, the `qdb_session` cookie, and that a rejected credential ends the session. - `http-server.md`: new `http.session.timeout` entry. ### Web Console - `security/oidc.mdx`: **Web Console token renewal**, covering renewal from the `exp` claim of the ID token, the resend after a `401`, **Missing ID token**, and failed renewals with the **Sign in again** warning. Also **Web Console sign-in errors**. ### Also changed - `java.md`: corrected the error categories and policies, that the `QuestDB` builder accepts an error handler, and added the `AUTH_FAILED` connection event. - `acl.oidc.groups.claim` has no default and is required. - The Entra ID example takes the principal from `preferred_username` instead of the display name, `name`. - A login without groups is rejected, not authenticated without permissions. - Notes the 4.1.0 limitation, from its release notes, that ingestion cannot create tables or add columns for external users. - Changelog entries for October 2026. ## Dependencies None open: Java client 1.3.11, QuestDB 10.1.0, and QuestDB Enterprise 4.1.0 are released, and include all four PRs. --------- Co-authored-by: javier ramírez <javier@questdb.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All counter names end with
_total