1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-30 04:40:41 +02:00

Fix review.

This commit is contained in:
dengliming 2020-08-17 00:45:21 +08:00
parent d94143ee13
commit f8ed8332d6
2 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- The environment variable used for resource detection has been changed from `OTEL_RESOURCE_LABELS` to `OTEL_RESOURCE_ATTRIBUTES` (#1042)
- Replace `WithSyncer` with `WithBatcher` in examples. (#1044)
- Replace the `google.golang.org/grpc/codes` dependency in the API with an equivalent `go.opentelemetry.io/otel/codes` package. (#1046)
- Unify Callback Function Naming.
Rename `*Callback` with `*Func`. (#1061)
### Removed

View File

@ -60,7 +60,7 @@ type Int64ObserverResult struct {
function func([]kv.KeyValue, ...Observation)
}
// Float64ObserverResult is passed to an observer callback to captureGetHookFunc
// Float64ObserverResult is passed to an observer callback to capture
// observations for one asynchronous floating point metric instrument.
type Float64ObserverResult struct {
instrument AsyncImpl