[go: up one dir, main page]

Skip to content

Release v1.27.0/v0.49.0/v0.3.0

Latest
Compare
Choose a tag to compare
@MrAlias MrAlias released this 21 May 18:04
· 104 commits to main since this release
v1.27.0
5661ff0

This release includes the first beta release of the OpenTelemetry Logs Bridge API and SDK for Go.

Overview

Added

  • Add example for go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#5242)
  • Add RecordFactory in go.opentelemetry.io/otel/sdk/log/logtest to facilitate testing exporter and processor implementations. (#5258)
  • Add RecordFactory in go.opentelemetry.io/otel/log/logtest to facilitate testing bridge implementations. (#5263)
  • The count of dropped records from the BatchProcessor in go.opentelemetry.io/otel/sdk/log is logged. (#5276)
  • Add metrics in the otel-collector example. (#5283)
  • Add the synchronous gauge instrument to go.opentelemetry.io/otel/metric. (#5304)
    • An int64 or float64 synchronous gauge instrument can now be created from a Meter.
    • All implementations of the API (go.opentelemetry.io/otel/metric/noop, go.opentelemetry.io/otel/sdk/metric) are updated to support this instrument.
  • Add logs to go.opentelemetry.io/otel/example/dice. (#5349)

Changed

  • The Shutdown method of Exporter in go.opentelemetry.io/otel/exporters/stdout/stdouttrace ignores the context cancellation and always returns nil. (#5189)
  • The ForceFlush and Shutdown methods of the exporter returned by New in go.opentelemetry.io/otel/exporters/stdout/stdoutmetric ignore the context cancellation and always return nil. (#5189)
  • Apply the value length limits to Record attributes in go.opentelemetry.io/otel/sdk/log. (#5230)
  • De-duplicate map attributes added to a Record in go.opentelemetry.io/otel/sdk/log. (#5230)
  • go.opentelemetry.io/otel/exporters/stdout/stdoutlog won't print timestamps when WithoutTimestamps option is set. (#5241)
  • The go.opentelemetry.io/otel/exporters/stdout/stdoutlog exporter won't print AttributeValueLengthLimit and AttributeCountLimit fields now, instead it prints the DroppedAttributes field. (#5272)
  • Improved performance in the Stringer implementation of go.opentelemetry.io/otel/baggage.Member by reducing the number of allocations. (#5286)
  • Set the start time for last-value aggregates in go.opentelemetry.io/otel/sdk/metric. (#5305)
  • The Span in go.opentelemetry.io/otel/sdk/trace will record links without span context if either non-empty TraceState or attributes are provided. (#5315)
  • Upgrade all dependencies of go.opentelemetry.io/otel/semconv/v1.24.0 to go.opentelemetry.io/otel/semconv/v1.25.0. (#5374)

Fixed

  • Comparison of unordered maps for go.opentelemetry.io/otel/log.KeyValue and go.opentelemetry.io/otel/log.Value. (#5306)
  • Fix the empty output of go.opentelemetry.io/otel/log.Value in go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#5311)
  • Split the behavior of Recorder in go.opentelemetry.io/otel/log/logtest so it behaves as a LoggerProvider only. (#5365)
  • Fix wrong package name of the error message when parsing endpoint URL in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#5371)
  • Identify the Logger returned from the global LoggerProvider in go.opentelemetry.io/otel/log/global with its schema URL. (#5375)

What's Changed

  • sdk/log/logtest: Add RecordFactory by @pellared in #5258
  • log/logtest: add Record Factory by @dmathieu in #5263
  • stdoutlog: Do not print timestamps when WithoutTimestamps is set by @XSAM in #5241
  • Add example for stdoutlog by @XSAM in #5242
  • Remove context check on stdout exporters by @prasad-shirodkar in #5189
  • Fix flaky test TestBufferExporter/Shutdown/ContextCancelled by @XSAM in #5261
  • Add otlploggrpc exporter skeleton by @XSAM in #5246
  • build(deps): bump lycheeverse/lychee-action from 1.9.3 to 1.10.0 by @dependabot in #5266
  • chore: fix function names in comment by @dockercui in #5262
  • build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.50.0 to 0.51.0 in /example/dice by @dependabot in #5265
  • docs: update variable name in documentation by @codeboten in #5270
  • Use empty resource when RecordFactory.Resource is nil by @MrAlias in #5264
  • Truncate and de-duplicate log attribute values by @MrAlias in #5230
  • Add changelog entry for #5230 by @MrAlias in #5277
  • docs: Add otlploghttp package in exporters README.md by @arukiidou in #5274
  • The stdoutlog exporter prints DroppedAttributes field instead of Limits fields by @XSAM in #5272
  • Test scope and resource transforms in otlploghttp by @MrAlias in #5278
  • Add README template to semconvkit by @MrAlias in #5279
  • Use docker compose in otel collector example by @XSAM in #5244
  • [chore] dependabot updates Sun May 5 15:58:12 UTC 2024 by @opentelemetrybot in #5300
  • build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 by @dependabot in #5296
  • docs: Update Go logs status to alpha in README.md by @arukiidou in #5299
  • docs: Add logs exporters in README.md by @arukiidou in #5298
  • Use reflect to construct a Record in logtest by @MrAlias in #5275
  • Fix type error in float64 instrument documentation by @MrAlias in #5302
  • Fix HistogramConfig documentation by @MrAlias in #5301
  • feat: opt for concatenation instead of using fmt.Sprintf by @moisesvega in #5286
  • Emit attributes slices as their json representation by @dmathieu in #5159
  • Refactor exemplars to not use generic argument by @MrAlias in #5285
  • Upgrade default go verison to 1.22.3 by @XSAM in #5314
  • Log records dropped by the BatchProcessor by @MrAlias in #5276
  • Rename synchronous instrument names in global test by @MrAlias in #5303
  • chore: Configure Renovate by @renovate in #5309
  • chore(deps): update module github.com/golang/groupcache to v0.0.0-20210331224755-41bb18bfe9da by @renovate in #5320
  • chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240506185236-b8a5c65736ae by @renovate in #5321
  • chore(deps): update module gopkg.in/check.v1 to v1.0.0-20201130134442-10cb98267c6c by @renovate in #5326
  • chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240506185236-b8a5c65736ae by @renovate in #5325
  • fix(deps): update module golang.org/x/exp to v0.0.0-20240506185415-9bf2ced13842 by @renovate in #5327
  • chore(deps): update module github.com/prometheus/common to v0.53.0 by @renovate in #5332
  • chore(deps): update module golang.org/x/net to v0.25.0 by @renovate in #5335
  • fix(deps): update module google.golang.org/protobuf to v1.34.1 by @renovate in #5328
  • chore(deps): update module github.com/prometheus/procfs to v0.14.0 by @renovate in #5333
  • chore(deps): update module github.com/cespare/xxhash/v2 to v2.3.0 by @renovate in #5330
  • chore(deps): update module github.com/rogpeppe/go-internal to v1.12.0 by @renovate in #5334
  • fix(deps): update module github.com/golangci/golangci-lint to v1.58.1 by @renovate in #5340
  • Merge Span.AddLink tests by @perhapsmaple in #5115
  • exporters/otlp/otlptrace: fix incorrect documentation by @kevinburkesegment in #5098
  • Generate internal/retry in otlploggrpc by @XSAM in #5313
  • fix(deps): update module github.com/prometheus/client_golang to v1.19.1 by @renovate in #5341
  • chore(deps): update jaegertracing/all-in-one docker tag to v1.57 by @renovate in #5329
  • chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.100.0 by @renovate in #5337
  • chore(deps): update prom/prometheus docker tag to v2.52.0 by @renovate in #5338
  • Move Aneurysm9 to emeritus status by @Aneurysm9 in #5319
  • Test metric aggregate times by @MrAlias in #5323
  • Fix empty log body printed by stdoutlog exporter by @XSAM in #5311
  • Record links with empty span context by @amanakin in #5315
  • Update RELEASING.md to obtain steps to verify the changes for contrib by @XSAM in #5284
  • chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240509183442-62759503f434 by @renovate in #5345
  • chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240509183442-62759503f434 by @renovate in #5344
  • Support Delta & Cumulative temporality for LastValue aggregates by @MrAlias in #5305
  • sdk/log: Document how Processor and Exporter interfaces can be extended by @pellared in #5347
  • Remove dependabot version updates by @XSAM in #5346
  • chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240513163218-0867130af1f8 by @renovate in #5350
  • chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240513163218-0867130af1f8 by @renovate in #5351
  • chore(deps): update module github.com/prometheus/procfs to v0.15.0 by @renovate in #5352
  • chore(deps): update codecov/codecov-action action to v4.4.0 by @renovate in #5353
  • Add logs to dice example by @MrAlias in #5349
  • log: Fix comparison of unordered map values by @dmathieu in #5306
  • fix(deps): update module google.golang.org/grpc to v1.64.0 by @renovate in #5354
  • Fix logger provider var name in dice example by @MrAlias in #5358
  • chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240515191416-fc5f0ca64291 by @renovate in #5362
  • chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240515191416-fc5f0ca64291 by @renovate in #5361
  • chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.20.0 by @renovate in #5363
  • [chore] Fix 2 places in log design doc by @yijiem in #5364
  • [chore] Fix wrong type in DESIGN.md by @pellared in #5368
  • Add the synchronous gauge to the metric API and SDK by @MrAlias in #5304
  • Collector example: add metrics by @XSAM in #5283
  • Fix package prefix of error in otlploghttp by @XSAM in #5371
  • Split log/logtest into a recorder and a logger by @dmathieu in #5365
  • Identify logger with schemaURL in global logger provider by @MrAlias in #5375
  • Update all semconv use to v1.25.0 by @MrAlias in #5374
  • fix(deps): update module github.com/golangci/golangci-lint to v1.58.2 by @renovate in #5382
  • chore(deps): update codecov/codecov-action action to v4.4.1 by @renovate in #5387
  • chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240520151616-dc85e6b867a5 by @renovate in #5388
  • chore(deps): update benchmark-action/github-action-benchmark action to v1.20.3 by @renovate in #5381
  • Fix exported instrument kind const value change by @MrAlias in #5385
  • Release v1.27.0/v0.49.0/v0.3.0 by @MrAlias in #5392

New Contributors

Full Changelog: v1.26.0...v1.27.0