GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Specify MeterProvider configurable cardinality limits by jmacd · Pull Request #2960 · open-telemetry/opentelemetry-specification

Conversation

@jmacd

@jmacd jmacd commented Nov 18, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Fixes #1891.

EDIT: Updated to specify cardinality limits at the View/Instrument level with a Reader-level default. Updated to use a hard limit

Changes

Adds optional support for a maximum cardinality limit.

The recommended default is 2000, based on this comment by #1891 (comment) @jack-berg.

The Prometheus-WG SIG discussed this on Nov 9, 2022 and reached this recommended solution to the problem outlined in #1891. The consequence of exceeding these limits is in line with the current Prometheus server behavior, which drops targets that misbehave. The discussed was summarized here: #1891 (comment)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Joshua MacDonald
Specify MetricReader configurable limits
61264c7
@jmacd
jmacd requested review from a team November 18, 2022 00:07
@github-actions github-actions Bot assigned SergeyKanzhelev Nov 18, 2022
Joshua MacDonald added 2 commits November 17, 2022 16:07
Joshua MacDonald
Add PR number and spec-matrix entry
7ba02d1
Joshua MacDonald
edits
16f6170
@jmacd jmacd mentioned this pull request Nov 18, 2022
Specify a low-memory temporality preference for the OTLP metrics exporter #2961
Merged
reyang
reyang reviewed Nov 18, 2022
View reviewed changes
Comment thread specification/metrics/sdk.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

reyang
reyang reviewed Nov 18, 2022
View reviewed changes
Comment thread CHANGELOG.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

jack-berg
jack-berg reviewed Nov 21, 2022
View reviewed changes
Comment thread specification/metrics/sdk.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@arminru arminru added area:sdk Related to the SDK area:configuration Related to configuring the SDK spec:metrics Related to the specification/metrics directory labels Nov 24, 2022
Joshua MacDonald added 3 commits November 28, 2022 09:48
Joshua MacDonald
Merge branch 'main' of github.com:open-telemetry/opentelemetry-specif…
82fb36d
…ication into jmacd/metrics_limits
Joshua MacDonald
changelog order
0f78e17
Joshua MacDonald
corrections, update spec matrix
26b2ce9
@jmacd jmacd changed the title Specify MetricReader configurable limits Specify MeterProvider configurable cardinality limits Nov 28, 2022
@jmacd

jmacd commented Nov 28, 2022

Copy link
Copy Markdown
Member Author

This PR has been updated to specify the limit at the MeterProvider level. PTAL.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

pirgeo
pirgeo reviewed Nov 29, 2022
View reviewed changes
Comment thread specification/metrics/sdk.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread specification/metrics/sdk.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread specification/metrics/sdk.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread specification/metrics/sdk.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread specification/metrics/sdk.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

MrAlias
MrAlias reviewed Nov 29, 2022
View reviewed changes
Comment thread specification/metrics/sdk.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

jmacd and others added 2 commits November 30, 2022 12:34
@jmacd @pirgeo
Update specification/metrics/sdk.md
57d35a5
Co-authored-by: Georg Pirklbauer <[email protected]>
@jmacd @pirgeo
Update specification/metrics/sdk.md
e755ee6
Co-authored-by: Georg Pirklbauer <[email protected]>
@reyang reyang mentioned this pull request Dec 2, 2022
Define "none" numeric value #3000
Closed
@github-actions

github-actions Bot commented Dec 8, 2022

Copy link
Copy Markdown

This PR was marked stale due to lack of activity. It will be closed in 7 days.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the Stale label Dec 8, 2022
Joshua MacDonald added 3 commits December 12, 2022 10:52
Joshua MacDonald
Merge branch 'main' of github.com:open-telemetry/opentelemetry-specif…
00c44f6
…ication into jmacd/metrics_limits
Joshua MacDonald
Merge branch 'jmacd/metrics_limits' of github.com:jmacd/opentelemetry…
8c87107
…-specification into jmacd/metrics_limits
Joshua MacDonald
revision
20c7555
jack-berg
jack-berg approved these changes Dec 13, 2022
View reviewed changes
Joshua MacDonald
lint
9569ef5
@tylerbenson tylerbenson mentioned this pull request Apr 19, 2023
EasyCLA not happy with coauthored commits open-telemetry/community#1445
Closed
@trask

trask commented Apr 21, 2023

Copy link
Copy Markdown
Member

/easycla

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

carlosalberto
carlosalberto approved these changes Apr 24, 2023
View reviewed changes
@carlosalberto

carlosalberto commented Apr 24, 2023

Copy link
Copy Markdown
Contributor

@open-telemetry/specs-approvers Please take a look at the latest iteration. This PR has been discussed/standing for a long time now, and would be great to have it adjusted/merged soon.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

alanwest
alanwest reviewed Apr 24, 2023
View reviewed changes
Comment thread specification/metrics/sdk.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

pirgeo
pirgeo approved these changes Apr 25, 2023
View reviewed changes
@asafm asafm mentioned this pull request Apr 27, 2023
PIP-264: Enhanced OTel-based metric system apache/pulsar#20197
Closed
alanwest
alanwest approved these changes May 2, 2023
View reviewed changes
Comment thread specification/metrics/sdk.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

