Skip to content

Commit 78f9640

Browse files
committed
Merge branch 'main' into otelglobal_collect_user_tracer_name
2 parents 1b6c3fa + 28b663b commit 78f9640

File tree

103 files changed

+1647
-914
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+1647
-914
lines changed

.codespellignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mmaped
2+
ect

.codespellrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# https://github.com/codespell-project/codespell
2+
[codespell]
3+
builtin = clear,rare,informal
4+
check-filenames =
5+
check-hidden =
6+
ignore-words = .codespellignore
7+
interactive = 1
8+
skip = .git,go.mod,go.sum,CHANGELOG.md,LICENSES,venv,./internal/include/libbpf
9+
uri-ignore-words-list = *
10+
write =

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,12 @@ updates:
217217
schedule:
218218
interval: weekly
219219
day: sunday
220+
- package-ecosystem: pip
221+
directory: /
222+
labels:
223+
- dependencies
224+
- python
225+
- Skip Changelog
226+
schedule:
227+
interval: weekly
228+
day: sunday

.github/workflows/codespell.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: codespell
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
jobs:
8+
codespell:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Repo
12+
uses: actions/checkout@v4
13+
- name: Codespell
14+
run: make codespell

.github/workflows/e2e/k8s/sample-job.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
- name: auto-instrumentation
2727
image: otel-go-instrumentation
2828
imagePullPolicy: IfNotPresent
29-
command: ["/otel-go-instrumentation", "-global-impl"]
29+
command: ["/otel-go-instrumentation", "-global-impl", "-log-level=debug"]
3030
env:
3131
- name: OTEL_GO_AUTO_TARGET_EXE
3232
value: /sample-app/main

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
- uses: actions/checkout@v4
1616

1717
- name: Log in to Docker Hub
18-
uses: docker/login-action@v3.1.0
18+
uses: docker/login-action@v3.2.0
1919
with:
2020
username: ${{ secrets.DOCKER_USERNAME }}
2121
password: ${{ secrets.DOCKER_PASSWORD }}
2222

2323
- name: Log in to the Container registry
24-
uses: docker/login-action@v3.1.0
24+
uses: docker/login-action@v3.2.0
2525
with:
2626
registry: ghcr.io
2727
username: ${{ github.repository_owner }}
@@ -42,7 +42,7 @@ jobs:
4242
ghcr.io/${{ github.repository }}/${{ env.IMAGE_NAME }}
4343
4444
- name: Build and push
45-
uses: docker/build-push-action@v5.3.0
45+
uses: docker/build-push-action@v6.2.0
4646
with:
4747
push: true
4848
tags: ${{ steps.meta.outputs.tags }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
# VSCode
2525
.vscode/
2626

27+
# Installed by `make codespell`
28+
venv/
29+
2730
otel-go-instrumentation
2831
launcher/
2932
opentelemetry-helm-charts/

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ linters-settings:
107107
- name: constant-logical-expr
108108
disabled: false
109109
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#context-as-argument
110-
# TODO (#3372) reenable linter when it is compatible. https://github.com/golangci/golangci-lint/issues/3280
110+
# TODO (#3372) re-enable linter when it is compatible. https://github.com/golangci/golangci-lint/issues/3280
111111
- name: context-as-argument
112112
disabled: true
113113
arguments:

CHANGELOG.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,29 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http
1010

1111
### Added
1212

13-
- kafka-go instrumentation ([#709](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/709))
13+
- Initial support for `trace-flags`. ([#868](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/868))
14+
- Support `google.golang.org/grpc` `1.66.0-dev`. ([#872](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/872))
15+
- Add support to log level through command line flag. ([#842](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/842))
16+
- The `WithLogLevel` function and `LogLevel` type are added to set the log level for `Instrumentation`. ([#842](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/842))
17+
- Add telemetry distro name & version resource attributes. ([#897](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/897))
18+
- Support `google.golang.org/grpc` `1.65.0`. ([#904](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/904))
19+
- Support Go `v1.21.12`. ([#905](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/905))
20+
- Support Go `v1.22.5`. ([#905](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/905))
21+
- Support `go.opentelemetry.io/[email protected]`. ([#904](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/904))
22+
- Support `google.golang.org/grpc` `1.63.3`. ([#916](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/916))
23+
- Support `google.golang.org/grpc` `1.64.1`. ([#916](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/916))
24+
- Support `golang.org/x/net` `v0.27.0`. ([#917](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/917))
25+
26+
### Fixed
27+
28+
- HTTP client: Use Host field in URL if the Request Host is not present. ([#888](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/888))
29+
- Add make target 'codespell'. ([#863](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/863))
30+
31+
## [v0.13.0-alpha] - 2024-06-04
32+
33+
### Added
34+
35+
- `github.com/segmentio/kafka-go` instrumentation. ([#709](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/709))
1436
- Support `go.opentelemetry.io/[email protected]`. ([#796](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/796))
1537
- Support HTTP server path template added in Go version 1.22.
1638
- The `http.route` attribute is included and the span name updated to use this information. ([#740](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/740))
@@ -22,15 +44,19 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http
2244
- `WithLoadedIndicator` `InstrumentationOption` to configure an Instrumentation to notify the caller once all the eBPF probes are loaded. ([#848](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/848))
2345
- Add env var equivalent to the WithGlobal InstrumentationOption. ([#849](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/849))
2446
- Support `go.opentelemetry.io/[email protected]`. ([#850](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/850))
47+
- Support `golang.org/x/net` v0.26.0. ([#871](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/871))
48+
- Support Go `v1.21.11`. ([#871](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/871))
49+
- Support Go `v1.22.4`. ([#871](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/871))
2550

2651
### Fixed
2752

28-
- Change HTTP client span name to `{http.request.method}` ([#775](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/775))
53+
- Change HTTP client span name to `{http.request.method}`. ([#775](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/775))
2954
- Don't set empty URL path in HTTP client probe. ([#810](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/810))
3055
- Don't fail HTTP client probe attribute resolution on empty URL path. ([#810](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/810))
3156
- Extract `process.runtime.version` and `process.runtime.name` from instrumented process. ([#811](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/811))
3257
- Support Go versions from apps defining GOEXPERIMENT. ([#813](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/813))
3358
- Update `net/http` instrumentation to comply with semantic conventions v1.25.0. ([#790](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/790))
59+
- Update existing 3rd party licenses. ([#864](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/864))
3460

3561
## [v0.12.0-alpha] - 2024-04-10
3662

@@ -337,7 +363,8 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http
337363

338364
This is the first release of OpenTelemetry Go Automatic Instrumentation.
339365

340-
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/compare/v0.12.0-alpha...HEAD
366+
[Unreleased]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/compare/v0.13.0-alpha...HEAD
367+
[v0.13.0-alpha]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.13.0-alpha
341368
[v0.12.0-alpha]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.12.0-alpha
342369
[v0.11.0-alpha]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.11.0-alpha
343370
[v0.10.1-alpha]: https://github.com/open-telemetry/opentelemetry-go-instrumentation/releases/tag/v0.10.1-alpha

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ git commit
8585
git push <YOUR_FORK> <YOUR_BRANCH_NAME>
8686
```
8787

88+
Additionally, there is a `codespell` target that checks for common
89+
typos in the code. It is not run by default, but you can run it
90+
manually with `make codespell`. It will set up a virtual environment
91+
in `venv` and install `codespell` there.
92+
8893
Open a pull request against the main `opentelemetry-go-instrumentation` repo. Be sure to add the pull
8994
request ID to the entry you added to `CHANGELOG.md`.
9095

0 commit comments

Comments
 (0)