[azure monitor] Add latency config option#44366
Merged
Conversation
Contributor
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Contributor
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
gizas
reviewed
May 19, 2025
gizas
reviewed
May 19, 2025
gizas
reviewed
May 19, 2025
gizas
reviewed
May 19, 2025
gizas
reviewed
May 19, 2025
gizas
reviewed
May 19, 2025
Contributor
|
Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services) |
Eliminates the code duplication to calculate start/end of the metric values timespan in batch and non-batch versions of getting metric values.
gizas
approved these changes
May 19, 2025
Contributor
|
This pull request is now in conflicts. Could you fix it? 🙏 |
This makes file the build, I'm not sure if/how we beed to update docs using asciidoc format, or if we should use markdown instead.
Contributor
|
@Mergifyio backport 8.17 8.18 8.19 9.0 |
Contributor
✅ Backports have been createdDetails
|
mergify bot
pushed a commit
that referenced
this pull request
May 20, 2025
Add a new `latency` configuration option to the Azure Monitor metricset. Latency is the time it takes for the Azure service to publish the metric values to Azure Monitor. The metricset uses the `latency` value to compensate for the delay in metric value publishing. Default value is `0`. Typical values are `30s` or `1m`. ```text | | | | Now | │ | | time grain │ | │ │◀──(PT1M)──▶ │ | │ │ | ├──────────────────────────────────────────┼─────────────┼──────────────| │ │ | │ timespan │ │ | |◀───────────────────────(5min)─────────────────────────▶│ | │ │ │ | | period │ | │◀───────────────────────(5min)─────────────────────────▶| │ │ │ | │ │ | | │ latency | | | ◀──(1min)──▶ | │ │ | │ │ | Start End | │ │ | ``` (cherry picked from commit 2921bbe)
mergify bot
pushed a commit
that referenced
this pull request
May 20, 2025
Add a new `latency` configuration option to the Azure Monitor metricset. Latency is the time it takes for the Azure service to publish the metric values to Azure Monitor. The metricset uses the `latency` value to compensate for the delay in metric value publishing. Default value is `0`. Typical values are `30s` or `1m`. ```text | | | | Now | │ | | time grain │ | │ │◀──(PT1M)──▶ │ | │ │ | ├──────────────────────────────────────────┼─────────────┼──────────────| │ │ | │ timespan │ │ | |◀───────────────────────(5min)─────────────────────────▶│ | │ │ │ | | period │ | │◀───────────────────────(5min)─────────────────────────▶| │ │ │ | │ │ | | │ latency | | | ◀──(1min)──▶ | │ │ | │ │ | Start End | │ │ | ``` (cherry picked from commit 2921bbe)
This was referenced May 20, 2025
mergify bot
pushed a commit
that referenced
this pull request
May 20, 2025
Add a new `latency` configuration option to the Azure Monitor metricset. Latency is the time it takes for the Azure service to publish the metric values to Azure Monitor. The metricset uses the `latency` value to compensate for the delay in metric value publishing. Default value is `0`. Typical values are `30s` or `1m`. ```text | | | | Now | │ | | time grain │ | │ │◀──(PT1M)──▶ │ | │ │ | ├──────────────────────────────────────────┼─────────────┼──────────────| │ │ | │ timespan │ │ | |◀───────────────────────(5min)─────────────────────────▶│ | │ │ │ | | period │ | │◀───────────────────────(5min)─────────────────────────▶| │ │ │ | │ │ | | │ latency | | | ◀──(1min)──▶ | │ │ | │ │ | Start End | │ │ | ``` (cherry picked from commit 2921bbe)
6 tasks
mergify bot
pushed a commit
that referenced
this pull request
May 20, 2025
Add a new `latency` configuration option to the Azure Monitor metricset. Latency is the time it takes for the Azure service to publish the metric values to Azure Monitor. The metricset uses the `latency` value to compensate for the delay in metric value publishing. Default value is `0`. Typical values are `30s` or `1m`. ```text | | | | Now | │ | | time grain │ | │ │◀──(PT1M)──▶ │ | │ │ | ├──────────────────────────────────────────┼─────────────┼──────────────| │ │ | │ timespan │ │ | |◀───────────────────────(5min)─────────────────────────▶│ | │ │ │ | | period │ | │◀───────────────────────(5min)─────────────────────────▶| │ │ │ | │ │ | | │ latency | | | ◀──(1min)──▶ | │ │ | │ │ | Start End | │ │ | ``` (cherry picked from commit 2921bbe)
6 tasks
zmoog
added a commit
that referenced
this pull request
May 20, 2025
Add a new `latency` configuration option to the Azure Monitor metricset. Latency is the time it takes for the Azure service to publish the metric values to Azure Monitor. The metricset uses the `latency` value to compensate for the delay in metric value publishing. Default value is `0`. Typical values are `30s` or `1m`. ```text | | | | Now | │ | | time grain │ | │ │◀──(PT1M)──▶ │ | │ │ | ├──────────────────────────────────────────┼─────────────┼──────────────| │ │ | │ timespan │ │ | |◀───────────────────────(5min)─────────────────────────▶│ | │ │ │ | | period │ | │◀───────────────────────(5min)─────────────────────────▶| │ │ │ | │ │ | | │ latency | | | ◀──(1min)──▶ | │ │ | │ │ | Start End | │ │ | ``` (cherry picked from commit 2921bbe) Co-authored-by: Maurizio Branca <maurizio.branca@elastic.co>
zmoog
added a commit
that referenced
this pull request
May 20, 2025
Add a new `latency` configuration option to the Azure Monitor metricset. Latency is the time it takes for the Azure service to publish the metric values to Azure Monitor. The metricset uses the `latency` value to compensate for the delay in metric value publishing. Default value is `0`. Typical values are `30s` or `1m`. ```text | | | | Now | │ | | time grain │ | │ │◀──(PT1M)──▶ │ | │ │ | ├──────────────────────────────────────────┼─────────────┼──────────────| │ │ | │ timespan │ │ | |◀───────────────────────(5min)─────────────────────────▶│ | │ │ │ | | period │ | │◀───────────────────────(5min)─────────────────────────▶| │ │ │ | │ │ | | │ latency | | | ◀──(1min)──▶ | │ │ | │ │ | Start End | │ │ | ``` (cherry picked from commit 2921bbe) Co-authored-by: Maurizio Branca <maurizio.branca@elastic.co>
zmoog
added a commit
that referenced
this pull request
May 20, 2025
Add a new `latency` configuration option to the Azure Monitor metricset. Latency is the time it takes for the Azure service to publish the metric values to Azure Monitor. The metricset uses the `latency` value to compensate for the delay in metric value publishing. Default value is `0`. Typical values are `30s` or `1m`. ```text | | | | Now | │ | | time grain │ | │ │◀──(PT1M)──▶ │ | │ │ | ├──────────────────────────────────────────┼─────────────┼──────────────| │ │ | │ timespan │ │ | |◀───────────────────────(5min)─────────────────────────▶│ | │ │ │ | | period │ | │◀───────────────────────(5min)─────────────────────────▶| │ │ │ | │ │ | | │ latency | | | ◀──(1min)──▶ | │ │ | │ │ | Start End | │ │ | ``` (cherry picked from commit 2921bbe) Co-authored-by: Maurizio Branca <maurizio.branca@elastic.co>
zmoog
added a commit
that referenced
this pull request
May 20, 2025
Add a new `latency` configuration option to the Azure Monitor metricset. Latency is the time it takes for the Azure service to publish the metric values to Azure Monitor. The metricset uses the `latency` value to compensate for the delay in metric value publishing. Default value is `0`. Typical values are `30s` or `1m`. ```text | | | | Now | │ | | time grain │ | │ │◀──(PT1M)──▶ │ | │ │ | ├──────────────────────────────────────────┼─────────────┼──────────────| │ │ | │ timespan │ │ | |◀───────────────────────(5min)─────────────────────────▶│ | │ │ │ | | period │ | │◀───────────────────────(5min)─────────────────────────▶| │ │ │ | │ │ | | │ latency | | | ◀──(1min)──▶ | │ │ | │ │ | Start End | │ │ | ``` (cherry picked from commit 2921bbe) Co-authored-by: Maurizio Branca <maurizio.branca@elastic.co>
6 tasks
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.
Proposed commit message
Add a new
latencyconfiguration option to the Azure Monitor metricset.Latency is the time it takes for the Azure service to publish the metric
values to Azure Monitor. The metricset uses the
latencyvalue tocompensate for the delay in metric value publishing.
Default value is
0. Typical values are30sor1m.Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Disruptive User Impact
How to test this PR locally
Related issues