Skip to content

Commit

Permalink
Fix package prefix of error in otlploghttp (#5371)
Browse files Browse the repository at this point in the history
  • Loading branch information
XSAM committed May 17, 2024
1 parent 76c0610 commit 0d1e77c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

- Fix the empty output of `go.opentelemetry.io/otel/log.Value` in `go.opentelemetry.io/otel/exporters/stdout/stdoutlog`. (#5311)
- Comparison of unordered maps in `go.opentelemetry.io/otel/log.KeyValue` and `go.opentelemetry.io/otel/log.Value`. (#5306)
- Fix wrong package name of the error message when parsing endpoint URL in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp`. (#5371)

## [1.26.0/0.48.0/0.2.0-alpha] 2024-04-24

Expand Down
2 changes: 1 addition & 1 deletion exporters/otlp/otlplog/otlploghttp/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func WithEndpoint(endpoint string) Option {
func WithEndpointURL(rawURL string) Option {
u, err := url.Parse(rawURL)
if err != nil {
global.Error(err, "otlpmetric: parse endpoint url", "url", rawURL)
global.Error(err, "otlplog: parse endpoint url", "url", rawURL)
return fnOpt(func(c config) config { return c })
}
return fnOpt(func(c config) config {
Expand Down

0 comments on commit 0d1e77c

Please sign in to comment.