From fdf9fb407a4e36236ebc61f1e26bab912f0b0591 Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Wed, 10 Aug 2022 21:27:45 +0000 Subject: [PATCH] fix lint --- specification/compatibility/opencensus.md | 4 ++-- specification/metrics/sdk.md | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/specification/compatibility/opencensus.md b/specification/compatibility/opencensus.md index 6808e151140..5efeaee56a3 100644 --- a/specification/compatibility/opencensus.md +++ b/specification/compatibility/opencensus.md @@ -207,7 +207,7 @@ metric exporters. #### Known Incompatibilities -* OpenTelemetry does not suport OpenCensus' GaugeHistogram type; these metrics +* OpenTelemetry does not support OpenCensus' GaugeHistogram type; these metrics MUST be dropped when using the bridge. ## Semantic Convention Mappings @@ -230,4 +230,4 @@ OpenCensus specifies the following [HTTP Attributes](https://github.com/census-i | `http.status_code` | `http.status_code` | | | `http.url` | `http.url` | | | `http.path` | `http.target` | key-name change only | -| `http.route` | N/A | Pass through ok | \ No newline at end of file +| `http.route` | N/A | Pass through ok | diff --git a/specification/metrics/sdk.md b/specification/metrics/sdk.md index 88475130715..c5645d88cfc 100644 --- a/specification/metrics/sdk.md +++ b/specification/metrics/sdk.md @@ -47,6 +47,9 @@ linkTitle: SDK - [ForceFlush()](#forceflush) - [Shutdown()](#shutdown) * [Pull Metric Exporter](#pull-metric-exporter) +- [MetricProducer](#metricproducer) + * [Interface Definition](#interface-definition-1) + + [Produce() batch](#produce-batch) - [Defaults and configuration](#defaults-and-configuration) - [Numerical limits handling](#numerical-limits-handling) - [Compatibility requirements](#compatibility-requirements) @@ -1113,11 +1116,11 @@ in-memory state MAY implement the `MetricProducer` interface for convenience. +-----------------------------+ ``` -#### Interface Definition +### Interface Definition A `MetricProducer` MUST support the following functions: -##### Produce() batch +#### Produce() batch `Produce` SHOULD provide a way to let the caller know whether it succeeded, failed or timed out. When the `Produce` operation fails, the `MetricProducer`