1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-26 21:05:00 +02:00
opentelemetry-go/metric
David Ashpole bc2fe88756
Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883)
### Added

- Add `go.opentelemetry.io/otel/sdk/metric/exemplar` package which
includes `Exemplar`, `Filter`, `TraceBasedFilter`, `AlwaysOnFilter`,
`HistogramReservoir`, `FixedSizeReservoir`, `Reservoir`, `Value` and
`ValueType` types. These will be used for configuring the exemplar
reservoir for the metrics sdk. (#5747, #5862)
- Add `WithExportBufferSize` option to log batch processor.(#5877)

### Changed

- Enable exemplars by default in `go.opentelemetry.io/otel/sdk/metric`.
Exemplars can be disabled by setting
`OTEL_METRICS_EXEMPLAR_FILTER=always_off` (#5778)
- `Logger.Enabled` in `go.opentelemetry.io/otel/log` now accepts a newly
introduced `EnabledParameters` type instead of `Record`. (#5791)
- `FilterProcessor.Enabled` in
`go.opentelemetry.io/otel/sdk/log/internal/x` now accepts
`EnabledParameters` instead of `Record`. (#5791)
- The `Record` type in `go.opentelemetry.io/otel/log` is no longer
comparable. (#5847)
- Performance improvements for the trace SDK `SetAttributes` method in
`Span`. (#5864)
- Reduce memory allocations for the `Event` and `Link` lists in `Span`.
(#5858)
- Performance improvements for the trace SDK `AddEvent`, `AddLink`,
`RecordError` and `End` methods in `Span`. (#5874)

### Deprecated

- Deprecate all examples under `go.opentelemetry.io/otel/example` as
they are moved to [Contrib
repository](https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/examples).
(#5854)

### Fixed

- The race condition for multiple `FixedSize` exemplar reservoirs
identified in #5814 is resolved. (#5819)
- Fix log records duplication in case of heterogeneous resource
attributes by correctly mapping each log record to it's resource and
scope. (#5803)
- Fix timer channel drain to avoid hanging on Go 1.23. (#5868)
- Fix delegation for global meter providers, and panic when calling
otel.SetMeterProvider. (#5827)
- Change the `reflect.TypeOf` to use a nil pointer to not allocate on
the heap unless necessary. (#5827)
2024-10-11 12:59:27 -04:00
..
embedded Add the synchronous gauge to the metric API and SDK (#5304) 2024-05-16 09:56:40 -07:00
noop [chore]: enable expected-actual rule from testifylint (#5848) 2024-09-26 12:04:33 +02:00
asyncfloat64_test.go [chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
asyncfloat64.go Fix typos (#5763) 2024-09-09 08:53:15 +02:00
asyncint64_test.go [chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
asyncint64.go Fix typos (#5763) 2024-09-09 08:53:15 +02:00
config_test.go [chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
config.go [chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
doc.go Document instrument name requirements (#5435) 2024-05-30 13:59:58 -07:00
example_test.go Add example for synchronous gauge (#5492) 2024-06-24 07:37:40 -07:00
go.mod Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883) 2024-10-11 12:59:27 -04:00
go.sum fix(deps): update module github.com/go-logr/logr to v1.4.2 (#5393) 2024-05-21 13:58:14 -07:00
instrument_test.go [chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
instrument.go doc(metric): fix incorrect explanation of how metric.WithAttributes works (#5822) 2024-09-16 09:09:28 +02:00
meter.go Fix interfaces doc formatting (#5658) 2024-08-05 21:14:00 +02:00
README.md Add READMEs to every package (#5103) 2024-03-26 20:13:54 +01:00
syncfloat64_test.go Add the synchronous gauge to the metric API and SDK (#5304) 2024-05-16 09:56:40 -07:00
syncfloat64.go Add the synchronous gauge to the metric API and SDK (#5304) 2024-05-16 09:56:40 -07:00
syncint64_test.go Add the synchronous gauge to the metric API and SDK (#5304) 2024-05-16 09:56:40 -07:00
syncint64.go Add the synchronous gauge to the metric API and SDK (#5304) 2024-05-16 09:56:40 -07:00

Metric API

PkgGoDev