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:
parent
d94143ee13
commit
f8ed8332d6
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user