1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00
Commit Graph

92 Commits

Author SHA1 Message Date
Sam Xie 09ff8b107a Drop support for Go 1.22 (#6381) 2025-03-05 22:23:10 -08:00
Robert Pająk 2509d780fd [chore] Add OpenSSF Best Practices badge (#6345)
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/6243
2025-02-20 17:03:54 +01:00
Piotr Kiełkowicz 8562bdf7f5 [chore] Use public Linux ARM64 runners (#6320)
Towards https://github.com/open-telemetry/community/issues/2564

Handles
https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/

Switches ARM64 runners to the public version.
2025-02-15 19:59:04 +01:00
Damien Mathieu 44ea53bad8 Add support for Go 1.24 (#6304)
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2025-02-13 10:31:16 +01:00
Tyler Yahn 6894f1b491 Add an OpenSSF badge to README.md (#6269)
Part of #6243
2025-02-06 14:08:13 -08:00
Alex Boten ba628e49e8 docs: update badge link (#6144)
Noticed the badge was showing a failing status even though the CI
appeared to be passing:
![Screenshot 2025-01-09 at 1 22
18 PM](https://github.com/user-attachments/assets/7fc7fbb8-df79-45dd-a3cb-8f78e8848ab1)

I used the "create status badge" functionality to create the badge:

![Screenshot 2025-01-09 at 1 22
31 PM](https://github.com/user-attachments/assets/cffe4664-223c-446a-b146-5b58126bbc17)

Co-authored-by: Damien Mathieu <42@dmathieu.com>
2025-01-10 10:11:30 +01:00
Robert Pająk d7e7da66a9 Deprecate examples and redirect to contrib (#5854)
Towards #5801
2024-10-01 12:59:11 +02:00
Tyler Yahn 023025f17d Drop support for Go 1.21 (#5736)
Co-authored-by: Sam Xie <sam@samxie.me>
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2024-08-25 07:22:05 -07:00
Damien Mathieu 083d03e605 Add support for go 1.23 (#5720)
Go 1.23 was released a few days ago.
https://go.dev/blog/go1.23

This also upgrades golangci-lint (and fixes new issues), since it
appears 1.59 doesn't work nicely with Go 1.23.

---------

Co-authored-by: Sam Xie <sam@samxie.me>
2024-08-21 09:37:56 +02:00
Robert Pająk 4ccb6f2dd0 [chore] Update macOS runners (#5577)
Per
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Now `macos-latest` runs on M1 (ARM). Update the GitHub workflows and
docs accordingly and make sure to test on both ARM and AMD64.
2024-07-06 14:21:11 +02:00
Tyler Yahn 5661ff0ded Release v1.27.0/v0.49.0/v0.3.0 (#5392)
This release includes the first beta release of the OpenTelemetry Logs
Bridge API and SDK for Go.

### 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)
2024-05-21 10:59:36 -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
Damien Mathieu ca5bb1f54c Run compatibility tests on arm64 with actuated (#4994)
* try running compatibility tests on arm64 with actuated

* try nested matrix

* setup vmmeter

* try less cpu and less gb with actuated

* add comment about vmmeter

* Update .github/workflows/ci.yml

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

* Update .github/workflows/ci.yml

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

* Update .github/workflows/ci.yml

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

* Update .github/workflows/ci.yml

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

* Update .github/workflows/ci.yml

* update compatibility matrix

* use linux name for arm builds

* add changelog entry

* add link to actuated doc

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-03-19 07:35:16 -07:00
Tyler Yahn 561714acb2 Drop support for Go 1.20 (#4967)
* Update README.md

* Remove 1.20 support from CI workflows

* Update all go mod

* Add changelog entry

* Update go mod tidy target

* Run go mod tidy

* Replace sliceEqualFunc with slices.EqualFunc

* Replace grow with slices.Grow

* Replace ensureAttributesCapacity with slices.Grow

* Replace conditional with min

* Use slices module for slice comparison in metricdatatest
2024-02-25 10:48:32 -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
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
Robert Pająk 69b252178e Support Go 1.22 (#4890) 2024-02-08 09:44:35 +01:00
Damien Mathieu 237ed3796b Fix link changes from instrumentation to languages (#4828) 2024-01-16 14:06:37 +01:00
Robert Pająk 94a41d7464 logs: Update project status (#4702) 2023-11-10 07:32:30 +01:00
Tyler Yahn 0022098fd2 [chore] Update project status (#4569) 2023-09-29 16:04:23 +02:00
Tyler Yahn 9737995cdb Drop support for Go 1.19 (#4481)
* Drop support for Go 1.19

* Add change to changelog

* Bump all modules to 1.20

* Update exponential_histogram_test.go

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2023-09-07 12:18:29 -05:00
Tyler Yahn 6be116e31e Add testing support for Go 1.21 (#4463)
* Add testing support for Go 1.21

* Add PR number in changelog
2023-08-27 07:18:34 -07:00
Robert Pająk d78820e905 Deprecate exporters/jaeger (#4423)
* Deprecate exporters/jaeger

* Delete jaeger example

* Remove jaeger exporter from docs

* Remove example from docs

* Update CHANGELOG.md

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

* Revert "Delete jaeger example"

This reverts commit 1a2b47bc9a.

* Revert "Remove example from docs"

This reverts commit 682db01075.

* Add nolint comment

* Remove Jaeger from main README

* Deprecate example/jaeger

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Update go.mod

* Update main.go

* fix lint

---------

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
2023-08-15 08:54:50 -07:00
Robert Pająk 85afa3d8fe Fix typo in README.md (#4366) 2023-07-26 13:34:15 +02:00
Robert Pająk b9079960ae [chore] Update Project Status and README formatting (#4146)
* [chore] Update Project Status

* Fornat table

* Update README.md

Co-authored-by: Damien Mathieu <42@dmathieu.com>

---------

Co-authored-by: Damien Mathieu <42@dmathieu.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2023-06-01 07:30:39 -07:00
Serdar Kalaycı 46f2ce5ca6 Marked Metrics as stable (#4129) 2023-05-23 14:08:30 -07:00
Robert Pająk f993fac236 Update metrics project status to beta (#3843) 2023-03-08 07:42:38 -08:00
Tyler Yahn c39e625cdf Drop compatibility testing for Go 1.18 (#3813)
* Drop support for Go 1.18

* Add changes to changelog

* Add PR number
2023-03-01 09:15:39 -08:00
Tyler Yahn a7fb378ad9 Add testing for Go 1.20 (#3693)
* Add testing for Go 1.20

* Update PR number in changelog

* Quote 1.20 in ci.yml
2023-02-08 14:08:57 -08:00
Aaron Clawson b6d4335a72 Removes go1.17, replaces with go1.18 (#3179)
* Removes go1.17, replaces with go1.18

* Update Changelog

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2022-09-19 17:22:40 -07:00
Tyler Yahn d96e8d2912 Update compatibility documentation (#3079)
Remove 3 month timeline for backwards support of old versions of Go.
2022-08-10 10:57:01 -05:00
Tyler Yahn 6d639e9618 Add support for Go 1.19 (#3077)
* Add support for Go 1.19

* Update CHANGELOG.md

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

Co-authored-by: Sam Xie <sam@samxie.me>
2022-08-10 10:45:14 -05:00
Aaron Clawson 7458aa961b Move the minimum version to go 1.17 (#2917)
* Move the minimum version to go 1.17

* Update readme and changelog

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2022-05-25 08:04:56 -07:00
Martin Hickey 0024f7c032 Fix link to the Go otel package (#2726)
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2022-03-25 10:49:48 -07:00
Aaron Clawson 421d6867ee Add Go 1.18 to our supported versions. (#2679)
* Adds go1.18 to tests, moves default version to 1.17

* Added note to readme.

* Update CHANGELOG.md

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

* Update README.md

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

* Move default go version back to 1.16

* Move changelog entry to unreleased section

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
2022-03-18 09:36:16 -07:00
Sam 5bf1f48e80 Remove link to exporters in opentelemetry-go-contrib (#2683) 2022-03-18 09:01:52 -07:00
Tyler Yahn 18d265c57c Update project minimum supported Go version to 1.16 (#2412)
* Update project min supported Go ver to 1.16

* Add changes to changelog

* Make lint fixes
2021-11-23 13:38:27 -08:00
Aaron Clawson 94367b53b4 Add a go version compatibility to the readme. (#2407)
* Add a go version compatibility to the readme.

* Fix lint

* Update README.md

Co-authored-by: Robert Pająk <rpajak@splunk.com>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Robert Pająk <rpajak@splunk.com>
2021-11-22 08:09:42 -08:00
Anthony Mirabella 7461a8d6f5 Add Go 1.17 to testing matrix (#2268)
* Bump minimum Go version to 1.16

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Revert "Bump minimum Go version to 1.16"

This reverts commit bcb390405e.

* Add testing for Go 1.17

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-10-05 13:42:29 -04:00
Tyler Yahn 92551d3933 Prerelease v1.0.0 (#2250)
* Update versions file for 1.0.0 release

* Prepare stable-v1 for version v1.0.0

* Update trace signal status in documentation

* Update changelog

* Update CHANGELOG.md

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

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2021-09-20 13:02:46 -07:00
Tyler Yahn 257ef7fc15 Update project status in README (#2017) 2021-06-18 08:55:09 -07:00
Tyler Yahn 3be9813d56 Deprecate the exporters in the "trace" and "metric" sub-directories (#1993)
* Rename exporters/metric/prometheus

* Rename exporters/trace/jaeger

* Rename exporters/trace/zipkin

* Fix dependabot config and make test

* Update README docs

* Deprecate exporters instead of remove them

* Update dependabot with old modules

* Run crosslink

* Add lint override for known deprecated pkg

* Update PR number
2021-06-12 11:39:22 -07:00
Karen Xu b1621501eb Add codecov badge (#1940)
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-05-24 09:27:43 -07:00
Gábor Lipták d20e722830 CI builds validate against last two versions of Go, dropping 1.14 and adding 1.16 (#1865)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-05-06 17:14:11 -04:00
Tyler Yahn f90d0d93f8 Update README (#1876)
Include a more descriptive explanation of what this project is hoping to
achieve.

Add information about each Signal's status.
2021-05-03 11:42:32 -07:00
Tyler Yahn ca130e54e8 Markdownlint (#1842) 2021-04-26 08:42:41 -07:00
Tyler Yahn e25503a00e Add compatibility tests to CI (#1567)
* Add compatibility tests to CI

* Increase timeout to 60s

Some of the aggregator tests are running just over 30 seconds when
testing on Windows. Bump this to allow for it.

* Remove cache setup jobs

Having a unified job setup the cache when none exists so packages are
only downloaded once is ideal, but these steps are taking too long. In
some situations they are doubling the run time. Remove them and prefer
to have multiple downloads when dependencies change.

* Add changes to changelog

* Remove mod-download target from Makefile

Unused now that the cache jobs are removed.

* Add compatibility testing table to changelog

* Add change about precommit to changelog

* Update README

* Correct examples target in lint job
2021-03-01 08:38:23 -08:00
Tyler Yahn 78c06cef35 Update docs from gitter to slack for communication (#1554)
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-02-22 08:38:12 -08:00