lzchen
lzchen approved these changes May 2, 2023
View reviewed changes
jmacd and others added 3 commits May 4, 2023 12:38
@jmacd @alanwest
Update specification/metrics/sdk.md
1a98c25
Co-authored-by: Alan West <[email protected]>
Joshua MacDonald
Merge branch 'main' of github.com:open-telemetry/opentelemetry-specif…
4aaad07
…ication into jmacd/metrics_limits
Joshua MacDonald
Merge branch 'jmacd/metrics_limits' of github.com:jmacd/opentelemetry…
cee0c74
…-specification into jmacd/metrics_limits
@carlosalberto

carlosalberto commented May 8, 2023

Copy link
Copy Markdown
Contributor

@jmacd Should we include this in the May release?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@carlosalberto

carlosalberto commented May 8, 2023

Copy link
Copy Markdown
Contributor

Talked to @jmacd, we are ready to roll this in. Thanks a lot for the iteration (and patience)!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@carlosalberto
carlosalberto merged commit 1997dd1 into open-telemetry:main May 8, 2023
@reyang reyang mentioned this pull request May 16, 2023
Limit HTTP request method cardinality: original_method (option A) open-telemetry/semantic-conventions#17
Merged
@MrAlias MrAlias mentioned this pull request May 17, 2023
Add cardinality limits to metrics pipelines open-telemetry/opentelemetry-go#4095
Closed
@lzchen lzchen mentioned this pull request May 17, 2023
Implement cardinality limits for metrics streams open-telemetry/opentelemetry-rust#1065
Closed
@lalitb lalitb mentioned this pull request May 17, 2023
[Metrics SDK] Add cardinality limits to metrics pipelines open-telemetry/opentelemetry-cpp#2141
Open
4 tasks
This was referenced May 30, 2023
Add configurable cardinality limits to metrics open-telemetry/opentelemetry-java#5489
Closed
Aggregate overflow measurements into overflow series open-telemetry/opentelemetry-java#5490
Closed
@MrAlias MrAlias mentioned this pull request Jul 20, 2023
How should a gauge overflow data point be aggregated? #3614
Closed
@pichlermarc pichlermarc mentioned this pull request Aug 30, 2023
[sdk-metrics] Implement experimenal cardinality limit specification open-telemetry/opentelemetry-js#4095
Closed
1 task done
@jmacd jmacd mentioned this pull request Sep 11, 2023
TC Review Request: Go Metric SDK open-telemetry/community#1663
Closed
@MrAlias MrAlias mentioned this pull request Sep 11, 2023
Have OTel TC review metric SDK and sign-off on stable release open-telemetry/opentelemetry-go#3674
Closed
33 tasks done
@MrAlias MrAlias mentioned this pull request Dec 6, 2023
Add cardinality limiting to the metric SDK as an experimental feature open-telemetry/opentelemetry-go#4457
Merged
@jmacd jmacd mentioned this pull request Jan 8, 2024
Specify cardinality limiting and attribute filtering interaction #3803
Closed
@utpilla utpilla mentioned this pull request Feb 26, 2024
Stabilize Overflow attribute section under Cardinality Limits #3904
Closed
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
@jmacd
Specify MeterProvider configurable cardinality limits (open-telemetry…
3430633
…#2960)

Fixes open-telemetry#1891.

**EDIT: Updated to specify cardinality limits at the View/Instrument
level with a Reader-level default. Updated to use a hard limit**

## Changes

Adds optional support for a maximum cardinality limit.

The recommended default is 2000, based on this comment by
open-telemetry#1891 (comment)
@jack-berg.

~The Prometheus-WG SIG discussed this on Nov 9, 2022 and reached this
recommended solution to the problem outlined in open-telemetry#1891. The consequence
of exceeding these limits is in line with the current Prometheus server
behavior, which drops targets that misbehave. The discussed was
summarized here:
open-telemetry#1891 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dashpole dashpole dashpole left review comments
@MrAlias MrAlias MrAlias left review comments
@reyang reyang reyang approved these changes
@jack-berg jack-berg jack-berg approved these changes
@carlosalberto carlosalberto carlosalberto approved these changes
@lzchen lzchen lzchen approved these changes
+6 more reviewers
@tylerbenson tylerbenson tylerbenson left review comments
@joaopgrassi joaopgrassi joaopgrassi left review comments
@dpk83 dpk83 dpk83 left review comments
@alanwest alanwest alanwest approved these changes
@MadVikingGod MadVikingGod MadVikingGod approved these changes
@pirgeo pirgeo pirgeo approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

area:configuration Related to configuring the SDK area:sdk Related to the SDK spec:metrics Related to the specification/metrics directory

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Metrics SDK: define standard circuit breakers for uncollected, infinite cardinality recordings

Uh oh!

There was an error while loading. Please reload this page.

17 participants

@jmacd @dashpole @jack-berg @srikanthccv @trask @carlosalberto @tylerbenson @alanwest @MadVikingGod @MrAlias @joaopgrassi @lzchen @reyang @dpk83 @pirgeo @arminru @SergeyKanzhelev
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.