Skip to content

Commit d28f55e

Browse files
bwplotkaGemini
andcommitted
add exception for Exemplar
Co-authored-by: Gemini <gemini-cli-agent@google.com> Signed-off-by: bwplotka <bwplotka@gmail.com>
1 parent 8f08ed6 commit d28f55e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/specs/om/open_metrics_spec_2_0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,9 @@ How ingestors discover which exposers exist, and vice-versa, is out of scope for
11491149

11501150
### Failure Modes
11511151

1152-
This specification advocates for transactional processing: any encoding, decoding or validation errors must reject whole MetricSet ingestion. No scrape is better than inaccurate scrape and partial metric view breaking the transactionality e.g. scraping portion of the StateSet MetricGroup or scraping only one Counter out of two that are used aggregated in a single an alert's expression.
1152+
This specification advocates for transactional processing: any encoding, decoding, or validation errors must reject the whole MetricSet ingestion. A failed scrape is better than an inaccurate scrape or a partial metric view that breaks transactionality (e.g., scraping a portion of a StateSet MetricGroup, or scraping only one Counter out of two that are aggregated in a single alert expression).
1153+
1154+
There's one exception to this rule: failures specific to exemplars should not cause the entire exposition to fail. If an exemplar is malformed or invalid, it should be dropped or ignored, allowing the valid metric data to be ingested.
11531155

11541156
### Extensions and Improvements
11551157

0 commit comments

Comments
 (0)