Skip to content

docs: Revise metrics query topic #18717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

JStickler
Copy link
Contributor

What this PR does / why we need it:

Revises the Metrics Query topic.

@JStickler JStickler requested a review from a team as a code owner August 4, 2025 15:48
@JStickler JStickler added the type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories label Aug 4, 2025
@JStickler JStickler requested a review from slim-bean August 4, 2025 15:48

Combined with parsers, metric queries can also be used to calculate metrics from a sample value within the log line, such as latency or request size.
All labels, including extracted ones, will be available for aggregations and generation of new series.
By using aggregation operators and functions, you can convert a set of log entries into a single numeric value or a time series. This helps you compute totals, rates, and trends based on either the number of log lines or a label. If you use a parser, you can calculate metrics using values from inside the log lines. You can use any label, including indexed or parsed labels, to create aggregations and generate new series.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it worth also mentioning structured metadata as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably. How would you reword here to include it?

@JStickler JStickler changed the title docs: Revise metrics query topic DRAFT docs: Revise metrics query topic Aug 4, 2025
@JStickler JStickler marked this pull request as draft August 4, 2025 18:47
@JStickler JStickler changed the title DRAFT docs: Revise metrics query topic docs: Revise metrics query topic Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants