1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-30 21:20:04 +02:00
Commit Graph

2392 Commits

Author SHA1 Message Date
dependabot[bot]
c2ce8b4477
build(deps): bump google.golang.org/grpc in /bridge/opentracing/test (#4974)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-02-25 08:52:17 -08:00
dependabot[bot]
af928f10c7
build(deps): bump google.golang.org/grpc (#4973)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-02-25 08:45:06 -08:00
dependabot[bot]
6e40355de2
build(deps): bump google.golang.org/grpc from 1.61.1 to 1.62.0 in /exporters/otlp/otlptrace/otlptracegrpc (#4972)
* build(deps): bump google.golang.org/grpc

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Run go mod tidy

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-02-25 08:39:58 -08:00
dependabot[bot]
df903ee603
build(deps): bump google.golang.org/grpc in /example/otel-collector (#4976)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-02-25 08:34:17 -08:00
dependabot[bot]
241826d977
build(deps): bump google.golang.org/grpc (#4977)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-25 08:27:16 -08:00
dependabot[bot]
9cc1e325b2
build(deps): bump google.golang.org/grpc (#4978)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-25 08:07:33 -08:00
Tyler Yahn
08c38ab6f5
Add links to published packages (#4970) 2024-02-25 07:39:05 -08:00
Tyler Yahn
22a4f9cc55
Export internal/global.getLogger (#4969)
* Export getLogger

Refactor the declaration of globalLogger to incorporate the logic of
init() so there is no data race between GetLogger and init being called.

* Use GetLogger in log testing

* Restore logger in batch span processor testing

* Remove unused URL in globalLogger doc
2024-02-25 07:27:44 -08:00
Tyler Yahn
e6e186bfa4
Release v1.24.0/v0.46.0/v0.0.1-alpha (#4966)
* Bump versions

* Prepare stable-v1 for version v1.24.0

* Prepare experimental-metrics for version v0.46.0

* Prepare experimental-logs for version v0.0.1-alpha

* Update changelog

* Fix changelog entry
2024-02-23 08:32:44 -08:00
Tyler Yahn
a5ec3fc14b
Add experimental-logs module set (#4961)
Include the go.opentelemetry.io/otel/log module in the new module set.
Use the version v0.0.1-alpha for the new module. This follows the
go.opentelemetry.io/auto projects use of the alpha suffix to communicate
extra clear the alpha state of the module.
2024-02-23 11:59:03 +01:00
Erica Yin
27e495d6f9
Fix output exponential histogram negative buckets (#4956)
* Fix output exponential histogram buckets

* Update CHANGELOG
2024-02-22 13:51:41 -08:00
Tyler Yahn
8df89f6aff
log: Remove Value.AsAny (#4963) 2024-02-22 20:56:07 +01:00
Tyler Yahn
7cc660fc0f
log: Add allocation tests (#4957) 2024-02-22 20:47:40 +01:00
Tyler Yahn
6ea99afaa0
log: Add benchmark tests (#4958) 2024-02-22 18:15:43 +01:00
Tyler Yahn
7b3382e4dc
log: Implement Value and KeyValue types (#4949)
* Implement `Value` and `KeyValue`

* Add tests for `Value` and `KeyValue`

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-02-21 13:19:41 -08:00
ntriamme
f793a0575d
Fix registration of multiple callbacks when using the global meter provider (#4945) 2024-02-21 08:36:33 +01:00
Robert Pająk
c2fdbcaea8
design: log value accessors must not panic (#4948) 2024-02-21 07:02:08 +01:00
Tyler Yahn
dd3b00f682
Add the log/noop package (#4943)
* Add the `log/noop` package

* Add implementation tests

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-02-20 08:16:07 -08:00
Yi Zeng
3fe7401645
doc: fix godoc for WithEndpointURL and WithEndpoint (#4947) 2024-02-20 08:01:33 +01:00
Tyler Yahn
b62df520ff
Implement the log Record type (#4939) 2024-02-19 14:08:41 +01:00
Tyler Yahn
92a13d5a5e
Fix test name in trace/noop pkg (#4944) 2024-02-19 13:57:30 +01:00
Tyler Yahn
d423033b1f
Test Severity const match OTel spec (#4938)
Resolve #4912
2024-02-19 13:47:24 +01:00
Tyler Yahn
e3e8879eb3
Implement the LoggerConfig and add the LoggerOptions (#4937)
* Implement the LoggerConfig

* Add the LoggerOptions

* Add NewLoggerConfig test
2024-02-18 08:13:42 -08:00
Tyler Yahn
6e2bfb69ed
Rename log List value type to Slice (#4936) 2024-02-18 08:08:28 -08:00
Tyler Yahn
59413575e4
Update otel/log package docs (#4935) 2024-02-18 08:01:24 -08:00
Tyler Yahn
48bb3c8642
Add the log/embedded package (#4932)
* Add the log/embedded package

* Embed the Logger and LoggerProvider types
2024-02-18 07:51:13 -08:00
OpenTelemetry Bot
395800bbd5
dependabot updates Sun Feb 18 15:37:06 UTC 2024 (#4942)
Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 in /exporters/prometheus
2024-02-18 07:42:58 -08:00
Charlie Le
693eb7dbbb
Fix typos in docs and comments (#4940)
Ignoring words that would have renamed

- nam. -> name
- ans -> and
2024-02-17 13:36:41 +01:00
OpenTelemetry Bot
87396747ad
dependabot updates Fri Feb 16 15:32:59 UTC 2024 (#4934)
Bump golang.org/x/tools from 0.17.0 to 0.18.0 in /internal/tools
Bump google.golang.org/grpc from 1.61.0 to 1.61.1 in /exporters/otlp/otlptrace/otlptracegrpc
Bump google.golang.org/grpc from 1.61.0 to 1.61.1 in /exporters/otlp/otlpmetric/otlpmetrichttp
Bump google.golang.org/grpc from 1.61.0 to 1.61.1 in /exporters/otlp/otlptrace/otlptracehttp
Bump google.golang.org/grpc from 1.61.0 to 1.61.1 in /example/otel-collector
Bump google.golang.org/grpc from 1.61.0 to 1.61.1 in /exporters/otlp/otlpmetric/otlpmetricgrpc
Bump google.golang.org/grpc from 1.61.0 to 1.61.1 in /bridge/opentracing/test
Bump codecov/codecov-action from 3.1.5 to 4.0.1
2024-02-16 07:52:57 -08:00
Tyler Yahn
d3dcb3999c
Add initial Logs Bridge API scaffolding (#4907)
* Add go.mod

* Exclude otel/log in versions.yaml

* Add package documentation stub

* Update dependabot config

* Add initial log API scaffolding
2024-02-16 07:09:58 -08:00
Kevin Burke
02b61239cd
internal/global,trace: fix spelling error (#4920)
There is another one in the generated semconv files but I couldn't
find where those were being generated from.

Co-authored-by: Damien Mathieu <damien.mathieu@elastic.co>
2024-02-15 07:30:29 -08:00
Tyler Yahn
e8973b75b2
[docs] Log design fix (#4918)
Add missing return type to String func.
2024-02-13 15:47:56 -08:00
Tyler Yahn
1568559ea8
Link logs RC in project status of README (#4917) 2024-02-13 15:39:09 -08:00
Robert Pająk
cd289eed0d
[chore] Update Project Status for Logs (#4897)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-02-12 10:56:39 -08:00
dependabot[bot]
b423bfdffa
Bump golang.org/x/sys from 0.16.0 to 0.17.0 in /sdk (#4904)
* Bump golang.org/x/sys from 0.16.0 to 0.17.0 in /sdk

Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sys/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Run go mod tidy

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2024-02-12 10:39:55 -08:00
dependabot[bot]
e3c6c4c105
Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp (#4901)
Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.47.0 to 0.48.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.47.0...zpages/v0.48.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-02-12 10:28:33 -08:00
dependabot[bot]
befae90682
Bump golang from 1.21-alpine to 1.22-alpine in /example/zipkin (#4905)
Bumps golang from 1.21-alpine to 1.22-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-02-12 10:23:21 -08:00
dependabot[bot]
9c04afabbf
Bump golang.org/x/vuln from 1.0.3 to 1.0.4 in /internal/tools (#4902)
Bumps [golang.org/x/vuln](https://github.com/golang/vuln) from 1.0.3 to 1.0.4.
- [Commits](https://github.com/golang/vuln/compare/v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: golang.org/x/vuln
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-02-12 10:17:48 -08:00
David Ashpole
ec03021ff0
add exemplar support to the OTLP HTTP and gRPC exporters (#4900) 2024-02-12 07:31:18 -08:00
Robert Pająk
dd5d05472c
sdk/metrics: Move experimental docs to x package (#4895) 2024-02-09 09:15:18 +01:00
Robert Pająk
15b3f4d776
Fix TestWithIDGenerator (#4894) 2024-02-09 09:01:32 +01:00
Robert Pająk
c921815474
log: Add design doc (#4809) 2024-02-09 08:27:38 +01:00
Robert Pająk
cfaf1f08e9
resource: Add testable example (#4887) 2024-02-08 11:51:43 +01:00
Robert Pająk
69b252178e
Support Go 1.22 (#4890) 2024-02-08 09:44:35 +01:00
Tyler Yahn
c5b112f31b
Release v1.23.1/v0.43.2 (#4892)
* Bump versions.yaml

* Prepare stable-v1 for version v1.23.1

* Prepare experimental-metrics for version v0.45.2

* Add changes to changelog
2024-02-07 12:41:47 -08:00
Tyler Yahn
11ebd19c46
Fix callback registration bug (#4888)
* Fix cback reg bug

Register all callbacks not just the last passed.

* Add changelog entry
2024-02-07 11:59:58 -08:00
Tyler Yahn
e3eb3f7538
Release v1.23.0/v0.45.1 (#4885)
* Bump versions.yaml

* Prepare stable-v1 for version v1.23.0

* Prepare experimental-metrics for version v0.45.1

* Update changelog

* Update CHANGELOG.md
2024-02-06 07:50:39 -08:00
Tyler Yahn
eabcef4c2d
Return merged Resource on schema conflict (#4876)
* Return merged Resource on schema conflict

* Add changes to changelog

* Doc returned resource to have no schema URL

* Refactor Merge based on feedback

* Add the schema URLs to the returned error

* Ensure no schema URL when merge conflict on detect

* Replaced isErr with wantErr in TestNew

* Update sdk/resource/auto_test.go

Co-authored-by: Robert Pająk <pellared@hotmail.com>

* Update TestDetect based on feedback

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-02-05 07:33:29 -08:00
dependabot[bot]
2c7761d3b0
Bump benchmark-action/github-action-benchmark from 1.19.2 to 1.19.3 (#4883)
Bumps [benchmark-action/github-action-benchmark](https://github.com/benchmark-action/github-action-benchmark) from 1.19.2 to 1.19.3.
- [Release notes](https://github.com/benchmark-action/github-action-benchmark/releases)
- [Changelog](https://github.com/benchmark-action/github-action-benchmark/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benchmark-action/github-action-benchmark/compare/v1.19.2...v1.19.3)

---
updated-dependencies:
- dependency-name: benchmark-action/github-action-benchmark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 07:24:48 -08:00
dependabot[bot]
f4e1e04316
Bump lycheeverse/lychee-action from 1.9.2 to 1.9.3 (#4882)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.9.2...v1.9.3)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-04 07:39:36 -08:00