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 LoggerOption
s ( #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
Michał Posłuszny
569854e1d1
sdk/metric/metricdata: Add MarshalJSON for Extrema ( #4827 )
...
* json marshal for Extrema type, makefile typo fix
* MarshalText implementation, cleanup
* update changelog
* changelog fix
* Update CHANGELOG.md
* MarshalText behavior update on invalid Extrema
* Fix Marshal outputs json text representation of nil
* Updated mockData to include example with Min and Max values.
* null value test, changelog fix
---------
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
2024-02-01 09:58:42 -08:00
Tyler Yahn
242d23a181
Remove the Flush method from Exemplar ( #4873 )
...
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-01-31 14:07:40 -08:00
Tyler Yahn
fecb92e366
Add the experimental exemplar feature ( #4871 )
...
* Add the experimental exemplar feature
* Add exemplars to EXPERIMENTAL.md
* Add changelog entry
* Fix hist buckets > 1 detection
* Collect instead of Flush res about to be deleted
* Add e2e test
* Do not pre-alloc ResourceMetrics
This only has a single use.
* Fix grammatical error in comment
* Add test cases
Default and invalid OTEL_METRICS_EXEMPLAR_FILTER.
Test sampled and non-sampled context for trace_based.
* Comment nCPU
* Doc OTEL_METRICS_EXEMPLAR_FILTER
2024-01-31 13:15:35 -08:00
Robert Pająk
d9d9507227
stdouttrace: Refine example ( #4872 )
2024-01-31 16:10:28 +01:00
Robert Pająk
bf1ae8cb04
[chore] Fix changelog entry for #4754 ( #4874 )
2024-01-31 09:17:42 +01:00
Leo Xie
8d3ae4c5ed
fix: Fix stdouttrace/example_test to make the trace_id same. ( #4855 )
...
* fix: Fix stdouttrace/example_test to make the trace_id same.
* fix: restore Example
---------
Co-authored-by: Damien Mathieu <damien.mathieu@elastic.co>
2024-01-30 09:19:23 -08:00
Tyler Yahn
e7de5715ab
Add the Histogram Reservoir impl ( #4870 )
...
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2024-01-30 07:46:21 -08:00
dependabot[bot]
e6e4c95d88
Bump benchmark-action/github-action-benchmark from 1.18.0 to 1.19.2 ( #4865 )
...
Bumps [benchmark-action/github-action-benchmark](https://github.com/benchmark-action/github-action-benchmark ) from 1.18.0 to 1.19.2.
- [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.18.0...v1.19.2 )
---
updated-dependencies:
- dependency-name: benchmark-action/github-action-benchmark
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-01-29 08:13:15 -08:00
Tyler Yahn
dcfec0c2fa
Add the random fixed size exemplar reservoir ( #4852 )
...
* Add the random fixed size exemplar reservoir
* Rename fixed.go to storage.go
* Update sdk/metric/internal/exemplar/rand.go
Co-authored-by: David Ashpole <dashpole@google.com>
* Remove stale ref to spec recommendation
* Add comments to clarify the reset/advance/Collect methods
* Apply comment from feedback
* Add random func to gen rand float64 on (0,1)
* Use random in TestFixedSizeSamplingCorrectness
* Add clarifying algorithm comments
Include a high-level overview of the algorithm implemented and clarify
parameter names to be consistent.
* Fix duplicate word
* Update sdk/metric/internal/exemplar/rand.go
* Comment TestFixedSizeSamplingCorrectness
* Update test delta
* Test collect less than cap
* Remove measurement.Valid method
---------
Co-authored-by: David Ashpole <dashpole@google.com>
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2024-01-29 07:26:30 -08:00
dependabot[bot]
ce3faf1488
Bump lycheeverse/lychee-action from 1.9.1 to 1.9.2 ( #4864 )
...
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action ) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases )
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.9.1...v1.9.2 )
---
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-01-29 00:40:31 +01:00
dependabot[bot]
3da38d36d4
Bump peter-evans/create-issue-from-file from 4 to 5 ( #4867 )
...
Bumps [peter-evans/create-issue-from-file](https://github.com/peter-evans/create-issue-from-file ) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-issue-from-file/releases )
- [Commits](https://github.com/peter-evans/create-issue-from-file/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: peter-evans/create-issue-from-file
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 00:33:24 +01:00
OpenTelemetry Bot
402998f032
dependabot updates Sun Jan 28 22:42:16 UTC 2024 ( #4869 )
...
Bump google.golang.org/grpc from 1.60.1 to 1.61.0 in /exporters/otlp/otlptrace/otlptracegrpc
Bump peter-evans/create-issue-from-file from 4 to 5
Bump benchmark-action/github-action-benchmark from 1.18.0 to 1.19.2
Bump lycheeverse/lychee-action from 1.9.1 to 1.9.2
Bump google.golang.org/grpc from 1.60.1 to 1.61.0 in /bridge/opentracing/test
Bump google.golang.org/grpc from 1.60.1 to 1.61.0 in /exporters/otlp/otlpmetric/otlpmetricgrpc
Bump google.golang.org/grpc from 1.60.1 to 1.61.0 in /exporters/otlp/otlpmetric/otlpmetrichttp
Bump golang.org/x/vuln from 1.0.1 to 1.0.3 in /internal/tools
Bump google.golang.org/grpc from 1.60.1 to 1.61.0 in /exporters/otlp/otlptrace/otlptracehttp
Bump google.golang.org/grpc from 1.60.1 to 1.61.0 in /example/otel-collector
2024-01-28 23:51:19 +01:00
dependabot[bot]
200b2cf43a
Bump codecov/codecov-action from 3.1.4 to 3.1.5 ( #4866 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.4 to 3.1.5.
- [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/v3.1.4...v3.1.5 )
---
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-01-28 10:25:07 -08:00