1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-24 03:47:19 +02:00

2726 Commits

Author SHA1 Message Date
Damien Mathieu
08c8b3224a
log: Fix comparison of unordered map values (#5306) 2024-05-15 12:28:23 +02:00
Tyler Yahn
56bb4cf63e
Add logs to dice example (#5349)
* Add logs to dice example

Use slog to log a message on the server handler.

* Add changelog entry

* Split impl for 1.22 and 1.21
2024-05-14 13:00:49 -07:00
renovate[bot]
e94b07d5fd
chore(deps): update codecov/codecov-action action to v4.4.0 (#5353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-14 12:00:23 -07:00
renovate[bot]
2efd53b3bb
chore(deps): update module github.com/prometheus/procfs to v0.15.0 (#5352)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-14 07:52:33 -07:00
renovate[bot]
74ca4c0d71
chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240513163218-0867130af1f8 (#5351)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 16:18:32 -07:00
renovate[bot]
a38f29bddb
chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240513163218-0867130af1f8 (#5350)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 16:11:30 -07:00
Sam Xie
3d51fa95c6
Remove dependabot version updates (#5346)
* Remove dependabot.yml file to disable version updates from Dependabot

* Remove dbotconf command in makefile

* Remove dbotconf tool

* Remove dependabot in workflows

---------

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-05-13 08:38:02 -07:00
Robert Pająk
7ba796cb39
sdk/log: Document how Processor and Exporter interfaces can be extended (#5347) 2024-05-11 17:21:33 +02:00
Tyler Yahn
69800ee189
Support Delta & Cumulative temporality for LastValue aggregates (#5305)
* Add delta/cumulative/precomputed LastValue agg

* Add cumulative testing

* Add precomputed testing

* Add changelog entry
2024-05-10 07:19:46 -07:00
renovate[bot]
737f88584a
chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240509183442-62759503f434 (#5344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 16:03:59 -07:00
renovate[bot]
3380296393
chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240509183442-62759503f434 (#5345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 15:51:52 -07:00
Sam Xie
5d1e2a5b88
Update RELEASING.md to obtain steps to verify the changes for contrib (#5284)
* Add steps to verify the code changes for contrib

* Update release issue template

* Relace steps with the refernece to contrib

* Update RELEASING.md

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

---------

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-05-09 15:05:56 -07:00
Anton Manakin
c00a51af86
Record links with empty span context (#5315)
* record links with empty span context

* add global trace state

* fix test comments and changelog

---------

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-05-09 13:25:02 -07:00
Sam Xie
9f1de8415e
Fix empty log body printed by stdoutlog exporter (#5311) 2024-05-09 21:41:36 +02:00
Tyler Yahn
9e7d7446c3
Test metric aggregate times (#5323) 2024-05-09 20:11:32 +02:00
Anthony Mirabella
d0068d09e7
Move Aneurysm9 to emeritus status (#5319)
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-05-09 09:29:45 -07:00
renovate[bot]
4e03b7e436
chore(deps): update prom/prometheus docker tag to v2.52.0 (#5338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 18:11:21 +02:00
renovate[bot]
be55f00302
chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.100.0 (#5337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 18:02:32 +02:00
renovate[bot]
31eeb21d1e
chore(deps): update jaegertracing/all-in-one docker tag to v1.57 (#5329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 17:55:58 +02:00
renovate[bot]
d6a3f8ddde
fix(deps): update module github.com/prometheus/client_golang to v1.19.1 (#5341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 14:53:59 +02:00
Sam Xie
498292b836
Generate internal/retry in otlploggrpc (#5313) 2024-05-09 07:46:43 +02:00
Kevin Burke
654ce01171
exporters/otlp/otlptrace: fix incorrect documentation (#5098)
Co-authored-by: Sam Xie <sam@samxie.me>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-05-09 07:38:03 +02:00
Harish
1430e3fcd2
Merge Span.AddLink tests (#5115) 2024-05-09 07:09:30 +02:00
renovate[bot]
a8d4eef2b9
fix(deps): update module github.com/golangci/golangci-lint to v1.58.1 (#5340)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 21:50:13 +02:00
renovate[bot]
c75cfb3ee0
chore(deps): update module github.com/rogpeppe/go-internal to v1.12.0 (#5334)
* chore(deps): update module github.com/rogpeppe/go-internal to v1.12.0

* Auto-fix go.sum changes in dependent modules

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-05-08 12:44:19 -07:00
renovate[bot]
8ac1da0662
chore(deps): update module github.com/cespare/xxhash/v2 to v2.3.0 (#5330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 21:25:30 +02:00
renovate[bot]
abfd7eff4f
chore(deps): update module github.com/prometheus/procfs to v0.14.0 (#5333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 21:21:03 +02:00
renovate[bot]
b0ce56f431
fix(deps): update module google.golang.org/protobuf to v1.34.1 (#5328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 21:14:38 +02:00
renovate[bot]
8ea5ab78e5
chore(deps): update module golang.org/x/net to v0.25.0 (#5335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 21:06:15 +02:00
renovate[bot]
b34a1424c2
chore(deps): update module github.com/prometheus/common to v0.53.0 (#5332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 20:52:21 +02:00
renovate[bot]
b13d084eb9
fix(deps): update module golang.org/x/exp to v0.0.0-20240506185415-9bf2ced13842 (#5327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 20:43:19 +02:00
renovate[bot]
cac5183fab
chore(deps): update module google.golang.org/genproto/googleapis/rpc to v0.0.0-20240506185236-b8a5c65736ae (#5325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 20:36:47 +02:00
renovate[bot]
53779726d2
chore(deps): update module gopkg.in/check.v1 to v1.0.0-20201130134442-10cb98267c6c (#5326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 20:14:34 +02:00
renovate[bot]
aa1c78fddc
chore(deps): update module google.golang.org/genproto/googleapis/api to v0.0.0-20240506185236-b8a5c65736ae (#5321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 09:58:49 -07:00
renovate[bot]
39482b3a7e
chore(deps): update module github.com/golang/groupcache to v0.0.0-20210331224755-41bb18bfe9da (#5320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 09:34:41 -07:00
renovate[bot]
433fb625f8
chore: Configure Renovate (#5309)
* Add renovate.json

* Update renovate.json

* Update renovate.json

Co-authored-by: Sam Xie <sam@samxie.me>

* Update renovate.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Sam Xie <sam@samxie.me>
2024-05-08 09:04:53 -07:00
Tyler Yahn
0fce441edb
Rename sync inst names (#5303) 2024-05-08 08:10:41 -07:00
Tyler Yahn
ae06a80417
Log records dropped by the BatchProcessor (#5276)
* Add dropped count to queue

* Log dropped records

* Add changelog entry

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-05-08 07:42:09 -07:00
Sam Xie
2cf3d64f3e
Upgrade default go verison to 1.22.3 (#5314) 2024-05-08 06:25:24 +02:00
Tyler Yahn
2f662dbe13
Refactor exemplars to not use generic argument (#5285)
* Refactor exemplars to not use generic argument

* Update internal/aggregate

* Update metric SDK

* Test exemplar value type

* Add TestCollectExemplars

* Fix lint

---------

Co-authored-by: Sam Xie <sam@samxie.me>
2024-05-07 08:12:59 -07:00
Damien Mathieu
f8b9fe3dbe
Emit attributes slices as their json representation (#5159)
* emit slices as their json representation

* add changelog

* fix resource tests

* indicate invalid slice if we couldn't turn them into json

* move changelog entry to the unreleased section

---------

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-05-07 07:42:07 -07:00
Moises Vega
0fc35e0e93
feat: opt for concatenation instead of using fmt.Sprintf (#5286)
* feat: opt for concatenation instead of using fmt.Sprintf

* Update Changelog

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Damien Mathieu <damien.mathieu@elastic.co>
2024-05-07 07:19:08 -07:00
Tyler Yahn
f23078e52a
Fix HistogramConfig docs (#5301) 2024-05-06 19:16:41 +02:00
Tyler Yahn
f8840b9a51
Fix type error in float64 instrument docs (#5302) 2024-05-06 19:04:57 +02:00
Tyler Yahn
36bee9356a
Use reflect to construct a Record in logtest (#5275)
* Use reflect to construct Record

* Fix merge

* Fix merge
2024-05-06 09:03:14 -07:00
arukiidou
e0ed6a3028
docs: Add logs exporters in README.md (#5298) 2024-05-06 11:03:12 +02:00
arukiidou
c5807d4dbc
docs: Update logs status to alpha (#5299) 2024-05-06 09:55:20 +02:00
dependabot[bot]
c7b5627ec5
build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 (#5296)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-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-05-05 10:06:08 -07:00
OpenTelemetry Bot
c25eeeadca
dependabot updates Sun May 5 15:58:11 UTC 2024 (#5300)
build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 in /exporters/otlp/otlptrace/otlptracehttp
build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1
build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 in /exporters/otlp/otlptrace
build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 in /exporters/otlp/otlptrace/otlptracegrpc
build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 in /exporters/prometheus
build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 in /sdk
build(deps): bump github.com/golangci/golangci-lint from 1.57.2 to 1.58.0 in /internal/tools
build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 in /exporters/otlp/otlpmetric/otlpmetrichttp
build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 in /exporters/otlp/otlplog/otlploghttp
build(deps): bump github.com/openzipkin/zipkin-go from 0.4.2 to 0.4.3 in /exporters/zipkin
build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0 in /exporters/otlp/otlpmetric/otlpmetricgrpc
2024-05-05 09:16:04 -07:00
Sam Xie
dbfc75817a
Use docker compose in otel collector example (#5244)
* Remove k8s files

* Add docker compose file

* Update endpoint in main.go

* Update README to use docker compose

* Update CHANGELOG

* Add Shutting down section for cleanup steps

* Replace logging exporter with debug exporter

---------

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2024-05-02 07:44:54 -07:00