Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excessive memory usage #3565

Closed
4 tasks done
andig opened this issue Feb 5, 2023 · 14 comments · Fixed by upbound/build#226
Closed
4 tasks done

Excessive memory usage #3565

andig opened this issue Feb 5, 2023 · 14 comments · Fixed by upbound/build#226
Labels
duplicate This issue or pull request already exists

Comments

@andig
Copy link

andig commented Feb 5, 2023

Welcome

  • Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, etc.).
  • Yes, I've tried with the standalone linter if available (e.g., gocritic, go vet, etc.). (https://golangci-lint.run/usage/linters/)

Description of the problem

After upgrading to Go1.20 and linter 1.51 I'm no longer able to complete linting:

golangci-lint run -v
INFO [config_reader] Config search paths: [./ /Users/andig/htdocs/evcc /Users/andig/htdocs /Users/andig /Users /]
INFO [config_reader] Used config file .golangci.yml
INFO [lintersdb] Active 7 linters: [errcheck gosimple govet ineffassign staticcheck typecheck unused]
INFO [loader] Go packages loading at mode 575 (deps|exports_file|types_sizes|compiled_files|imports|name|files) took 1.386105083s
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 27.571125ms
INFO Memory: 251 samples, avg is 37174.6MB, max is 58915.1MB
INFO Execution took 1m0.028549834s
^C

at this point the whole machine (M1 mac, 16GB) comes to a screeching halt.

Version of golangci-lint

$ golangci-lint --version
golangci-lint has version 1.51.0 built from 6d3f06c on 2023-02-02T08:18:45Z

Configuration file

$ cat .golangci.yml
run:
  go: 1.18
issues:
  exclude:
    - .regActualCurrent. is unused
    - "`routeLogger` is unused"
linters-settings:
  staticcheck:
    checks:
      - "-SA1019"

Go environment

$ go version && go env
go version go1.20 darwin/arm64
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/andig/Library/Caches/go-build"
GOENV="/Users/andig/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/andig/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/andig/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.20"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/andig/htdocs/evcc/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/sv/rs_453y57xj86xsbz3kw1mbc0000gn/T/go-build3753112973=/tmp/go-build -gno-record-gcc-switches -fno-common"

Verbose output of running

$ golangci-lint cache clean
$ golangci-lint run -v
golangci-lint run -v
INFO [config_reader] Config search paths: [./ /Users/andig/htdocs/evcc /Users/andig/htdocs /Users/andig /Users /]
INFO [config_reader] Used config file .golangci.yml
INFO [lintersdb] Active 7 linters: [errcheck gosimple govet ineffassign staticcheck typecheck unused]
INFO [loader] Go packages loading at mode 575 (compiled_files|files|name|deps|exports_file|imports|types_sizes) took 831.370125ms
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 21.327125ms
^C

Killed at 4GB memory and 200% cpu.

Code example or link to a public repository

https://github.com/evcc-io/evcc

@andig andig added the bug Something isn't working label Feb 5, 2023
@ldez
Copy link
Member

ldez commented Feb 5, 2023

duplicate of #3549, #3538, #3536, #3535, #3533, #3470

The problem has been fixed in #3414.

  • golangci-lint <=v1.50.x is not compatible with go1.20.
  • The latest release of golangci-lint (v1.51.0) is the first release compatible with go1.20.

https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md#v1510

@ldez ldez closed this as completed Feb 5, 2023
@ldez ldez added duplicate This issue or pull request already exists and removed bug Something isn't working labels Feb 5, 2023
@andig
Copy link
Author

andig commented Feb 5, 2023

Sorry for the confusion, I am using version 1.51.0 as per details. It seems this is not a duplicate then?

@ldez
Copy link
Member

ldez commented Feb 5, 2023

$ go version          
go version go1.20 linux/amd64

$ golangci-lint version
golangci-lint has version 1.51.0 built from 6d3f06c5 on 2023-02-02T08:24:52Z

$ git clone [email protected]:evcc-io/evcc.git evcc && cd $_
...

$ golangci-lint cache clean

$ golangci-lint run -v       
INFO [config_reader] Config search paths: [./ /home/ldez/sources/experimental/evcc /home/ldez/sources/experimental /home/ldez/sources /home/ldez /home /] 
INFO [config_reader] Used config file .golangci.yml 
INFO [lintersdb] Active 7 linters: [errcheck gosimple govet ineffassign staticcheck typecheck unused] 
INFO [loader] Go packages loading at mode 575 (name|compiled_files|deps|files|types_sizes|exports_file|imports) took 320.049483ms 
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 38.23558ms 
INFO [linters_context/goanalysis] analyzers took 1m1.054935949s with top 10 stages: buildir: 40.328156037s, inspect: 2.896264267s, ctrlflow: 2.107380322s, printf: 1.783565866s, fact_purity: 773.152743ms, S1038: 675.543781ms, unused: 541.874587ms, S1024: 476.395442ms, S1030: 449.174985ms, S1008: 417.409461ms 
INFO [runner] Issues before processing: 116, after processing: 1 
INFO [runner] Processors filtering stat (out/in): cgo: 116/116, skip_files: 116/116, diff: 1/1, max_same_issues: 1/1, max_from_linter: 1/1, path_shortener: 1/1, sort_results: 1/1, skip_dirs: 116/116, exclude: 116/116, exclude-rules: 72/116, nolint: 72/72, uniq_by_line: 1/72, filename_unadjuster: 116/116, path_prettifier: 116/116, max_per_file_from_linter: 1/1, path_prefixer: 1/1, autogenerated_exclude: 116/116, identifier_marker: 116/116, source_code: 1/1, severity-rules: 1/1 
INFO [runner] processing took 2.728608ms with stages: identifier_marker: 1.029294ms, exclude-rules: 734.889µs, autogenerated_exclude: 213.603µs, exclude: 203.516µs, path_prettifier: 187.569µs, nolint: 105.593µs, cgo: 85.412µs, filename_unadjuster: 78.808µs, skip_dirs: 74.649µs, source_code: 7.846µs, uniq_by_line: 3.485µs, max_same_issues: 1.112µs, max_from_linter: 829ns, path_shortener: 473ns, max_per_file_from_linter: 385ns, path_prefixer: 354ns, skip_files: 326ns, severity-rules: 179ns, diff: 171ns, sort_results: 115ns 
INFO [runner] linters took 6.178852115s with stages: goanalysis_metalinter: 6.176058127s 
main.go:17:13: pattern dist: no matching files found (typecheck)
        //go:embed dist
                   ^
INFO File cache stats: 1 entries of total size 890B 
INFO Memory: 67 samples, avg is 1111.6MB, max is 1666.8MB 

$ mkdir dist
$ touch dist/index.html

$ golangci-lint run -v     
INFO [config_reader] Config search paths: [./ /home/ldez/sources/experimental/evcc /home/ldez/sources/experimental /home/ldez/sources /home/ldez /home /] 
INFO [config_reader] Used config file .golangci.yml 
INFO [lintersdb] Active 7 linters: [errcheck gosimple govet ineffassign staticcheck typecheck unused] 
INFO [loader] Go packages loading at mode 575 (files|types_sizes|compiled_files|deps|exports_file|imports|name) took 329.812931ms 
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 21.408724ms 
INFO [linters_context/goanalysis] analyzers took 54.774375625s with top 10 stages: buildir: 40.636463052s, inspect: 2.480616779s, printf: 2.001792741s, ctrlflow: 1.502843941s, fact_purity: 752.635163ms, S1038: 733.039984ms, unused: 494.025352ms, directives: 291.463993ms, S1028: 266.694273ms, errcheck: 240.13514ms 
INFO [runner] Issues before processing: 44, after processing: 0 
INFO [runner] Processors filtering stat (out/in): identifier_marker: 44/44, exclude: 44/44, path_prettifier: 44/44, autogenerated_exclude: 44/44, cgo: 44/44, skip_dirs: 44/44, filename_unadjuster: 44/44, skip_files: 44/44, exclude-rules: 0/44 
INFO [runner] processing took 972.174µs with stages: identifier_marker: 351.926µs, autogenerated_exclude: 213.084µs, path_prettifier: 204.71µs, skip_dirs: 81.345µs, exclude: 72.157µs, exclude-rules: 40.736µs, cgo: 3.686µs, filename_unadjuster: 1.66µs, nolint: 542ns, max_same_issues: 454ns, uniq_by_line: 348ns, source_code: 276ns, skip_files: 261ns, diff: 253ns, max_from_linter: 208ns, severity-rules: 167ns, path_shortener: 112ns, sort_results: 101ns, max_per_file_from_linter: 76ns, path_prefixer: 72ns 
INFO [runner] linters took 6.367620971s with stages: goanalysis_metalinter: 6.366606738s 
INFO File cache stats: 0 entries of total size 0B 
INFO Memory: 69 samples, avg is 1159.3MB, max is 1765.7MB 
INFO Execution took 6.722841949s

@andig
Copy link
Author

andig commented Feb 5, 2023

If you want to follow through you'll need to

npm ci
make ui

to populate dist

@ldez
Copy link
Member

ldez commented Feb 5, 2023

$ rm -rf dist  
$ npm ci
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead

added 515 packages, and audited 516 packages in 6s

103 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

$ make ui
npm run build

> build
> vite build

vite v3.2.5 building for production...
transforming (296) css/app.css[@vue/compiler-sfc] ::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.

✓ 327 modules transformed.
../dist/assets/Montserrat-Medium.f8c1310c.woff2   85.00 KiB
../dist/assets/Montserrat-Bold.294653dc.woff2     84.77 KiB
../dist/index.html                                1.58 KiB
../dist/assets/index.d685bac2.css                 211.09 KiB / gzip: 31.64 KiB
../dist/assets/index.7c0bb605.js                  416.09 KiB / gzip: 137.39 KiB

$ golangci-lint cache clean
$ golangci-lint run -v     
INFO [config_reader] Config search paths: [./ /home/ldez/sources/experimental/evcc /home/ldez/sources/experimental /home/ldez/sources /home/ldez /home /] 
INFO [config_reader] Used config file .golangci.yml 
INFO [lintersdb] Active 7 linters: [errcheck gosimple govet ineffassign staticcheck typecheck unused] 
INFO [loader] Go packages loading at mode 575 (files|imports|types_sizes|compiled_files|deps|exports_file|name) took 409.946901ms 
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 31.420048ms 
INFO [linters_context/goanalysis] analyzers took 58.775419451s with top 10 stages: buildir: 40.353810718s, inspect: 2.753906493s, ctrlflow: 1.791109099s, printf: 1.607689794s, S1038: 833.104767ms, S1039: 785.223813ms, fact_purity: 612.479252ms, directives: 574.671511ms, unused: 508.977208ms, S1030: 464.881862ms 
INFO [runner] Issues before processing: 44, after processing: 0 
INFO [runner] Processors filtering stat (out/in): cgo: 44/44, identifier_marker: 44/44, exclude: 44/44, filename_unadjuster: 44/44, path_prettifier: 44/44, skip_files: 44/44, skip_dirs: 44/44, autogenerated_exclude: 44/44, exclude-rules: 0/44 
INFO [runner] processing took 1.565679ms with stages: identifier_marker: 605.236µs, path_prettifier: 320.38µs, autogenerated_exclude: 303.582µs, exclude: 132.402µs, skip_dirs: 120.271µs, exclude-rules: 73.21µs, cgo: 4.146µs, filename_unadjuster: 2.294µs, nolint: 1.081µs, max_same_issues: 578ns, skip_files: 401ns, source_code: 341ns, max_from_linter: 299ns, uniq_by_line: 282ns, sort_results: 269ns, diff: 239ns, path_shortener: 233ns, severity-rules: 219ns, max_per_file_from_linter: 112ns, path_prefixer: 104ns 
INFO [runner] linters took 6.42940026s with stages: goanalysis_metalinter: 6.427771783s 
INFO File cache stats: 0 entries of total size 0B 
INFO Memory: 70 samples, avg is 1155.1MB, max is 1820.4MB 
INFO Execution took 6.874735872s

@andig
Copy link
Author

andig commented Feb 5, 2023

Seem I can't get it to execute:

$ golangci-lint run -v
INFO [config_reader] Config search paths: [./ /Users/andig/htdocs/evcc /Users/andig/htdocs /Users/andig /Users /]
INFO [config_reader] Used config file .golangci.yml
INFO [lintersdb] Active 7 linters: [errcheck gosimple govet ineffassign staticcheck typecheck unused]
INFO [loader] Go packages loading at mode 575 (imports|deps|exports_file|files|types_sizes|compiled_files|name) took 1.029170917s
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 23.178333ms
INFO Memory: 272 samples, avg is 30412.7MB, max is 55180.3MB
INFO Execution took 1m0.015193458s
[1]    79003 killed     golangci-lint run -v

Note memory- 55GB. The process dies by itself.

@ldez
Copy link
Member

ldez commented Feb 5, 2023

can you check the golangci-lint version?

$ type golangci-lint

$ golangci-lint version

For me, you are using either the v1.50.1 or a version built with go1.19.

@andig
Copy link
Author

andig commented Feb 5, 2023

type golangci-lint
golangci-lint is /opt/homebrew/bin/golangci-lint

golangci-lint version
golangci-lint has version 1.51.0 built from 6d3f06c on 2023-02-02T08:18:45Z

@andig
Copy link
Author

andig commented Feb 5, 2023

This might be interesting:

$ go version -m $(which golangci-lint)

/opt/homebrew/bin/golangci-lint: go1.19.5
	path	github.com/golangci/golangci-lint/cmd/golangci-lint
	mod	github.com/golangci/golangci-lint	(devel)	
	dep	4d63.com/gocheckcompilerdirectives	v1.2.1	h1:AHcMYuw56NPjq/2y615IGg2kYkBdTvOaojYCBcRE7MA=
	dep	4d63.com/gochecknoglobals	v0.2.1	h1:1eiorGsgHOFOuoOiJDy2psSrQbRdIHrlge0IJIkUgDc=
	dep	github.com/Abirdcfly/dupword	v0.0.9	h1:MxprGjKq3yDBICXDgEEsyGirIXfMYXkLNT/agPsE1tk=
	dep	github.com/Antonboom/errname	v0.1.7	h1:mBBDKvEYwPl4WFFNwec1CZO096G6vzK9vvDQzAwkako=
	dep	github.com/Antonboom/nilnil	v0.1.1	h1:PHhrh5ANKFWRBh7TdYmyyq2gyT2lotnvFvvFbylF81Q=
	dep	github.com/BurntSushi/toml	v1.2.1	h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak=
	dep	github.com/Djarvur/go-err113	v0.0.0-20210108212216-aea10b59be24	h1:sHglBQTwgx+rWPdisA5ynNEsoARbiCBOyGcJM4/OzsM=
	dep	github.com/GaijinEntertainment/go-exhaustruct/v2	v2.3.0	h1:+r1rSv4gvYn0wmRjC8X7IAzX8QezqtFV9m0MUHFJgts=
	dep	github.com/Masterminds/semver	v1.5.0	h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
	dep	github.com/OpenPeeDeeP/depguard	v1.1.1	h1:TSUznLjvp/4IUP+OQ0t/4jF4QUyxIcVX8YnghZdunyA=
	dep	github.com/alexkohler/prealloc	v1.0.0	h1:Hbq0/3fJPQhNkN0dR95AVrr6R7tou91y0uHG5pOcUuw=
	dep	github.com/alingse/asasalint	v0.0.11	h1:SFwnQXJ49Kx/1GghOFz1XGqHYKp21Kq1nHad/0WQRnw=
	dep	github.com/ashanbrown/forbidigo	v1.3.0	h1:VkYIwb/xxdireGAdJNZoo24O4lmnEWkactplBlWTShc=
	dep	github.com/ashanbrown/makezero	v1.1.1	h1:iCQ87C0V0vSyO+M9E/FZYbu65auqH0lnsOkf5FcB28s=
	dep	github.com/beorn7/perks	v1.0.1	h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
	dep	github.com/bkielbasa/cyclop	v1.2.0	h1:7Jmnh0yL2DjKfw28p86YTd/B4lRGcNuu12sKE35sM7A=
	dep	github.com/blizzy78/varnamelen	v0.8.0	h1:oqSblyuQvFsW1hbBHh1zfwrKe3kcSj0rnXkKzsQ089M=
	dep	github.com/bombsimon/wsl/v3	v3.3.0	h1:Mka/+kRLoQJq7g2rggtgQsjuI/K5Efd87WX96EWFxjM=
	dep	github.com/breml/bidichk	v0.2.3	h1:qe6ggxpTfA8E75hdjWPZ581sY3a2lnl0IRxLQFelECI=
	dep	github.com/breml/errchkjson	v0.3.0	h1:YdDqhfqMT+I1vIxPSas44P+9Z9HzJwCeAzjB8PxP1xw=
	dep	github.com/butuzov/ireturn	v0.1.1	h1:QvrO2QF2+/Cx1WA/vETCIYBKtRjc30vesdoPUNo1EbY=
	dep	github.com/cespare/xxhash/v2	v2.1.2	h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE=
	dep	github.com/charithe/durationcheck	v0.0.9	h1:mPP4ucLrf/rKZiIG/a9IPXHGlh8p4CzgpyTy6EEutYk=
	dep	github.com/chavacava/garif	v0.0.0-20221024190013-b3ef35877348	h1:cy5GCEZLUCshCGCRRUjxHrDUqkB4l5cuUt3ShEckQEo=
	dep	github.com/curioswitch/go-reassign	v0.2.0	h1:G9UZyOcpk/d7Gd6mqYgd8XYWFMw/znxwGDUstnC9DIo=
	dep	github.com/daixiang0/gci	v0.9.0	h1:t8XZ0vK6l0pwPoOmoGyqW2NwQlvbpAQNVvu/GRBgykM=
	dep	github.com/davecgh/go-spew	v1.1.1	h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
	dep	github.com/denis-tingaikin/go-header	v0.4.3	h1:tEaZKAlqql6SKCY++utLmkPLd6K8IBM20Ha7UVm+mtU=
	dep	github.com/esimonov/ifshort	v1.0.4	h1:6SID4yGWfRae/M7hkVDVVyppy8q/v9OuxNdmjLQStBA=
	dep	github.com/ettle/strcase	v0.1.1	h1:htFueZyVeE1XNnMEfbqp5r67qAN/4r6ya1ysq8Q+Zcw=
	dep	github.com/fatih/color	v1.14.1	h1:qfhVLaG5s+nCROl1zJsZRxFeYrHLqWroPOQ8BWiNb4w=
	dep	github.com/fatih/structtag	v1.2.0	h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4=
	dep	github.com/firefart/nonamedreturns	v1.0.4	h1:abzI1p7mAEPYuR4A+VLKn4eNDOycjYo2phmY9sfv40Y=
	dep	github.com/fsnotify/fsnotify	v1.5.4	h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI=
	dep	github.com/fzipp/gocyclo	v0.6.0	h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo=
	dep	github.com/go-critic/go-critic	v0.6.5	h1:fDaR/5GWURljXwF8Eh31T2GZNz9X4jeboS912mWF8Uo=
	dep	github.com/go-toolsmith/astcast	v1.0.0	h1:JojxlmI6STnFVG9yOImLeGREv8W2ocNUM+iOhR6jE7g=
	dep	github.com/go-toolsmith/astcopy	v1.0.2	h1:YnWf5Rnh1hUudj11kei53kI57quN/VH6Hp1n+erozn0=
	dep	github.com/go-toolsmith/astequal	v1.0.3	h1:+LVdyRatFS+XO78SGV4I3TCEA0AC7fKEGma+fH+674o=
	dep	github.com/go-toolsmith/astfmt	v1.0.0	h1:A0vDDXt+vsvLEdbMFJAUBI/uTbRw1ffOPnxsILnFL6k=
	dep	github.com/go-toolsmith/astp	v1.0.0	h1:alXE75TXgcmupDsMK1fRAy0YUzLzqPVvBKoyWV+KPXg=
	dep	github.com/go-toolsmith/strparse	v1.0.0	h1:Vcw78DnpCAKlM20kSbAyO4mPfJn/lyYA4BJUDxe2Jb4=
	dep	github.com/go-toolsmith/typep	v1.0.2	h1:8xdsa1+FSIH/RhEkgnD1j2CJOy5mNllW1Q9tRiYwvlk=
	dep	github.com/go-xmlfmt/xmlfmt	v1.1.2	h1:Nea7b4icn8s57fTx1M5AI4qQT5HEM3rVUO8MuE6g80U=
	dep	github.com/gobwas/glob	v0.2.3	h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
	dep	github.com/gofrs/flock	v0.8.1	h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw=
	dep	github.com/golang/protobuf	v1.5.2	h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
	dep	github.com/golangci/check	v0.0.0-20180506172741-cfe4005ccda2	h1:23T5iq8rbUYlhpt5DB4XJkc6BU31uODLD1o1gKvZmD0=
	dep	github.com/golangci/dupl	v0.0.0-20180902072040-3e9179ac440a	h1:w8hkcTqaFpzKqonE9uMCefW1WDie15eSP/4MssdenaM=
	dep	github.com/golangci/go-misc	v0.0.0-20220329215616-d24fe342adfe	h1:6RGUuS7EGotKx6J5HIP8ZtyMdiDscjMLfRBSPuzVVeo=
	dep	github.com/golangci/gofmt	v0.0.0-20220901101216-f2edd75033f2	h1:amWTbTGqOZ71ruzrdA+Nx5WA3tV1N0goTspwmKCQvBY=
	dep	github.com/golangci/lint-1	v0.0.0-20191013205115-297bf364a8e0	h1:MfyDlzVjl1hoaPzPD4Gpb/QgoRfSBR0jdhwGyAWwMSA=
	dep	github.com/golangci/maligned	v0.0.0-20180506175553-b1d89398deca	h1:kNY3/svz5T29MYHubXix4aDDuE3RWHkPvopM/EDv/MA=
	dep	github.com/golangci/misspell	v0.4.0	h1:KtVB/hTK4bbL/S6bs64rYyk8adjmh1BygbBiaAiX+a0=
	dep	github.com/golangci/revgrep	v0.0.0-20220804021717-745bb2f7c2e6	h1:DIPQnGy2Gv2FSA4B/hh8Q7xx3B7AIDk3DAMeHclH1vQ=
	dep	github.com/golangci/unconvert	v0.0.0-20180507085042-28b1c447d1f4	h1:zwtduBRr5SSWhqsYNgcuWO2kFlpdOZbP0+yRjmvPGys=
	dep	github.com/google/go-cmp	v0.5.9	h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
	dep	github.com/gordonklaus/ineffassign	v0.0.0-20210914165742-4cc7213b9bc8	h1:PVRE9d4AQKmbelZ7emNig1+NT27DUmKZn5qXxfio54U=
	dep	github.com/gostaticanalysis/analysisutil	v0.7.1	h1:ZMCjoue3DtDWQ5WyU16YbjbQEQ3VuzwxALrpYd+HeKk=
	dep	github.com/gostaticanalysis/comment	v1.4.2	h1:hlnx5+S2fY9Zo9ePo4AhgYsYHbM2+eAv8m/s1JiCd6Q=
	dep	github.com/gostaticanalysis/forcetypeassert	v0.1.0	h1:6eUflI3DiGusXGK6X7cCcIgVCpZ2CiZ1Q7jl6ZxNV70=
	dep	github.com/gostaticanalysis/nilerr	v0.1.1	h1:ThE+hJP0fEp4zWLkWHWcRyI2Od0p7DlgYG3Uqrmrcpk=
	dep	github.com/hashicorp/errwrap	v1.0.0	h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=
	dep	github.com/hashicorp/go-multierror	v1.1.1	h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
	dep	github.com/hashicorp/go-version	v1.6.0	h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
	dep	github.com/hashicorp/hcl	v1.0.0	h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
	dep	github.com/hexops/gotextdiff	v1.0.3	h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
	dep	github.com/jgautheron/goconst	v1.5.1	h1:HxVbL1MhydKs8R8n/HE5NPvzfaYmQJA3o879lE4+WcM=
	dep	github.com/jingyugao/rowserrcheck	v1.1.1	h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjzq7gFzUs=
	dep	github.com/jirfag/go-printf-func-name	v0.0.0-20200119135958-7558a9eaa5af	h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48=
	dep	github.com/julz/importas	v0.1.0	h1:F78HnrsjY3cR7j0etXy5+TU1Zuy7Xt08X/1aJnH5xXY=
	dep	github.com/junk1tm/musttag	v0.4.3	h1:I8UHQkDj2u/MClcGU8PbMoYwhykiSQFEbXKKMjixPyk=
	dep	github.com/kisielk/errcheck	v1.6.3	h1:dEKh+GLHcWm2oN34nMvDzn1sqI0i0WxPvrgiJA5JuM8=
	dep	github.com/kisielk/gotool	v1.0.0	h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=
	dep	github.com/kkHAIKE/contextcheck	v1.1.3	h1:l4pNvrb8JSwRd51ojtcOxOeHJzHek+MtOyXbaR0uvmw=
	dep	github.com/kulti/thelper	v0.6.3	h1:ElhKf+AlItIu+xGnI990no4cE2+XaSu1ULymV2Yulxs=
	dep	github.com/kunwardeep/paralleltest	v1.0.6	h1:FCKYMF1OF2+RveWlABsdnmsvJrei5aoyZoaGS+Ugg8g=
	dep	github.com/kyoh86/exportloopref	v0.1.11	h1:1Z0bcmTypkL3Q4k+IDHMWTcnCliEZcaPiIe0/ymEyhQ=
	dep	github.com/ldez/gomoddirectives	v0.2.3	h1:y7MBaisZVDYmKvt9/l1mjNCiSA1BVn34U0ObUcJwlhA=
	dep	github.com/ldez/tagliatelle	v0.4.0	h1:sylp7d9kh6AdXN2DpVGHBRb5guTVAgOxqNGhbqc4b1c=
	dep	github.com/leonklingele/grouper	v1.1.1	h1:suWXRU57D4/Enn6pXR0QVqqWWrnJ9Osrz+5rjt8ivzU=
	dep	github.com/lufeee/execinquery	v1.2.1	h1:hf0Ems4SHcUGBxpGN7Jz78z1ppVkP/837ZlETPCEtOM=
	dep	github.com/magiconair/properties	v1.8.6	h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo=
	dep	github.com/maratori/testableexamples	v1.0.0	h1:dU5alXRrD8WKSjOUnmJZuzdxWOEQ57+7s93SLMxb2vI=
	dep	github.com/maratori/testpackage	v1.1.0	h1:GJY4wlzQhuBusMF1oahQCBtUV/AQ/k69IZ68vxaac2Q=
	dep	github.com/matoous/godox	v0.0.0-20210227103229-6504466cf951	h1:pWxk9e//NbPwfxat7RXkts09K+dEBJWakUWwICVqYbA=
	dep	github.com/mattn/go-colorable	v0.1.13	h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
	dep	github.com/mattn/go-isatty	v0.0.17	h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=
	dep	github.com/mattn/go-runewidth	v0.0.9	h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=
	dep	github.com/matttproud/golang_protobuf_extensions	v1.0.1	h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
	dep	github.com/mbilski/exhaustivestruct	v1.2.0	h1:wCBmUnSYufAHO6J4AVWY6ff+oxWxsVFrwgOdMUQePUo=
	dep	github.com/mgechev/revive	v1.2.5	h1:UF9AR8pOAuwNmhXj2odp4mxv9Nx2qUIwVz8ZsU+Mbec=
	dep	github.com/mitchellh/go-homedir	v1.1.0	h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
	dep	github.com/mitchellh/mapstructure	v1.5.0	h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
	dep	github.com/moricho/tparallel	v0.2.1	h1:95FytivzT6rYzdJLdtfn6m1bfFJylOJK41+lgv/EHf4=
	dep	github.com/nakabonne/nestif	v0.3.1	h1:wm28nZjhQY5HyYPx+weN3Q65k6ilSBxDb8v5S81B81U=
	dep	github.com/nbutton23/zxcvbn-go	v0.0.0-20210217022336-fa2cb2858354	h1:4kuARK6Y6FxaNu/BnU2OAaLF86eTVhP2hjTB6iMvItA=
	dep	github.com/nishanths/exhaustive	v0.9.5	h1:TzssWan6orBiLYVqewCG8faud9qlFntJE30ACpzmGME=
	dep	github.com/nishanths/predeclared	v0.2.2	h1:V2EPdZPliZymNAn79T8RkNApBjMmVKh5XRpLm/w98Vk=
	dep	github.com/nunnatsa/ginkgolinter	v0.7.1	h1:j4mzqx1hkE75mXHs3AUlWghZBi59c3GDWXp6zzcI+kE=
	dep	github.com/olekukonko/tablewriter	v0.0.5	h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
	dep	github.com/pelletier/go-toml/v2	v2.0.5	h1:ipoSadvV8oGUjnUbMub59IDPPwfxF694nG/jwbMiyQg=
	dep	github.com/pkg/errors	v0.9.1	h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
	dep	github.com/pmezard/go-difflib	v1.0.0	h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
	dep	github.com/polyfloyd/go-errorlint	v1.0.6	h1:ZevdyEGxDoHAMQUVvdTT06hnYuKULe8TQkOmIYx6s1c=
	dep	github.com/prometheus/client_golang	v1.12.1	h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk=
	dep	github.com/prometheus/client_model	v0.2.0	h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M=
	dep	github.com/prometheus/common	v0.32.1	h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4=
	dep	github.com/prometheus/procfs	v0.7.3	h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU=
	dep	github.com/quasilyte/go-ruleguard	v0.3.18	h1:sd+abO1PEI9fkYennwzHn9kl3nqP6M5vE7FiOzZ+5CE=
	dep	github.com/quasilyte/gogrep	v0.0.0-20220828223005-86e4605de09f	h1:6Gtn2i04RD0gVyYf2/IUMTIs+qYleBt4zxDqkLTcu4U=
	dep	github.com/quasilyte/regex/syntax	v0.0.0-20200407221936-30656e2c4a95	h1:L8QM9bvf68pVdQ3bCFZMDmnt9yqcMBro1pC7F+IPYMY=
	dep	github.com/quasilyte/stdinfo	v0.0.0-20220114132959-f7386bf02567	h1:M8mH9eK4OUR4lu7Gd+PU1fV2/qnDNfzT635KRSObncs=
	dep	github.com/ryancurrah/gomodguard	v1.3.0	h1:q15RT/pd6UggBXVBuLps8BXRvl5GPBcwVA7BJHMLuTw=
	dep	github.com/ryanrolds/sqlclosecheck	v0.3.0	h1:AZx+Bixh8zdUBxUA1NxbxVAS78vTPq4rCb8OUZI9xFw=
	dep	github.com/sanposhiho/wastedassign/v2	v2.0.6	h1:+6/hQIHKNJAUixEj6EmOngGIisyeI+T3335lYTyxRoA=
	dep	github.com/sashamelentyev/interfacebloat	v1.1.0	h1:xdRdJp0irL086OyW1H/RTZTr1h/tMEOsumirXcOJqAw=
	dep	github.com/sashamelentyev/usestdlibvars	v1.21.1	h1:GQGlReyL9Ek8DdJmwtwhHbhwHnuPfsKaprpjnrPcjxc=
	dep	github.com/securego/gosec/v2	v2.14.0	h1:U1hfs0oBackChXA72plCYVA4cOlQ4gO+209dHiSNZbI=
	dep	github.com/shazow/go-diff	v0.0.0-20160112020656-b6b7b6733b8c	h1:W65qqJCIOVP4jpqPQ0YvHYKwcMEMVWIzWC5iNQQfBTU=
	dep	github.com/sirupsen/logrus	v1.9.0	h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0=
	dep	github.com/sivchari/containedctx	v1.0.2	h1:0hLQKpgC53OVF1VT7CeoFHk9YKstur1XOgfYIc1yrHI=
	dep	github.com/sivchari/nosnakecase	v1.7.0	h1:7QkpWIRMe8x25gckkFd2A5Pi6Ymo0qgr4JrhGt95do8=
	dep	github.com/sivchari/tenv	v1.7.1	h1:PSpuD4bu6fSmtWMxSGWcvqUUgIn7k3yOJhOIzVWn8Ak=
	dep	github.com/sonatard/noctx	v0.0.1	h1:VC1Qhl6Oxx9vvWo3UDgrGXYCeKCe3Wbw7qAWL6FrmTY=
	dep	github.com/sourcegraph/go-diff	v0.6.2-0.20221031073116-7ef5f68ebea1	h1:FEIBISvqa2IsyC4KQQBQ1Ef2QvweGUgEIjCdE3gz+zs=
	dep	github.com/spf13/afero	v1.8.2	h1:xehSyVa0YnHWsJ49JFljMpg1HX19V6NDZ1fkm1Xznbo=
	dep	github.com/spf13/cast	v1.5.0	h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w=
	dep	github.com/spf13/cobra	v1.6.1	h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA=
	dep	github.com/spf13/jwalterweatherman	v1.1.0	h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
	dep	github.com/spf13/pflag	v1.0.5	h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
	dep	github.com/spf13/viper	v1.12.0	h1:CZ7eSOd3kZoaYDLbXnmzgQI5RlciuXBMA+18HwHRfZQ=
	dep	github.com/ssgreg/nlreturn/v2	v2.2.1	h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0=
	dep	github.com/stbenjam/no-sprintf-host-port	v0.1.1	h1:tYugd/yrm1O0dV+ThCbaKZh195Dfm07ysF0U6JQXczc=
	dep	github.com/stretchr/objx	v0.5.0	h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=
	dep	github.com/stretchr/testify	v1.8.1	h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
	dep	github.com/subosito/gotenv	v1.4.1	h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs=
	dep	github.com/tdakkota/asciicheck	v0.1.1	h1:PKzG7JUTUmVspQTDqtkX9eSiLGossXTybutHwTXuO0A=
	dep	github.com/tetafro/godot	v1.4.11	h1:BVoBIqAf/2QdbFmSwAWnaIqDivZdOV0ZRwEm6jivLKw=
	dep	github.com/timakin/bodyclose	v0.0.0-20221125081123-e39cf3fc478e	h1:MV6KaVu/hzByHP0UvJ4HcMGE/8a6A4Rggc/0wx2AvJo=
	dep	github.com/timonwong/loggercheck	v0.9.3	h1:ecACo9fNiHxX4/Bc02rW2+kaJIAMAes7qJ7JKxt0EZI=
	dep	github.com/tomarrell/wrapcheck/v2	v2.7.0	h1:J/F8DbSKJC83bAvC6FoZaRjZiZ/iKoueSdrEkmGeacA=
	dep	github.com/tommy-muehle/go-mnd/v2	v2.5.1	h1:NowYhSdyE/1zwK9QCLeRb6USWdoif80Ie+v+yU8u1Zw=
	dep	github.com/ultraware/funlen	v0.0.3	h1:5ylVWm8wsNwH5aWo9438pwvsK0QiqVuUrt9bn7S/iLA=
	dep	github.com/ultraware/whitespace	v0.0.5	h1:hh+/cpIcopyMYbZNVov9iSxvJU3OYQg78Sfaqzi/CzI=
	dep	github.com/uudashr/gocognit	v1.0.6	h1:2Cgi6MweCsdB6kpcVQp7EW4U23iBFQWfTXiWlyp842Y=
	dep	github.com/yagipy/maintidx	v1.0.0	h1:h5NvIsCz+nRDapQ0exNv4aJ0yXSI0420omVANTv3GJM=
	dep	github.com/yeya24/promlinter	v0.2.0	h1:xFKDQ82orCU5jQujdaD8stOHiv8UN68BSdn2a8u8Y3o=
	dep	gitlab.com/bosi/decorder	v0.2.3	h1:gX4/RgK16ijY8V+BRQHAySfQAb354T7/xQpDB2n10P0=
	dep	go.uber.org/atomic	v1.7.0	h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
	dep	go.uber.org/multierr	v1.6.0	h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=
	dep	go.uber.org/zap	v1.17.0	h1:MTjgFu6ZLKvY6Pvaqk97GlxNBuMpV4Hy/3P6tRGlI2U=
	dep	golang.org/x/exp	v0.0.0-20220722155223-a9213eeb770e	h1:+WEEuIdZHnUeJJmEUjyYC2gfUMj69yZXw17EnHg/otA=
	dep	golang.org/x/exp/typeparams	v0.0.0-20221208152030-732eee02a75a	h1:Jw5wfR+h9mnIYH+OtGT2im5wV1YGGDora5vTv/aa5bE=
	dep	golang.org/x/mod	v0.7.0	h1:LapD9S96VoQRhi/GrNTqeBJFrUjs5UHCAtTlgwA5oZA=
	dep	golang.org/x/sync	v0.1.0	h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
	dep	golang.org/x/sys	v0.4.0	h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18=
	dep	golang.org/x/text	v0.6.0	h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k=
	dep	golang.org/x/tools	v0.5.0	h1:+bSpV5HIeWkuvgaMfI3UmKRThoTA5ODJTUd8T17NO+4=
	dep	google.golang.org/protobuf	v1.28.0	h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=
	dep	gopkg.in/ini.v1	v1.67.0	h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
	dep	gopkg.in/yaml.v3	v3.0.1	h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
	dep	honnef.co/go/tools	v0.4.0-0.dev.0.20221209223220-58c4d7e4b720	h1:L3lQbXWMmkBfyGXTvipQVmLXSM5SsT/39qcf+0RBIlQ=
	dep	mvdan.cc/gofumpt	v0.4.0	h1:JVf4NN1mIpHogBj7ABpgOyZc65/UUOkKQFkoURsz4MM=
	dep	mvdan.cc/interfacer	v0.0.0-20180901003855-c20040233aed	h1:WX1yoOaKQfddO/mLzdV4wptyWgoH/6hwLs7QHTixo0I=
	dep	mvdan.cc/lint	v0.0.0-20170908181259-adc824a0674b	h1:DxJ5nJdkhDlLok9K6qO+5290kphDJbHOQO1DFFFTeBo=
	dep	mvdan.cc/unparam	v0.0.0-20221223090309-7455f1af531d	h1:3rvTIIM22r9pvXk+q3swxUQAQOxksVMGK7sml4nG57w=
	build	-compiler=gc
	build	-trimpath=true
	build	CGO_ENABLED=1
	build	GOARCH=arm64
	build	GOOS=darwin
	build	vcs=git
	build	vcs.revision=6d3f06c5eba95bcde9ebb9e0586a7da50599e3a3
	build	vcs.time=2023-02-02T08:18:45Z
	build	vcs.modified=true

Seems the brew release is broken?

@ldez
Copy link
Member

ldez commented Feb 5, 2023

I don't know because I don't use brew and we don't maintain the formula, but using go1.19 to build golangci-lint v1.51.x is not a good idea.

@andig
Copy link
Author

andig commented Feb 5, 2023

That's the root cause. It runs fine when go install'ed. Seems we'll need to wait for brew to build on 1.20.

@walles
Copy link

walles commented Mar 1, 2023

Does anybody know why there's a leak when building with Go 1.19 but not when building with Go 1.20?

bryanv added a commit to bryanv/vm-operator that referenced this issue Mar 1, 2023
Our prior version of golangci-lint is not compatible with go
1.20 [1] so update that now to front run our go version bump.
Fix some low hangning text/ linter excludes.

Switch to a unique tools build tag to work around golangci-lint
dependency compile failure [2].

While here remove some old Jenkins code coverage tools that are
no longer needed.

[1] - golangci/golangci-lint#3565
[2] - ryancurrah/gomodguard#33
bryanv added a commit to bryanv/vm-operator that referenced this issue Mar 1, 2023
Our prior version of golangci-lint is not compatible with go
1.20 [1] so update that now to front run our go version bump.
Fix some low hanging text/ linter excludes.

Switch to a unique tools build tag to work around golangci-lint
dependency compile failure [2].

While here remove some old Jenkins code coverage tools that are
no longer needed.

[1] - golangci/golangci-lint#3565
[2] - ryancurrah/gomodguard#33
bryanv added a commit to bryanv/vm-operator that referenced this issue Mar 1, 2023
Our prior version of golangci-lint is not compatible with go
1.20 [1] so update that now to front run our go version bump.
Fix some low hanging text/ linter excludes.

Switch to a unique tools build tag to work around golangci-lint
dependency compile failure [2].

While here remove some old Jenkins test and code coverage tools
that are no longer needed.

[1] - golangci/golangci-lint#3565
[2] - ryancurrah/gomodguard#33
@joeblubaugh
Copy link

Isn't go 1.19 still in the supported version policy for this tool?

@ldez
Copy link
Member

ldez commented Mar 2, 2023

Isn't go 1.19 still in the supported version policy for this tool?

if golangci-lint is compiled with go1.19, it only supports go1.19.
if golangci-lint is compiled with go1.20, it supports go1.19 and go1.20.

This is exactly the same thing as Go itself.

So golangci-lint supports go1.19 and go1.20.

MrHohn added a commit to MrHohn/cluster-proportional-autoscaler that referenced this issue Mar 3, 2023
Also pin golangci-lint to v1.51.2 to avoid a memory leak issue:
golangci/golangci-lint#3565.
MrFreezeex pushed a commit to MrFreezeex/cluster-proportional-autoscaler that referenced this issue Mar 3, 2023
Also pin golangci-lint to v1.51.2 to avoid a memory leak issue:
golangci/golangci-lint#3565.
MrFreezeex pushed a commit to MrFreezeex/cluster-proportional-autoscaler that referenced this issue Mar 3, 2023
Also pin golangci-lint to v1.51.2 to avoid a memory leak issue:
golangci/golangci-lint#3565.
hjiawei added a commit to projectcalico/go-build that referenced this issue Mar 31, 2023
This fixes golangci-lint 1.50.x excessive memory usage with golang 1.20.

Upstream issue: golangci/golangci-lint#3565.
hjiawei added a commit to projectcalico/go-build that referenced this issue Apr 12, 2023
This fixes golangci-lint 1.50.x excessive memory usage with golang 1.20.

Upstream issue: golangci/golangci-lint#3565.
flavianmissi added a commit to flavianmissi/cluster-image-registry-operator that referenced this issue Apr 26, 2023
the previous version did not support go 1.20.
see golangci/golangci-lint#3565 for details.
codeboten pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this issue Jun 14, 2023
After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment)

I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues.

---------

Signed-off-by: Alex Boten <[email protected]>
fchikwekwe pushed a commit to fchikwekwe/opentelemetry-collector-contrib that referenced this issue Jun 23, 2023
After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment)

I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues.

---------

Signed-off-by: Alex Boten <[email protected]>
JimChenWYU pushed a commit to easyops-cn/opentelemetry-collector-contrib that referenced this issue Jun 30, 2023
commit 739e583
Author: Anthony Mirabella <[email protected]>
Date:   Tue Jun 20 18:11:41 2023 -0400

    [chore] Prepare release v0.80.0 (open-telemetry#23584)

    The following commands were run to prepare this release:
    - make chlog-update VERSION=v0.80.0
    - sed -i.bak s/0.79.0/0.80.0/g versions.yaml
    - make multimod-prerelease
    - make multimod-sync

    Additionally, changes from
    open-telemetry#23583
    were incorporated.

    ---------

    Signed-off-by: Anthony J Mirabella <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit e988fca
Author: Alex Boten <[email protected]>
Date:   Tue Jun 20 12:23:52 2023 -0700

    [chore] update otel core (open-telemetry#23578)

    Signed-off-by: Alex Boten <[email protected]>

commit 42dbc6c
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 19:51:21 2023 +0200

    aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572)

    Metric unit is required, see:
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

    This PR adds the unit to metrics where this is missing:

    - aerospike.node.query.tracked

commit 200778b
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 18:51:54 2023 +0200

    [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575)

    This func is not used. Because the receiver is the metadata struct, it
    would need to be called directly.

    This also tests field Name -- which does not exist anymore (replaced by
    Type).

    **Note:** Validation of Type will be done as part of open-telemetry#23424

commit b726aee
Author: Mend Renovate <[email protected]>
Date:   Tue Jun 20 18:49:27 2023 +0200

    chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

    This PR contains the following updates:

    | Package | Type | Update | Change |
    |---|---|---|---|
    |
    [actions/download-artifact](https://togithub.com/actions/download-artifact)
    | action | major | `v2` -> `v3` |
    |
    [actions/upload-artifact](https://togithub.com/actions/upload-artifact)
    | action | major | `v2` -> `v3` |

    ---

    <details>
    <summary>actions/download-artifact</summary>
    [`v3`](https://togithub.com/actions/download-artifact/compare/v2...v3)

    [Compare
    Source](https://togithub.com/actions/download-artifact/compare/v2...v3)

    </details>

    <details>
    <summary>actions/upload-artifact</summary>

    [Compare
    Source](https://togithub.com/actions/upload-artifact/compare/v2...v3)

    </details>

    ---

    📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
    time (no schedule defined).

    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.

    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.

    🔕 **Ignore**: Close this PR and you won't be reminded about these
    updates again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box

    ---

    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

commit 9d38d84
Author: Tigran Najaryan <[email protected]>
Date:   Tue Jun 20 12:13:20 2023 -0400

    [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455)

    - Added gzip and zstd tests to SAPM trace test.

    - Modified GenerateTraces to generate more variable data to make sure it
    is a more fair comparison when compression is enabled (otherwise it was
    compressing too well and was not representative of real-world
    workloads).

    This makes easier to see the impact of added zstd compression done in
    open-telemetry#23257

commit 9a5f723
Author: rubenruizdegauna <[email protected]>
Date:   Tue Jun 20 07:42:56 2023 +0200

    [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451)

    Currently `process.cpu.utilization` is not sent when it is enabled if
    `process.cpu.time` is disabled.
    It should be sent independently of `process.cpu.time`

commit ad2e101
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 07:21:06 2023 +0200

    [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454)

    This PR adds the bytes unit to metrics where this is missing. unit is a
    required field, see
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

commit d89a6e1
Author: Bartosz Sławianowski <[email protected]>
Date:   Mon Jun 19 21:13:53 2023 +0200

    [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453)

    Kubernetes namespace is a cluster-scoped resource and doesn't seem to
    have populated `namespace` field in Kubernetes (at least on 1.25.x and
    1.26.x).

    This PR changes it so the name of the namespace is simply taken from
    `name` field instead.

commit 6ee548b
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 19 10:51:31 2023 -0700

    [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438)

    Switch k8s.node metrics to use pdata.

commit 5fff104
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 19 13:13:11 2023 +0300

    {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445)

    This change bumps the opentelemetry-mapping-go dependency to v0.5.0
    which contains the metric remapping code. As a result, it is removed
    from the exporter.

commit b719459
Author: Antoine Toulme <[email protected]>
Date:   Sat Jun 17 10:50:17 2023 -0700

    [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437)

    Switch k8s.namespace metrics to use pdata.

commit b2238b9
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 23:08:30 2023 -0700

    [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434)

    To reduce RAM utilization.

    Resolves
    open-telemetry#23433

    This is the last PR to reduce the memory footprint of k8s API informers.
    Other objects are more static and usually don't have a lot of instances
    in user clusters, so there is no need to reduce their size.

commit 1c84fb2
Author: Dominik Rosiek <[email protected]>
Date:   Sat Jun 17 06:24:40 2023 +0200

    feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274)

    **Description:**

    deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors`

    ```
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:104        Setting up own telemetry...
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:127        Serving Prometheus metrics      {"address": ":8888", "level": "Basic"}
    2023-06-12T08:29:43.306+0200    info    [email protected]/exporter.go:275        Development component. May change in the future.        {"kind": "exporter", "data_type": "metrics", "name": "logging"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:131  Starting otelcontribcol...      {"Version": "0.79.0-dev", "NumCPU": 16}
    2023-06-12T08:29:43.308+0200    info    extensions/extensions.go:30     Starting extensions...
    2023-06-12T08:29:43.308+0200    warn    [email protected]/scraper.go:60     `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead   {"kind": "receiver", "name": "mysql", "data_type": "metrics"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:148  Everything is ready. Begin running and processing data.
    ^C2023-06-12T08:29:44.055+0200  info    otelcol/collector.go:227        Received signal from OS {"signal": "interrupt"}
    2023-06-12T08:29:44.056+0200    info    service/service.go:157  Starting shutdown...
    ```

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Curtis Robert <[email protected]>

commit c8cf780
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 15:00:42 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432)

    Do not store unused data for deployments, statefulsets and daemonsets in
    k8s API cache to reduce RAM usage.

    Updates
    open-telemetry#23433

commit 0ccde43
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 21:01:32 2023 +0200

    Document extension as value for stability in metadata.yaml (open-telemetry#23426)

    Currently, this is used in all extensions (e.g.
    [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)),
    but this is not documented in `metadata-schema.yaml`.

commit 8869951
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 11:51:00 2023 -0700

    Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431)

    …rnal metrics (open-telemetry#23369)"

    This reverts commit 42bca6f.

    Revert it until
    open-telemetry#23369 (comment)
    is resolved to avoid adding it to the next release

    Co-authored-by: Ziqi Zhao <[email protected]>

commit 6ad0589
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 19:21:23 2023 +0200

    [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213)

    This PR adds the resource attributes added by the k8sattributes
    processor to the metadata.yaml file in the resource_attributes group.
    Only the attributes which are added by default (see
    [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration))
    are marked as enabled.

    The default resource attributes defined in metadata.yaml are used to
    make the default extract::metadata list.
    Resource attributes are exposed through a different configuration
    interface. This is noted in the metadata.yaml file.

commit a4585ce
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:57:52 2023 -0700

    [chore] retry sending coverage output (open-telemetry#23413)

commit 195ef43
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:50:14 2023 -0700

    [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416)

commit 0ae07ba
Author: Pablo Baeyens <[email protected]>
Date:   Fri Jun 16 11:05:52 2023 +0200

    [chore] Clean up CODEOWNERS (open-telemetry#23382)

    **Description:**

    Clean up CODEOWNERS file to remove redundant lines; add these to the
    ALLOWLIST.

    **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG

commit a5cdd2f
Author: atshaw43 <[email protected]>
Date:   Fri Jun 16 00:11:17 2023 -0700

    [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313)

    Add link span link support and support for the messaging field.

    We are conforming to the OTel spec:
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110

commit 42bca6f
Author: Ziqi Zhao <[email protected]>
Date:   Fri Jun 16 14:51:10 2023 +0800

    [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369)

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 559f19c
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:45 2023 -0700

    [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419)

    **Description:**
    Switch k8s.rq metrics to use pdata.

commit 2e11f46
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:20 2023 -0700

    [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420)

commit 5cfcdeb
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 17:59:51 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417)

    This change removes unused k8s informer data from the cache to reduce RAM utilization.

    Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage.

commit 260f34f
Author: linfn <[email protected]>
Date:   Fri Jun 16 02:44:06 2023 +0800

    [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799)

    In Skywalking, parentSpanId == -1 indicates that the span is [the first
    span within the current
    segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119),
    rather than within the entire trace. Leaving parentSpanId blank can
    cause the call relationship to be lost when crossing segments.

commit f709809
Author: Sam DeHaan <[email protected]>
Date:   Thu Jun 15 14:42:59 2023 -0400

    [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363)

    Access Logs required permissions for monitoring were
    not documented in the receiver README.

    Should have been documented for
    open-telemetry#21182

commit 8885502
Author: Raj Nishtala <[email protected]>
Date:   Thu Jun 15 14:41:37 2023 -0400

    [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414)

    Updating CODEOWNERS for processor/groupbyattrsprocessor

commit d98e12b
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:21:42 2023 -0700

    [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409)

commit fd526ee
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:16:33 2023 -0700

    [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408)

    Rebase of open-telemetry#18250 with latest main.

    ---------

    Signed-off-by: Bogdan Drutu <[email protected]>
    Co-authored-by: Bogdan Drutu <[email protected]>

commit e6e1e76
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 10:10:13 2023 -0700

    [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403)

    Do not drop `container.cpu.time` metric in the default translations so
    it can be enabled in the `include_metrics` config option.

    This is the only metric that is dropped in the translations. All other
    metrics are being kept.

commit 65a1dea
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 08:09:39 2023 -0700

    [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410)

    Try sending data a few times to fix flakiness of test.

    **Link to tracking Issue:**
    Fixes open-telemetry#23381

commit 9f0032e
Author: Pablo Baeyens <[email protected]>
Date:   Thu Jun 15 14:43:18 2023 +0200

    [chore] make gotidy (open-telemetry#23412)

    Fixes main after open-telemetry#23257

commit ae15d8c
Author: Tigran Najaryan <[email protected]>
Date:   Thu Jun 15 07:04:14 2023 -0400

    Add zstd compression to SAPM receiver and exporter (open-telemetry#23257)

    - Updated github.com/signalfx/sapm-proto to v0.13.0
    - Added "compression" config setting to sapm exporter
    - Added tests to verify various compression settings for sapm receiver
    and exporter.

commit c2658a7
Author: Mike Dame <[email protected]>
Date:   Thu Jun 15 06:58:12 2023 -0400

    [chore] Update GCP codeowners (open-telemetry#22781)

    Updating CODEOWNERS entries for GCP exporters

commit c7462f2
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 23:40:16 2023 -0700

    [chore] add k8sclusterreceiver e2e test (open-telemetry#23386)

    Adds an e2e test for k8sclusterreceiver with a golden metrics file.

commit 1bf2547
Author: Andrzej Stencel <[email protected]>
Date:   Wed Jun 14 22:40:06 2023 +0200

    [receiver/sqlquery] add support for logs (open-telemetry#20730)

    Fixes open-telemetry#20284

    This introduces initial support for retrieving rows from SQL databases
    into logs.

    This PR aims to provide an initial, not feature rich, but production
    ready implementation. The following features are available:

    - Use `body_column` to select the column to use to fill the Body field
    of the created log
    - Use `tracking_start_value` and `tracking_column` properties to track
    rows that were already ingested
    - Use `storage` property to persist the tracking value across collector
    restarts

    In this state and marked as "development" stability, the component can
    be used for experimentation and to guide future development.

    There are definitely more things that need to be implemented for this
    component to be considered "alpha" quality - like filling in other [log
    fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition)
    like Timestamp, ObservedTimestamp and others. I would like to add them
    in subsequent pull requests, as this pull request is already way too
    big.

    ---------

    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>

commit e7608db
Author: Irina <[email protected]>
Date:   Wed Jun 14 19:50:04 2023 +0100

    [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733)

    **Description:**
    There is currently no way to get the
    [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396)
    field from plog.LogRecord into Loki.
    Added Flags field to lokiEntry in this PR

    **Link to tracking Issue:**
    open-telemetry#21650

    **Testing:** Added unit tests

commit 50bbb9f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:42:33 2023 +0200

    [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384)

    cc @jpkrohling @pavankrish123

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit a4dda5b
Author: Vastin <[email protected]>
Date:   Wed Jun 14 13:12:48 2023 -0500

    [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626)

    **Description:**

    This PR adds [exponential
    histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram)
    support in `awsemfexporter`. The exponential histogram metrics are
    exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and
    Min are set as Statistical Set. The mid-point values and counts of
    exponential histogram buckets are translated into Values/Counts array of
    EMF log entry as well.

    **Testing:**

    The unit test is added and covers positive, zero and negative values.

    The integration test is performed with following OTEL collector
    configuration.
    ```
    extensions:
      health_check:
    receivers:
      otlp:
        protocols:
          grpc:
            endpoint: 0.0.0.0:4317
          http:
            endpoint: 0.0.0.0:4318

    processors:
      batch/metrics:
        timeout: 60s

    exporters:
      logging:
        verbosity: detailed
      awsemf:
        region: 'us-east-1'
        namespace: "Test"
        dimension_rollup_option: "NoDimensionRollup"

    service:
      pipelines:
        metrics:
          receivers: [otlp]
          processors: [batch/metrics]
          exporters: [awsemf, logging]
      extensions: [health_check]
      telemetry:
        logs:
          level: "debug"
    ```
    It generated EMF log for histogram metrics in following JSON format.
    Notes: It doesn't cover negative values since histograms can [only
    record non-negative
    values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram)
    and will [drop negative
    values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44).

    ```
        "latency": {
            "Values": [
                309.4277237034415,
                323.12725941969757,
                326.64588457862067,
                344.8221530867399,
                520.3933272846809,
                531.7884573308439,
                537.579253961712,
                543.4331082335607,
                549.3507067990806,
                555.3327437881196,
                561.3799208891041,
                567.4929474313465,
                720.1774681373079,
                0
            ],
            "Counts": [
                1,
                1,
                1,
                1,
                1,
                3,
                4,
                2,
                2,
                3,
                1,
                1,
                1,
                22
            ],
            "Max": 720,
            "Min": 0,
            "Count": 44,
            "Sum": 11265
        }
    ```

commit f66845f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:09:35 2023 +0200

    [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739)

    Closes open-telemetry#22737

    ---------

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit 6a83a9a
Author: Dominik Rosiek <[email protected]>
Date:   Wed Jun 14 19:11:38 2023 +0200

    [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337)

    Deprecate options which are going to be removed

    **Link to tracking Issue:** open-telemetry#23059

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Mikołaj Świątek <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit 3faedfc
Author: OpenTelemetry Bot <[email protected]>
Date:   Wed Jun 14 09:39:22 2023 -0700

    [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380)

    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awsxrayreceiver

commit d9326aa
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 09:13:30 2023 -0700

    [chore] mark components as unmaintained (open-telemetry#23379)

    These components no longer have an active code owner as a result of

    Signed-off-by: Alex Boten <[email protected]>

commit 8729c16
Author: Daniel Jaglowski <[email protected]>
Date:   Wed Jun 14 09:32:35 2023 -0600

    [chore] Enable exhaustive linter for several modules (open-telemetry#23329)

    Updates open-telemetry#23266

    - receiver/nsxt
    - receiver/snmp
    - connector/count
    - extension/storage
    - pkg/stanza

commit 52d87f8
Author: Evan Bradley <[email protected]>
Date:   Wed Jun 14 11:30:51 2023 -0400

    [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143)

    This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context.

    **Link to tracking Issue:**

    Implements open-telemetry#18461
    Co-authored-by: Matej Gera <[email protected]>

    ---------

    Co-authored-by: Evan Bradley <[email protected]>
    Co-authored-by: Matej Gera <[email protected]>

commit 31bfef7
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 08:18:27 2023 -0700

    [chore] bump go version for linting (open-telemetry#23346)

    After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment)

    I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues.

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d79f3c0
Author: Curtis Robert <[email protected]>
Date:   Wed Jun 14 08:05:56 2023 -0700

    [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368)

    As a result of issue open-telemetry#23246, a few components are now unmaintained.
    These need to be documented in the ALLOWLIST file.

commit 19e2a2d
Author: Tomáš Žďára <[email protected]>
Date:   Wed Jun 14 11:22:35 2023 +0200

    DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250)

    * DSET-3998 - export Logs resource info based on     export_resource_info_on_event configuration

    * DSET-3998 - simplify

    * DSET-3998 - improve docs

    * Fix log exporter to set AddEvents Event timestamp (ts) field to event
    observed timetamp in case LogRecord doesn't contain timestamp.

    Even though ObservedTimestamp should always be present, we fall back to
    current time in case it's not.

    In addition to that, remove duplicate and redundant "timestamp"
    attribute from the AddEvents event.

    * Add additional assertions.

    * Remove dummy debug logs.

    * Create export-logs-resource-info-based-configuration

    * address PR notes - fix changelog gen

    * fix docs typo

    * fix changelog file suffix

    ---------

    Co-authored-by: Tomaz Muraus <[email protected]>
    Co-authored-by: Tomaz Muraus <[email protected]>

commit 5a582d9
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 00:31:28 2023 -0700

    [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366)

    Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric.

commit 16df49f
Author: Sean Marciniak <[email protected]>
Date:   Wed Jun 14 12:00:31 2023 +0930

    [chore] Fix datadog receiver flakey test. (open-telemetry#23336)

    * Use random address

    * Bind to localhost interface

commit 9f854da
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 22:25:29 2023 +0000

    [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338)

commit 77d8c70
Author: OpenTelemetry Bot <[email protected]>
Date:   Tue Jun 13 12:57:55 2023 -0700

    [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345)

    Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver
    Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter
    Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter
    Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver
    Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver
    Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools
    Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver

commit 6bf41e4
Author: Mackenzie <[email protected]>
Date:   Tue Jun 13 18:33:39 2023 +0200

    Add metadata.yaml as a requirement (open-telemetry#23340)

    Fixes: open-telemetry#20908.

    ---------

    Co-authored-by: Yang Song <[email protected]>

commit 563fd6f
Author: Alex Boten <[email protected]>
Date:   Tue Jun 13 09:33:00 2023 -0700

    [chore] make update-otel (open-telemetry#23278)

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d2c7c1f
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 09:45:00 2023 -0600

    [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280)

commit 375da69
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 08:23:00 2023 -0600

    [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281)

    * [chore] Deprecate unnecessary fileconsumer API

    * Add deprecation version and tentative removal version

commit 6ac5285
Author: Dewald de Jager <[email protected]>
Date:   Tue Jun 13 11:20:41 2023 +0200

    [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962)

    * Start adding the status information to the metadata schema documentation

    * Remove cmd from the list of possible classes

    * Fix spelling mistake

    Co-authored-by: Antoine Toulme <[email protected]>

    * Update the value used for the development stability status

    Co-authored-by: Antoine Toulme <[email protected]>

    * Fix the tests after updating the example metadata file

    * Document how to use mdatagen and the schema of metadata.yaml

    * Add the stability levels for connectors

    * Change the receiver type so the tests pass

    * Update the generated documentation

    * Change the syntax used for string array types so that it is valid YAML

    ---------

    Co-authored-by: Antoine Toulme <[email protected]>

commit 061eb3e
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 06:29:11 2023 +0000

    [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272)

    Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store.

    I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently.

commit ab42d69
Author: zeno-splunk <[email protected]>
Date:   Mon Jun 12 22:36:54 2023 -0700

    [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332)

    Update `kafka.brokers` metric to be non-monothonic sum instead of gauge

commit 9e4d50f
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 12 20:28:17 2023 -0700

    remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248)

    Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus

commit e0249e0
Author: Alex Boten <[email protected]>
Date:   Mon Jun 12 15:01:49 2023 -0700

    [chore] forwardconnector was not listed in the modules script (open-telemetry#23330)

    this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently

    Signed-off-by: Alex Boten <[email protected]>

commit 9d5526c
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 09:58:22 2023 -0600

    [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255)

commit bbea8aa
Author: Trask Stalnaker <[email protected]>
Date:   Mon Jun 12 08:38:45 2023 -0700

    Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268)

commit 0f8e128
Author: Tyler Helmuth <[email protected]>
Date:   Mon Jun 12 08:45:16 2023 -0600

    [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259)

    Update readme

commit 6d35fd7
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 16:33:47 2023 +0200

    [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211)

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 88ac450
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 12 17:31:02 2023 +0300

    receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851)

    * receiver/dockerstatsreceiver: add container.uptime metric

    This change adds the `container.uptime` metric which indicates time
    elapsed (in seconds) since the container started.

    * Add scraper error for invalid time format

    * Disable by default

    * empty

commit 6947357
Author: Yang Song <[email protected]>
Date:   Mon Jun 12 10:27:42 2023 -0400

    [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240)

    * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation

    * Add to changelog

    * Update exporter/datadogexporter/config.go

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Update .chloggen/datadogexporter-new-trace-configs.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Add subtext to changelog

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit b247914
Author: Raj Nishtala <[email protected]>
Date:   Mon Jun 12 10:26:18 2023 -0400

    [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210)

    * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string

    * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string

commit 3b62a17
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 07:50:37 2023 -0600

    [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254)

    * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable

    * Update .chloggen/elastic-stable-nodevesiongate.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit 6249ae8
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 13:09:13 2023 +0200

    resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740)

    * resourcedetectionprocessor: use gopsutil for host id detection

    Signed-off-by: Dominik Rosiek <[email protected]>

    * feat: use opentelemetry sdk

    Signed-off-by: Dominik Rosiek <[email protected]>

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 820510e
Author: Ziqi Zhao <[email protected]>
Date:   Mon Jun 12 18:10:33 2023 +0800

    [chore] [all] Enable exhaustive linter on golangci-lint  (open-telemetry#23242)

    Enable exhaustive linter on golangci-lint

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 752330e
Author: shalper2 <[email protected]>
Date:   Sun Jun 11 10:44:14 2023 -0500

    [receiver/webhookevent] Enable component (open-telemetry#23239)

    Graduate webhookeventreceiver component to Alpha
JimChenWYU added a commit to easyops-cn/opentelemetry-collector-contrib that referenced this issue Jun 30, 2023
commit 739e583
Author: Anthony Mirabella <[email protected]>
Date:   Tue Jun 20 18:11:41 2023 -0400

    [chore] Prepare release v0.80.0 (open-telemetry#23584)

    The following commands were run to prepare this release:
    - make chlog-update VERSION=v0.80.0
    - sed -i.bak s/0.79.0/0.80.0/g versions.yaml
    - make multimod-prerelease
    - make multimod-sync

    Additionally, changes from
    open-telemetry#23583
    were incorporated.

    ---------

    Signed-off-by: Anthony J Mirabella <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit e988fca
Author: Alex Boten <[email protected]>
Date:   Tue Jun 20 12:23:52 2023 -0700

    [chore] update otel core (open-telemetry#23578)

    Signed-off-by: Alex Boten <[email protected]>

commit 42dbc6c
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 19:51:21 2023 +0200

    aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572)

    Metric unit is required, see:
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

    This PR adds the unit to metrics where this is missing:

    - aerospike.node.query.tracked

commit 200778b
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 18:51:54 2023 +0200

    [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575)

    This func is not used. Because the receiver is the metadata struct, it
    would need to be called directly.

    This also tests field Name -- which does not exist anymore (replaced by
    Type).

    **Note:** Validation of Type will be done as part of open-telemetry#23424

commit b726aee
Author: Mend Renovate <[email protected]>
Date:   Tue Jun 20 18:49:27 2023 +0200

    chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

    This PR contains the following updates:

    | Package | Type | Update | Change |
    |---|---|---|---|
    |
    [actions/download-artifact](https://togithub.com/actions/download-artifact)
    | action | major | `v2` -> `v3` |
    |
    [actions/upload-artifact](https://togithub.com/actions/upload-artifact)
    | action | major | `v2` -> `v3` |

    ---

    <details>
    <summary>actions/download-artifact</summary>
    [`v3`](https://togithub.com/actions/download-artifact/compare/v2...v3)

    [Compare
    Source](https://togithub.com/actions/download-artifact/compare/v2...v3)

    </details>

    <details>
    <summary>actions/upload-artifact</summary>

    [Compare
    Source](https://togithub.com/actions/upload-artifact/compare/v2...v3)

    </details>

    ---

    📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
    time (no schedule defined).

    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.

    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.

    🔕 **Ignore**: Close this PR and you won't be reminded about these
    updates again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box

    ---

    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

commit 9d38d84
Author: Tigran Najaryan <[email protected]>
Date:   Tue Jun 20 12:13:20 2023 -0400

    [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455)

    - Added gzip and zstd tests to SAPM trace test.

    - Modified GenerateTraces to generate more variable data to make sure it
    is a more fair comparison when compression is enabled (otherwise it was
    compressing too well and was not representative of real-world
    workloads).

    This makes easier to see the impact of added zstd compression done in
    open-telemetry#23257

commit 9a5f723
Author: rubenruizdegauna <[email protected]>
Date:   Tue Jun 20 07:42:56 2023 +0200

    [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451)

    Currently `process.cpu.utilization` is not sent when it is enabled if
    `process.cpu.time` is disabled.
    It should be sent independently of `process.cpu.time`

commit ad2e101
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 07:21:06 2023 +0200

    [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454)

    This PR adds the bytes unit to metrics where this is missing. unit is a
    required field, see
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

commit d89a6e1
Author: Bartosz Sławianowski <[email protected]>
Date:   Mon Jun 19 21:13:53 2023 +0200

    [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453)

    Kubernetes namespace is a cluster-scoped resource and doesn't seem to
    have populated `namespace` field in Kubernetes (at least on 1.25.x and
    1.26.x).

    This PR changes it so the name of the namespace is simply taken from
    `name` field instead.

commit 6ee548b
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 19 10:51:31 2023 -0700

    [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438)

    Switch k8s.node metrics to use pdata.

commit 5fff104
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 19 13:13:11 2023 +0300

    {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445)

    This change bumps the opentelemetry-mapping-go dependency to v0.5.0
    which contains the metric remapping code. As a result, it is removed
    from the exporter.

commit b719459
Author: Antoine Toulme <[email protected]>
Date:   Sat Jun 17 10:50:17 2023 -0700

    [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437)

    Switch k8s.namespace metrics to use pdata.

commit b2238b9
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 23:08:30 2023 -0700

    [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434)

    To reduce RAM utilization.

    Resolves
    open-telemetry#23433

    This is the last PR to reduce the memory footprint of k8s API informers.
    Other objects are more static and usually don't have a lot of instances
    in user clusters, so there is no need to reduce their size.

commit 1c84fb2
Author: Dominik Rosiek <[email protected]>
Date:   Sat Jun 17 06:24:40 2023 +0200

    feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274)

    **Description:**

    deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors`

    ```
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:104        Setting up own telemetry...
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:127        Serving Prometheus metrics      {"address": ":8888", "level": "Basic"}
    2023-06-12T08:29:43.306+0200    info    [email protected]/exporter.go:275        Development component. May change in the future.        {"kind": "exporter", "data_type": "metrics", "name": "logging"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:131  Starting otelcontribcol...      {"Version": "0.79.0-dev", "NumCPU": 16}
    2023-06-12T08:29:43.308+0200    info    extensions/extensions.go:30     Starting extensions...
    2023-06-12T08:29:43.308+0200    warn    [email protected]/scraper.go:60     `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead   {"kind": "receiver", "name": "mysql", "data_type": "metrics"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:148  Everything is ready. Begin running and processing data.
    ^C2023-06-12T08:29:44.055+0200  info    otelcol/collector.go:227        Received signal from OS {"signal": "interrupt"}
    2023-06-12T08:29:44.056+0200    info    service/service.go:157  Starting shutdown...
    ```

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Curtis Robert <[email protected]>

commit c8cf780
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 15:00:42 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432)

    Do not store unused data for deployments, statefulsets and daemonsets in
    k8s API cache to reduce RAM usage.

    Updates
    open-telemetry#23433

commit 0ccde43
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 21:01:32 2023 +0200

    Document extension as value for stability in metadata.yaml (open-telemetry#23426)

    Currently, this is used in all extensions (e.g.
    [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)),
    but this is not documented in `metadata-schema.yaml`.

commit 8869951
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 11:51:00 2023 -0700

    Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431)

    …rnal metrics (open-telemetry#23369)"

    This reverts commit 42bca6f.

    Revert it until
    open-telemetry#23369 (comment)
    is resolved to avoid adding it to the next release

    Co-authored-by: Ziqi Zhao <[email protected]>

commit 6ad0589
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 19:21:23 2023 +0200

    [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213)

    This PR adds the resource attributes added by the k8sattributes
    processor to the metadata.yaml file in the resource_attributes group.
    Only the attributes which are added by default (see
    [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration))
    are marked as enabled.

    The default resource attributes defined in metadata.yaml are used to
    make the default extract::metadata list.
    Resource attributes are exposed through a different configuration
    interface. This is noted in the metadata.yaml file.

commit a4585ce
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:57:52 2023 -0700

    [chore] retry sending coverage output (open-telemetry#23413)

commit 195ef43
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:50:14 2023 -0700

    [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416)

commit 0ae07ba
Author: Pablo Baeyens <[email protected]>
Date:   Fri Jun 16 11:05:52 2023 +0200

    [chore] Clean up CODEOWNERS (open-telemetry#23382)

    **Description:**

    Clean up CODEOWNERS file to remove redundant lines; add these to the
    ALLOWLIST.

    **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG

commit a5cdd2f
Author: atshaw43 <[email protected]>
Date:   Fri Jun 16 00:11:17 2023 -0700

    [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313)

    Add link span link support and support for the messaging field.

    We are conforming to the OTel spec:
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110

commit 42bca6f
Author: Ziqi Zhao <[email protected]>
Date:   Fri Jun 16 14:51:10 2023 +0800

    [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369)

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 559f19c
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:45 2023 -0700

    [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419)

    **Description:**
    Switch k8s.rq metrics to use pdata.

commit 2e11f46
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:20 2023 -0700

    [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420)

commit 5cfcdeb
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 17:59:51 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417)

    This change removes unused k8s informer data from the cache to reduce RAM utilization.

    Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage.

commit 260f34f
Author: linfn <[email protected]>
Date:   Fri Jun 16 02:44:06 2023 +0800

    [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799)

    In Skywalking, parentSpanId == -1 indicates that the span is [the first
    span within the current
    segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119),
    rather than within the entire trace. Leaving parentSpanId blank can
    cause the call relationship to be lost when crossing segments.

commit f709809
Author: Sam DeHaan <[email protected]>
Date:   Thu Jun 15 14:42:59 2023 -0400

    [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363)

    Access Logs required permissions for monitoring were
    not documented in the receiver README.

    Should have been documented for
    open-telemetry#21182

commit 8885502
Author: Raj Nishtala <[email protected]>
Date:   Thu Jun 15 14:41:37 2023 -0400

    [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414)

    Updating CODEOWNERS for processor/groupbyattrsprocessor

commit d98e12b
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:21:42 2023 -0700

    [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409)

commit fd526ee
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:16:33 2023 -0700

    [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408)

    Rebase of open-telemetry#18250 with latest main.

    ---------

    Signed-off-by: Bogdan Drutu <[email protected]>
    Co-authored-by: Bogdan Drutu <[email protected]>

commit e6e1e76
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 10:10:13 2023 -0700

    [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403)

    Do not drop `container.cpu.time` metric in the default translations so
    it can be enabled in the `include_metrics` config option.

    This is the only metric that is dropped in the translations. All other
    metrics are being kept.

commit 65a1dea
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 08:09:39 2023 -0700

    [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410)

    Try sending data a few times to fix flakiness of test.

    **Link to tracking Issue:**
    Fixes open-telemetry#23381

commit 9f0032e
Author: Pablo Baeyens <[email protected]>
Date:   Thu Jun 15 14:43:18 2023 +0200

    [chore] make gotidy (open-telemetry#23412)

    Fixes main after open-telemetry#23257

commit ae15d8c
Author: Tigran Najaryan <[email protected]>
Date:   Thu Jun 15 07:04:14 2023 -0400

    Add zstd compression to SAPM receiver and exporter (open-telemetry#23257)

    - Updated github.com/signalfx/sapm-proto to v0.13.0
    - Added "compression" config setting to sapm exporter
    - Added tests to verify various compression settings for sapm receiver
    and exporter.

commit c2658a7
Author: Mike Dame <[email protected]>
Date:   Thu Jun 15 06:58:12 2023 -0400

    [chore] Update GCP codeowners (open-telemetry#22781)

    Updating CODEOWNERS entries for GCP exporters

commit c7462f2
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 23:40:16 2023 -0700

    [chore] add k8sclusterreceiver e2e test (open-telemetry#23386)

    Adds an e2e test for k8sclusterreceiver with a golden metrics file.

commit 1bf2547
Author: Andrzej Stencel <[email protected]>
Date:   Wed Jun 14 22:40:06 2023 +0200

    [receiver/sqlquery] add support for logs (open-telemetry#20730)

    Fixes open-telemetry#20284

    This introduces initial support for retrieving rows from SQL databases
    into logs.

    This PR aims to provide an initial, not feature rich, but production
    ready implementation. The following features are available:

    - Use `body_column` to select the column to use to fill the Body field
    of the created log
    - Use `tracking_start_value` and `tracking_column` properties to track
    rows that were already ingested
    - Use `storage` property to persist the tracking value across collector
    restarts

    In this state and marked as "development" stability, the component can
    be used for experimentation and to guide future development.

    There are definitely more things that need to be implemented for this
    component to be considered "alpha" quality - like filling in other [log
    fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition)
    like Timestamp, ObservedTimestamp and others. I would like to add them
    in subsequent pull requests, as this pull request is already way too
    big.

    ---------

    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>

commit e7608db
Author: Irina <[email protected]>
Date:   Wed Jun 14 19:50:04 2023 +0100

    [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733)

    **Description:**
    There is currently no way to get the
    [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396)
    field from plog.LogRecord into Loki.
    Added Flags field to lokiEntry in this PR

    **Link to tracking Issue:**
    open-telemetry#21650

    **Testing:** Added unit tests

commit 50bbb9f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:42:33 2023 +0200

    [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384)

    cc @jpkrohling @pavankrish123

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit a4dda5b
Author: Vastin <[email protected]>
Date:   Wed Jun 14 13:12:48 2023 -0500

    [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626)

    **Description:**

    This PR adds [exponential
    histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram)
    support in `awsemfexporter`. The exponential histogram metrics are
    exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and
    Min are set as Statistical Set. The mid-point values and counts of
    exponential histogram buckets are translated into Values/Counts array of
    EMF log entry as well.

    **Testing:**

    The unit test is added and covers positive, zero and negative values.

    The integration test is performed with following OTEL collector
    configuration.
    ```
    extensions:
      health_check:
    receivers:
      otlp:
        protocols:
          grpc:
            endpoint: 0.0.0.0:4317
          http:
            endpoint: 0.0.0.0:4318

    processors:
      batch/metrics:
        timeout: 60s

    exporters:
      logging:
        verbosity: detailed
      awsemf:
        region: 'us-east-1'
        namespace: "Test"
        dimension_rollup_option: "NoDimensionRollup"

    service:
      pipelines:
        metrics:
          receivers: [otlp]
          processors: [batch/metrics]
          exporters: [awsemf, logging]
      extensions: [health_check]
      telemetry:
        logs:
          level: "debug"
    ```
    It generated EMF log for histogram metrics in following JSON format.
    Notes: It doesn't cover negative values since histograms can [only
    record non-negative
    values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram)
    and will [drop negative
    values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44).

    ```
        "latency": {
            "Values": [
                309.4277237034415,
                323.12725941969757,
                326.64588457862067,
                344.8221530867399,
                520.3933272846809,
                531.7884573308439,
                537.579253961712,
                543.4331082335607,
                549.3507067990806,
                555.3327437881196,
                561.3799208891041,
                567.4929474313465,
                720.1774681373079,
                0
            ],
            "Counts": [
                1,
                1,
                1,
                1,
                1,
                3,
                4,
                2,
                2,
                3,
                1,
                1,
                1,
                22
            ],
            "Max": 720,
            "Min": 0,
            "Count": 44,
            "Sum": 11265
        }
    ```

commit f66845f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:09:35 2023 +0200

    [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739)

    Closes open-telemetry#22737

    ---------

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit 6a83a9a
Author: Dominik Rosiek <[email protected]>
Date:   Wed Jun 14 19:11:38 2023 +0200

    [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337)

    Deprecate options which are going to be removed

    **Link to tracking Issue:** open-telemetry#23059

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Mikołaj Świątek <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit 3faedfc
Author: OpenTelemetry Bot <[email protected]>
Date:   Wed Jun 14 09:39:22 2023 -0700

    [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380)

    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awsxrayreceiver

commit d9326aa
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 09:13:30 2023 -0700

    [chore] mark components as unmaintained (open-telemetry#23379)

    These components no longer have an active code owner as a result of

    Signed-off-by: Alex Boten <[email protected]>

commit 8729c16
Author: Daniel Jaglowski <[email protected]>
Date:   Wed Jun 14 09:32:35 2023 -0600

    [chore] Enable exhaustive linter for several modules (open-telemetry#23329)

    Updates open-telemetry#23266

    - receiver/nsxt
    - receiver/snmp
    - connector/count
    - extension/storage
    - pkg/stanza

commit 52d87f8
Author: Evan Bradley <[email protected]>
Date:   Wed Jun 14 11:30:51 2023 -0400

    [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143)

    This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context.

    **Link to tracking Issue:**

    Implements open-telemetry#18461
    Co-authored-by: Matej Gera <[email protected]>

    ---------

    Co-authored-by: Evan Bradley <[email protected]>
    Co-authored-by: Matej Gera <[email protected]>

commit 31bfef7
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 08:18:27 2023 -0700

    [chore] bump go version for linting (open-telemetry#23346)

    After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment)

    I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues.

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d79f3c0
Author: Curtis Robert <[email protected]>
Date:   Wed Jun 14 08:05:56 2023 -0700

    [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368)

    As a result of issue open-telemetry#23246, a few components are now unmaintained.
    These need to be documented in the ALLOWLIST file.

commit 19e2a2d
Author: Tomáš Žďára <[email protected]>
Date:   Wed Jun 14 11:22:35 2023 +0200

    DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250)

    * DSET-3998 - export Logs resource info based on     export_resource_info_on_event configuration

    * DSET-3998 - simplify

    * DSET-3998 - improve docs

    * Fix log exporter to set AddEvents Event timestamp (ts) field to event
    observed timetamp in case LogRecord doesn't contain timestamp.

    Even though ObservedTimestamp should always be present, we fall back to
    current time in case it's not.

    In addition to that, remove duplicate and redundant "timestamp"
    attribute from the AddEvents event.

    * Add additional assertions.

    * Remove dummy debug logs.

    * Create export-logs-resource-info-based-configuration

    * address PR notes - fix changelog gen

    * fix docs typo

    * fix changelog file suffix

    ---------

    Co-authored-by: Tomaz Muraus <[email protected]>
    Co-authored-by: Tomaz Muraus <[email protected]>

commit 5a582d9
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 00:31:28 2023 -0700

    [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366)

    Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric.

commit 16df49f
Author: Sean Marciniak <[email protected]>
Date:   Wed Jun 14 12:00:31 2023 +0930

    [chore] Fix datadog receiver flakey test. (open-telemetry#23336)

    * Use random address

    * Bind to localhost interface

commit 9f854da
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 22:25:29 2023 +0000

    [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338)

commit 77d8c70
Author: OpenTelemetry Bot <[email protected]>
Date:   Tue Jun 13 12:57:55 2023 -0700

    [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345)

    Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver
    Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter
    Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter
    Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver
    Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver
    Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools
    Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver

commit 6bf41e4
Author: Mackenzie <[email protected]>
Date:   Tue Jun 13 18:33:39 2023 +0200

    Add metadata.yaml as a requirement (open-telemetry#23340)

    Fixes: open-telemetry#20908.

    ---------

    Co-authored-by: Yang Song <[email protected]>

commit 563fd6f
Author: Alex Boten <[email protected]>
Date:   Tue Jun 13 09:33:00 2023 -0700

    [chore] make update-otel (open-telemetry#23278)

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d2c7c1f
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 09:45:00 2023 -0600

    [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280)

commit 375da69
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 08:23:00 2023 -0600

    [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281)

    * [chore] Deprecate unnecessary fileconsumer API

    * Add deprecation version and tentative removal version

commit 6ac5285
Author: Dewald de Jager <[email protected]>
Date:   Tue Jun 13 11:20:41 2023 +0200

    [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962)

    * Start adding the status information to the metadata schema documentation

    * Remove cmd from the list of possible classes

    * Fix spelling mistake

    Co-authored-by: Antoine Toulme <[email protected]>

    * Update the value used for the development stability status

    Co-authored-by: Antoine Toulme <[email protected]>

    * Fix the tests after updating the example metadata file

    * Document how to use mdatagen and the schema of metadata.yaml

    * Add the stability levels for connectors

    * Change the receiver type so the tests pass

    * Update the generated documentation

    * Change the syntax used for string array types so that it is valid YAML

    ---------

    Co-authored-by: Antoine Toulme <[email protected]>

commit 061eb3e
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 06:29:11 2023 +0000

    [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272)

    Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store.

    I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently.

commit ab42d69
Author: zeno-splunk <[email protected]>
Date:   Mon Jun 12 22:36:54 2023 -0700

    [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332)

    Update `kafka.brokers` metric to be non-monothonic sum instead of gauge

commit 9e4d50f
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 12 20:28:17 2023 -0700

    remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248)

    Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus

commit e0249e0
Author: Alex Boten <[email protected]>
Date:   Mon Jun 12 15:01:49 2023 -0700

    [chore] forwardconnector was not listed in the modules script (open-telemetry#23330)

    this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently

    Signed-off-by: Alex Boten <[email protected]>

commit 9d5526c
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 09:58:22 2023 -0600

    [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255)

commit bbea8aa
Author: Trask Stalnaker <[email protected]>
Date:   Mon Jun 12 08:38:45 2023 -0700

    Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268)

commit 0f8e128
Author: Tyler Helmuth <[email protected]>
Date:   Mon Jun 12 08:45:16 2023 -0600

    [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259)

    Update readme

commit 6d35fd7
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 16:33:47 2023 +0200

    [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211)

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 88ac450
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 12 17:31:02 2023 +0300

    receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851)

    * receiver/dockerstatsreceiver: add container.uptime metric

    This change adds the `container.uptime` metric which indicates time
    elapsed (in seconds) since the container started.

    * Add scraper error for invalid time format

    * Disable by default

    * empty

commit 6947357
Author: Yang Song <[email protected]>
Date:   Mon Jun 12 10:27:42 2023 -0400

    [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240)

    * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation

    * Add to changelog

    * Update exporter/datadogexporter/config.go

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Update .chloggen/datadogexporter-new-trace-configs.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Add subtext to changelog

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit b247914
Author: Raj Nishtala <[email protected]>
Date:   Mon Jun 12 10:26:18 2023 -0400

    [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210)

    * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string

    * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string

commit 3b62a17
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 07:50:37 2023 -0600

    [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254)

    * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable

    * Update .chloggen/elastic-stable-nodevesiongate.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit 6249ae8
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 13:09:13 2023 +0200

    resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740)

    * resourcedetectionprocessor: use gopsutil for host id detection

    Signed-off-by: Dominik Rosiek <[email protected]>

    * feat: use opentelemetry sdk

    Signed-off-by: Dominik Rosiek <[email protected]>

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 820510e
Author: Ziqi Zhao <[email protected]>
Date:   Mon Jun 12 18:10:33 2023 +0800

    [chore] [all] Enable exhaustive linter on golangci-lint  (open-telemetry#23242)

    Enable exhaustive linter on golangci-lint

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 752330e
Author: shalper2 <[email protected]>
Date:   Sun Jun 11 10:44:14 2023 -0500

    [receiver/webhookevent] Enable component (open-telemetry#23239)

    Graduate webhookeventreceiver component to Alpha

Co-authored-by: jimchen <[email protected]>
Caleb-Hurshman pushed a commit to observIQ/opentelemetry-collector-contrib that referenced this issue Jul 6, 2023
After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment)

I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues.

---------

Signed-off-by: Alex Boten <[email protected]>
JimChenWYU pushed a commit to easyops-cn/opentelemetry-collector-contrib that referenced this issue Jul 8, 2023
commit 739e583
Author: Anthony Mirabella <[email protected]>
Date:   Tue Jun 20 18:11:41 2023 -0400

    [chore] Prepare release v0.80.0 (open-telemetry#23584)

    The following commands were run to prepare this release:
    - make chlog-update VERSION=v0.80.0
    - sed -i.bak s/0.79.0/0.80.0/g versions.yaml
    - make multimod-prerelease
    - make multimod-sync

    Additionally, changes from
    open-telemetry#23583
    were incorporated.

    ---------

    Signed-off-by: Anthony J Mirabella <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit e988fca
Author: Alex Boten <[email protected]>
Date:   Tue Jun 20 12:23:52 2023 -0700

    [chore] update otel core (open-telemetry#23578)

    Signed-off-by: Alex Boten <[email protected]>

commit 42dbc6c
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 19:51:21 2023 +0200

    aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572)

    Metric unit is required, see:
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

    This PR adds the unit to metrics where this is missing:

    - aerospike.node.query.tracked

commit 200778b
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 18:51:54 2023 +0200

    [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575)

    This func is not used. Because the receiver is the metadata struct, it
    would need to be called directly.

    This also tests field Name -- which does not exist anymore (replaced by
    Type).

    **Note:** Validation of Type will be done as part of open-telemetry#23424

commit b726aee
Author: Mend Renovate <[email protected]>
Date:   Tue Jun 20 18:49:27 2023 +0200

    chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

    This PR contains the following updates:

    | Package | Type | Update | Change |
    |---|---|---|---|
    |
    [actions/download-artifact](https://togithub.com/actions/download-artifact)
    | action | major | `v2` -> `v3` |
    |
    [actions/upload-artifact](https://togithub.com/actions/upload-artifact)
    | action | major | `v2` -> `v3` |

    ---

    <details>
    <summary>actions/download-artifact</summary>
    [`v3`](https://togithub.com/actions/download-artifact/compare/v2...v3)

    [Compare
    Source](https://togithub.com/actions/download-artifact/compare/v2...v3)

    </details>

    <details>
    <summary>actions/upload-artifact</summary>

    [Compare
    Source](https://togithub.com/actions/upload-artifact/compare/v2...v3)

    </details>

    ---

    📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
    time (no schedule defined).

    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.

    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.

    🔕 **Ignore**: Close this PR and you won't be reminded about these
    updates again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box

    ---

    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

commit 9d38d84
Author: Tigran Najaryan <[email protected]>
Date:   Tue Jun 20 12:13:20 2023 -0400

    [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455)

    - Added gzip and zstd tests to SAPM trace test.

    - Modified GenerateTraces to generate more variable data to make sure it
    is a more fair comparison when compression is enabled (otherwise it was
    compressing too well and was not representative of real-world
    workloads).

    This makes easier to see the impact of added zstd compression done in
    open-telemetry#23257

commit 9a5f723
Author: rubenruizdegauna <[email protected]>
Date:   Tue Jun 20 07:42:56 2023 +0200

    [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451)

    Currently `process.cpu.utilization` is not sent when it is enabled if
    `process.cpu.time` is disabled.
    It should be sent independently of `process.cpu.time`

commit ad2e101
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 07:21:06 2023 +0200

    [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454)

    This PR adds the bytes unit to metrics where this is missing. unit is a
    required field, see
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

commit d89a6e1
Author: Bartosz Sławianowski <[email protected]>
Date:   Mon Jun 19 21:13:53 2023 +0200

    [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453)

    Kubernetes namespace is a cluster-scoped resource and doesn't seem to
    have populated `namespace` field in Kubernetes (at least on 1.25.x and
    1.26.x).

    This PR changes it so the name of the namespace is simply taken from
    `name` field instead.

commit 6ee548b
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 19 10:51:31 2023 -0700

    [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438)

    Switch k8s.node metrics to use pdata.

commit 5fff104
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 19 13:13:11 2023 +0300

    {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445)

    This change bumps the opentelemetry-mapping-go dependency to v0.5.0
    which contains the metric remapping code. As a result, it is removed
    from the exporter.

commit b719459
Author: Antoine Toulme <[email protected]>
Date:   Sat Jun 17 10:50:17 2023 -0700

    [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437)

    Switch k8s.namespace metrics to use pdata.

commit b2238b9
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 23:08:30 2023 -0700

    [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434)

    To reduce RAM utilization.

    Resolves
    open-telemetry#23433

    This is the last PR to reduce the memory footprint of k8s API informers.
    Other objects are more static and usually don't have a lot of instances
    in user clusters, so there is no need to reduce their size.

commit 1c84fb2
Author: Dominik Rosiek <[email protected]>
Date:   Sat Jun 17 06:24:40 2023 +0200

    feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274)

    **Description:**

    deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors`

    ```
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:104        Setting up own telemetry...
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:127        Serving Prometheus metrics      {"address": ":8888", "level": "Basic"}
    2023-06-12T08:29:43.306+0200    info    [email protected]/exporter.go:275        Development component. May change in the future.        {"kind": "exporter", "data_type": "metrics", "name": "logging"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:131  Starting otelcontribcol...      {"Version": "0.79.0-dev", "NumCPU": 16}
    2023-06-12T08:29:43.308+0200    info    extensions/extensions.go:30     Starting extensions...
    2023-06-12T08:29:43.308+0200    warn    [email protected]/scraper.go:60     `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead   {"kind": "receiver", "name": "mysql", "data_type": "metrics"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:148  Everything is ready. Begin running and processing data.
    ^C2023-06-12T08:29:44.055+0200  info    otelcol/collector.go:227        Received signal from OS {"signal": "interrupt"}
    2023-06-12T08:29:44.056+0200    info    service/service.go:157  Starting shutdown...
    ```

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Curtis Robert <[email protected]>

commit c8cf780
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 15:00:42 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432)

    Do not store unused data for deployments, statefulsets and daemonsets in
    k8s API cache to reduce RAM usage.

    Updates
    open-telemetry#23433

commit 0ccde43
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 21:01:32 2023 +0200

    Document extension as value for stability in metadata.yaml (open-telemetry#23426)

    Currently, this is used in all extensions (e.g.
    [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)),
    but this is not documented in `metadata-schema.yaml`.

commit 8869951
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 11:51:00 2023 -0700

    Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431)

    …rnal metrics (open-telemetry#23369)"

    This reverts commit 42bca6f.

    Revert it until
    open-telemetry#23369 (comment)
    is resolved to avoid adding it to the next release

    Co-authored-by: Ziqi Zhao <[email protected]>

commit 6ad0589
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 19:21:23 2023 +0200

    [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213)

    This PR adds the resource attributes added by the k8sattributes
    processor to the metadata.yaml file in the resource_attributes group.
    Only the attributes which are added by default (see
    [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration))
    are marked as enabled.

    The default resource attributes defined in metadata.yaml are used to
    make the default extract::metadata list.
    Resource attributes are exposed through a different configuration
    interface. This is noted in the metadata.yaml file.

commit a4585ce
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:57:52 2023 -0700

    [chore] retry sending coverage output (open-telemetry#23413)

commit 195ef43
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:50:14 2023 -0700

    [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416)

commit 0ae07ba
Author: Pablo Baeyens <[email protected]>
Date:   Fri Jun 16 11:05:52 2023 +0200

    [chore] Clean up CODEOWNERS (open-telemetry#23382)

    **Description:**

    Clean up CODEOWNERS file to remove redundant lines; add these to the
    ALLOWLIST.

    **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG

commit a5cdd2f
Author: atshaw43 <[email protected]>
Date:   Fri Jun 16 00:11:17 2023 -0700

    [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313)

    Add link span link support and support for the messaging field.

    We are conforming to the OTel spec:
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110

commit 42bca6f
Author: Ziqi Zhao <[email protected]>
Date:   Fri Jun 16 14:51:10 2023 +0800

    [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369)

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 559f19c
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:45 2023 -0700

    [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419)

    **Description:**
    Switch k8s.rq metrics to use pdata.

commit 2e11f46
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:20 2023 -0700

    [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420)

commit 5cfcdeb
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 17:59:51 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417)

    This change removes unused k8s informer data from the cache to reduce RAM utilization.

    Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage.

commit 260f34f
Author: linfn <[email protected]>
Date:   Fri Jun 16 02:44:06 2023 +0800

    [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799)

    In Skywalking, parentSpanId == -1 indicates that the span is [the first
    span within the current
    segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119),
    rather than within the entire trace. Leaving parentSpanId blank can
    cause the call relationship to be lost when crossing segments.

commit f709809
Author: Sam DeHaan <[email protected]>
Date:   Thu Jun 15 14:42:59 2023 -0400

    [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363)

    Access Logs required permissions for monitoring were
    not documented in the receiver README.

    Should have been documented for
    open-telemetry#21182

commit 8885502
Author: Raj Nishtala <[email protected]>
Date:   Thu Jun 15 14:41:37 2023 -0400

    [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414)

    Updating CODEOWNERS for processor/groupbyattrsprocessor

commit d98e12b
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:21:42 2023 -0700

    [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409)

commit fd526ee
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:16:33 2023 -0700

    [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408)

    Rebase of open-telemetry#18250 with latest main.

    ---------

    Signed-off-by: Bogdan Drutu <[email protected]>
    Co-authored-by: Bogdan Drutu <[email protected]>

commit e6e1e76
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 10:10:13 2023 -0700

    [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403)

    Do not drop `container.cpu.time` metric in the default translations so
    it can be enabled in the `include_metrics` config option.

    This is the only metric that is dropped in the translations. All other
    metrics are being kept.

commit 65a1dea
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 08:09:39 2023 -0700

    [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410)

    Try sending data a few times to fix flakiness of test.

    **Link to tracking Issue:**
    Fixes open-telemetry#23381

commit 9f0032e
Author: Pablo Baeyens <[email protected]>
Date:   Thu Jun 15 14:43:18 2023 +0200

    [chore] make gotidy (open-telemetry#23412)

    Fixes main after open-telemetry#23257

commit ae15d8c
Author: Tigran Najaryan <[email protected]>
Date:   Thu Jun 15 07:04:14 2023 -0400

    Add zstd compression to SAPM receiver and exporter (open-telemetry#23257)

    - Updated github.com/signalfx/sapm-proto to v0.13.0
    - Added "compression" config setting to sapm exporter
    - Added tests to verify various compression settings for sapm receiver
    and exporter.

commit c2658a7
Author: Mike Dame <[email protected]>
Date:   Thu Jun 15 06:58:12 2023 -0400

    [chore] Update GCP codeowners (open-telemetry#22781)

    Updating CODEOWNERS entries for GCP exporters

commit c7462f2
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 23:40:16 2023 -0700

    [chore] add k8sclusterreceiver e2e test (open-telemetry#23386)

    Adds an e2e test for k8sclusterreceiver with a golden metrics file.

commit 1bf2547
Author: Andrzej Stencel <[email protected]>
Date:   Wed Jun 14 22:40:06 2023 +0200

    [receiver/sqlquery] add support for logs (open-telemetry#20730)

    Fixes open-telemetry#20284

    This introduces initial support for retrieving rows from SQL databases
    into logs.

    This PR aims to provide an initial, not feature rich, but production
    ready implementation. The following features are available:

    - Use `body_column` to select the column to use to fill the Body field
    of the created log
    - Use `tracking_start_value` and `tracking_column` properties to track
    rows that were already ingested
    - Use `storage` property to persist the tracking value across collector
    restarts

    In this state and marked as "development" stability, the component can
    be used for experimentation and to guide future development.

    There are definitely more things that need to be implemented for this
    component to be considered "alpha" quality - like filling in other [log
    fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition)
    like Timestamp, ObservedTimestamp and others. I would like to add them
    in subsequent pull requests, as this pull request is already way too
    big.

    ---------

    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>

commit e7608db
Author: Irina <[email protected]>
Date:   Wed Jun 14 19:50:04 2023 +0100

    [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733)

    **Description:**
    There is currently no way to get the
    [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396)
    field from plog.LogRecord into Loki.
    Added Flags field to lokiEntry in this PR

    **Link to tracking Issue:**
    open-telemetry#21650

    **Testing:** Added unit tests

commit 50bbb9f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:42:33 2023 +0200

    [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384)

    cc @jpkrohling @pavankrish123

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit a4dda5b
Author: Vastin <[email protected]>
Date:   Wed Jun 14 13:12:48 2023 -0500

    [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626)

    **Description:**

    This PR adds [exponential
    histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram)
    support in `awsemfexporter`. The exponential histogram metrics are
    exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and
    Min are set as Statistical Set. The mid-point values and counts of
    exponential histogram buckets are translated into Values/Counts array of
    EMF log entry as well.

    **Testing:**

    The unit test is added and covers positive, zero and negative values.

    The integration test is performed with following OTEL collector
    configuration.
    ```
    extensions:
      health_check:
    receivers:
      otlp:
        protocols:
          grpc:
            endpoint: 0.0.0.0:4317
          http:
            endpoint: 0.0.0.0:4318

    processors:
      batch/metrics:
        timeout: 60s

    exporters:
      logging:
        verbosity: detailed
      awsemf:
        region: 'us-east-1'
        namespace: "Test"
        dimension_rollup_option: "NoDimensionRollup"

    service:
      pipelines:
        metrics:
          receivers: [otlp]
          processors: [batch/metrics]
          exporters: [awsemf, logging]
      extensions: [health_check]
      telemetry:
        logs:
          level: "debug"
    ```
    It generated EMF log for histogram metrics in following JSON format.
    Notes: It doesn't cover negative values since histograms can [only
    record non-negative
    values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram)
    and will [drop negative
    values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44).

    ```
        "latency": {
            "Values": [
                309.4277237034415,
                323.12725941969757,
                326.64588457862067,
                344.8221530867399,
                520.3933272846809,
                531.7884573308439,
                537.579253961712,
                543.4331082335607,
                549.3507067990806,
                555.3327437881196,
                561.3799208891041,
                567.4929474313465,
                720.1774681373079,
                0
            ],
            "Counts": [
                1,
                1,
                1,
                1,
                1,
                3,
                4,
                2,
                2,
                3,
                1,
                1,
                1,
                22
            ],
            "Max": 720,
            "Min": 0,
            "Count": 44,
            "Sum": 11265
        }
    ```

commit f66845f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:09:35 2023 +0200

    [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739)

    Closes open-telemetry#22737

    ---------

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit 6a83a9a
Author: Dominik Rosiek <[email protected]>
Date:   Wed Jun 14 19:11:38 2023 +0200

    [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337)

    Deprecate options which are going to be removed

    **Link to tracking Issue:** open-telemetry#23059

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Mikołaj Świątek <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit 3faedfc
Author: OpenTelemetry Bot <[email protected]>
Date:   Wed Jun 14 09:39:22 2023 -0700

    [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380)

    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awsxrayreceiver

commit d9326aa
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 09:13:30 2023 -0700

    [chore] mark components as unmaintained (open-telemetry#23379)

    These components no longer have an active code owner as a result of

    Signed-off-by: Alex Boten <[email protected]>

commit 8729c16
Author: Daniel Jaglowski <[email protected]>
Date:   Wed Jun 14 09:32:35 2023 -0600

    [chore] Enable exhaustive linter for several modules (open-telemetry#23329)

    Updates open-telemetry#23266

    - receiver/nsxt
    - receiver/snmp
    - connector/count
    - extension/storage
    - pkg/stanza

commit 52d87f8
Author: Evan Bradley <[email protected]>
Date:   Wed Jun 14 11:30:51 2023 -0400

    [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143)

    This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context.

    **Link to tracking Issue:**

    Implements open-telemetry#18461
    Co-authored-by: Matej Gera <[email protected]>

    ---------

    Co-authored-by: Evan Bradley <[email protected]>
    Co-authored-by: Matej Gera <[email protected]>

commit 31bfef7
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 08:18:27 2023 -0700

    [chore] bump go version for linting (open-telemetry#23346)

    After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment)

    I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues.

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d79f3c0
Author: Curtis Robert <[email protected]>
Date:   Wed Jun 14 08:05:56 2023 -0700

    [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368)

    As a result of issue open-telemetry#23246, a few components are now unmaintained.
    These need to be documented in the ALLOWLIST file.

commit 19e2a2d
Author: Tomáš Žďára <[email protected]>
Date:   Wed Jun 14 11:22:35 2023 +0200

    DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250)

    * DSET-3998 - export Logs resource info based on     export_resource_info_on_event configuration

    * DSET-3998 - simplify

    * DSET-3998 - improve docs

    * Fix log exporter to set AddEvents Event timestamp (ts) field to event
    observed timetamp in case LogRecord doesn't contain timestamp.

    Even though ObservedTimestamp should always be present, we fall back to
    current time in case it's not.

    In addition to that, remove duplicate and redundant "timestamp"
    attribute from the AddEvents event.

    * Add additional assertions.

    * Remove dummy debug logs.

    * Create export-logs-resource-info-based-configuration

    * address PR notes - fix changelog gen

    * fix docs typo

    * fix changelog file suffix

    ---------

    Co-authored-by: Tomaz Muraus <[email protected]>
    Co-authored-by: Tomaz Muraus <[email protected]>

commit 5a582d9
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 00:31:28 2023 -0700

    [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366)

    Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric.

commit 16df49f
Author: Sean Marciniak <[email protected]>
Date:   Wed Jun 14 12:00:31 2023 +0930

    [chore] Fix datadog receiver flakey test. (open-telemetry#23336)

    * Use random address

    * Bind to localhost interface

commit 9f854da
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 22:25:29 2023 +0000

    [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338)

commit 77d8c70
Author: OpenTelemetry Bot <[email protected]>
Date:   Tue Jun 13 12:57:55 2023 -0700

    [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345)

    Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver
    Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter
    Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter
    Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver
    Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver
    Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools
    Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver

commit 6bf41e4
Author: Mackenzie <[email protected]>
Date:   Tue Jun 13 18:33:39 2023 +0200

    Add metadata.yaml as a requirement (open-telemetry#23340)

    Fixes: open-telemetry#20908.

    ---------

    Co-authored-by: Yang Song <[email protected]>

commit 563fd6f
Author: Alex Boten <[email protected]>
Date:   Tue Jun 13 09:33:00 2023 -0700

    [chore] make update-otel (open-telemetry#23278)

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d2c7c1f
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 09:45:00 2023 -0600

    [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280)

commit 375da69
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 08:23:00 2023 -0600

    [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281)

    * [chore] Deprecate unnecessary fileconsumer API

    * Add deprecation version and tentative removal version

commit 6ac5285
Author: Dewald de Jager <[email protected]>
Date:   Tue Jun 13 11:20:41 2023 +0200

    [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962)

    * Start adding the status information to the metadata schema documentation

    * Remove cmd from the list of possible classes

    * Fix spelling mistake

    Co-authored-by: Antoine Toulme <[email protected]>

    * Update the value used for the development stability status

    Co-authored-by: Antoine Toulme <[email protected]>

    * Fix the tests after updating the example metadata file

    * Document how to use mdatagen and the schema of metadata.yaml

    * Add the stability levels for connectors

    * Change the receiver type so the tests pass

    * Update the generated documentation

    * Change the syntax used for string array types so that it is valid YAML

    ---------

    Co-authored-by: Antoine Toulme <[email protected]>

commit 061eb3e
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 06:29:11 2023 +0000

    [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272)

    Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store.

    I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently.

commit ab42d69
Author: zeno-splunk <[email protected]>
Date:   Mon Jun 12 22:36:54 2023 -0700

    [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332)

    Update `kafka.brokers` metric to be non-monothonic sum instead of gauge

commit 9e4d50f
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 12 20:28:17 2023 -0700

    remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248)

    Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus

commit e0249e0
Author: Alex Boten <[email protected]>
Date:   Mon Jun 12 15:01:49 2023 -0700

    [chore] forwardconnector was not listed in the modules script (open-telemetry#23330)

    this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently

    Signed-off-by: Alex Boten <[email protected]>

commit 9d5526c
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 09:58:22 2023 -0600

    [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255)

commit bbea8aa
Author: Trask Stalnaker <[email protected]>
Date:   Mon Jun 12 08:38:45 2023 -0700

    Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268)

commit 0f8e128
Author: Tyler Helmuth <[email protected]>
Date:   Mon Jun 12 08:45:16 2023 -0600

    [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259)

    Update readme

commit 6d35fd7
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 16:33:47 2023 +0200

    [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211)

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 88ac450
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 12 17:31:02 2023 +0300

    receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851)

    * receiver/dockerstatsreceiver: add container.uptime metric

    This change adds the `container.uptime` metric which indicates time
    elapsed (in seconds) since the container started.

    * Add scraper error for invalid time format

    * Disable by default

    * empty

commit 6947357
Author: Yang Song <[email protected]>
Date:   Mon Jun 12 10:27:42 2023 -0400

    [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240)

    * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation

    * Add to changelog

    * Update exporter/datadogexporter/config.go

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Update .chloggen/datadogexporter-new-trace-configs.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Add subtext to changelog

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit b247914
Author: Raj Nishtala <[email protected]>
Date:   Mon Jun 12 10:26:18 2023 -0400

    [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210)

    * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string

    * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string

commit 3b62a17
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 07:50:37 2023 -0600

    [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254)

    * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable

    * Update .chloggen/elastic-stable-nodevesiongate.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit 6249ae8
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 13:09:13 2023 +0200

    resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740)

    * resourcedetectionprocessor: use gopsutil for host id detection

    Signed-off-by: Dominik Rosiek <[email protected]>

    * feat: use opentelemetry sdk

    Signed-off-by: Dominik Rosiek <[email protected]>

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 820510e
Author: Ziqi Zhao <[email protected]>
Date:   Mon Jun 12 18:10:33 2023 +0800

    [chore] [all] Enable exhaustive linter on golangci-lint  (open-telemetry#23242)

    Enable exhaustive linter on golangci-lint

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 752330e
Author: shalper2 <[email protected]>
Date:   Sun Jun 11 10:44:14 2023 -0500

    [receiver/webhookevent] Enable component (open-telemetry#23239)

    Graduate webhookeventreceiver component to Alpha
JimChenWYU added a commit to easyops-cn/opentelemetry-collector-contrib that referenced this issue Jul 8, 2023
commit 739e583
Author: Anthony Mirabella <[email protected]>
Date:   Tue Jun 20 18:11:41 2023 -0400

    [chore] Prepare release v0.80.0 (open-telemetry#23584)

    The following commands were run to prepare this release:
    - make chlog-update VERSION=v0.80.0
    - sed -i.bak s/0.79.0/0.80.0/g versions.yaml
    - make multimod-prerelease
    - make multimod-sync

    Additionally, changes from
    open-telemetry#23583
    were incorporated.

    ---------

    Signed-off-by: Anthony J Mirabella <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit e988fca
Author: Alex Boten <[email protected]>
Date:   Tue Jun 20 12:23:52 2023 -0700

    [chore] update otel core (open-telemetry#23578)

    Signed-off-by: Alex Boten <[email protected]>

commit 42dbc6c
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 19:51:21 2023 +0200

    aerospikereceiver: Add missing units in metadata.yaml (open-telemetry#23572)

    Metric unit is required, see:
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

    This PR adds the unit to metrics where this is missing:

    - aerospike.node.query.tracked

commit 200778b
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 18:51:54 2023 +0200

    [chore] [cmd/mdatagen] Remove unused (md *metadata) Unmarshal func (open-telemetry#23575)

    This func is not used. Because the receiver is the metadata struct, it
    would need to be called directly.

    This also tests field Name -- which does not exist anymore (replaced by
    Type).

    **Note:** Validation of Type will be done as part of open-telemetry#23424

commit b726aee
Author: Mend Renovate <[email protected]>
Date:   Tue Jun 20 18:49:27 2023 +0200

    chore(deps): update github-actions deps to v3 (major) (open-telemetry#23567)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

    This PR contains the following updates:

    | Package | Type | Update | Change |
    |---|---|---|---|
    |
    [actions/download-artifact](https://togithub.com/actions/download-artifact)
    | action | major | `v2` -> `v3` |
    |
    [actions/upload-artifact](https://togithub.com/actions/upload-artifact)
    | action | major | `v2` -> `v3` |

    ---

    <details>
    <summary>actions/download-artifact</summary>
    [`v3`](https://togithub.com/actions/download-artifact/compare/v2...v3)

    [Compare
    Source](https://togithub.com/actions/download-artifact/compare/v2...v3)

    </details>

    <details>
    <summary>actions/upload-artifact</summary>

    [Compare
    Source](https://togithub.com/actions/upload-artifact/compare/v2...v3)

    </details>

    ---

    📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
    time (no schedule defined).

    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.

    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.

    🔕 **Ignore**: Close this PR and you won't be reminded about these
    updates again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box

    ---

    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

commit 9d38d84
Author: Tigran Najaryan <[email protected]>
Date:   Tue Jun 20 12:13:20 2023 -0400

    [testbed] Add compression end-to-end tests for SAPM (open-telemetry#23455)

    - Added gzip and zstd tests to SAPM trace test.

    - Modified GenerateTraces to generate more variable data to make sure it
    is a more fair comparison when compression is enabled (otherwise it was
    compressing too well and was not representative of real-world
    workloads).

    This makes easier to see the impact of added zstd compression done in
    open-telemetry#23257

commit 9a5f723
Author: rubenruizdegauna <[email protected]>
Date:   Tue Jun 20 07:42:56 2023 +0200

    [receiver/hostmetrics] send process.cpu.utilization if enabled (open-telemetry#23451)

    Currently `process.cpu.utilization` is not sent when it is enabled if
    `process.cpu.time` is disabled.
    It should be sent independently of `process.cpu.time`

commit ad2e101
Author: Mackenzie <[email protected]>
Date:   Tue Jun 20 07:21:06 2023 +0200

    [receiver/redis] Add bytes unit in metadata.yaml (open-telemetry#23454)

    This PR adds the bytes unit to metrics where this is missing. unit is a
    required field, see
    https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L72-L73.

commit d89a6e1
Author: Bartosz Sławianowski <[email protected]>
Date:   Mon Jun 19 21:13:53 2023 +0200

    [receiver/k8scluster] Fix empty k8s.namespace.name in k8s.namespace.phase metrics (open-telemetry#23453)

    Kubernetes namespace is a cluster-scoped resource and doesn't seem to
    have populated `namespace` field in Kubernetes (at least on 1.25.x and
    1.26.x).

    This PR changes it so the name of the namespace is simply taken from
    `name` field instead.

commit 6ee548b
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 19 10:51:31 2023 -0700

    [receiver/k8s_cluster] move node metrics to pdata (open-telemetry#23438)

    Switch k8s.node metrics to use pdata.

commit 5fff104
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 19 13:13:11 2023 +0300

    {processor,exporter}/datadog: bump opentelemetry-mapping-go (open-telemetry#23445)

    This change bumps the opentelemetry-mapping-go dependency to v0.5.0
    which contains the metric remapping code. As a result, it is removed
    from the exporter.

commit b719459
Author: Antoine Toulme <[email protected]>
Date:   Sat Jun 17 10:50:17 2023 -0700

    [receiver/k8s_cluster] move namespace to use pdata (open-telemetry#23437)

    Switch k8s.namespace metrics to use pdata.

commit b2238b9
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 23:08:30 2023 -0700

    [receiver/k8s_cluster] Do not store unused service data in k8s API cache (open-telemetry#23434)

    To reduce RAM utilization.

    Resolves
    open-telemetry#23433

    This is the last PR to reduce the memory footprint of k8s API informers.
    Other objects are more static and usually don't have a lot of instances
    in user clusters, so there is no need to reduce their size.

commit 1c84fb2
Author: Dominik Rosiek <[email protected]>
Date:   Sat Jun 17 06:24:40 2023 +0200

    feat(mysqlreceiver): deprecate `mysql. locked_connects` in favor of `mysql.connection.errors` (open-telemetry#23274)

    **Description:**

    deprecate `mysql.locked_accounts` in favor of `mysql.connection.errors`

    ```
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:104        Setting up own telemetry...
    2023-06-12T08:29:43.306+0200    info    service/telemetry.go:127        Serving Prometheus metrics      {"address": ":8888", "level": "Basic"}
    2023-06-12T08:29:43.306+0200    info    [email protected]/exporter.go:275        Development component. May change in the future.        {"kind": "exporter", "data_type": "metrics", "name": "logging"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:131  Starting otelcontribcol...      {"Version": "0.79.0-dev", "NumCPU": 16}
    2023-06-12T08:29:43.308+0200    info    extensions/extensions.go:30     Starting extensions...
    2023-06-12T08:29:43.308+0200    warn    [email protected]/scraper.go:60     `mysql.locked_connects` is deprecated and is going to be set as optional in `v0.80.0` and removed in `v0.81.0`. Please use `mysql.connection.errors` instead   {"kind": "receiver", "name": "mysql", "data_type": "metrics"}
    2023-06-12T08:29:43.308+0200    info    service/service.go:148  Everything is ready. Begin running and processing data.
    ^C2023-06-12T08:29:44.055+0200  info    otelcol/collector.go:227        Received signal from OS {"signal": "interrupt"}
    2023-06-12T08:29:44.056+0200    info    service/service.go:157  Starting shutdown...
    ```

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Curtis Robert <[email protected]>

commit c8cf780
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 15:00:42 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in k8s API cache (part 2) (open-telemetry#23432)

    Do not store unused data for deployments, statefulsets and daemonsets in
    k8s API cache to reduce RAM usage.

    Updates
    open-telemetry#23433

commit 0ccde43
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 21:01:32 2023 +0200

    Document extension as value for stability in metadata.yaml (open-telemetry#23426)

    Currently, this is used in all extensions (e.g.
    [httpforwarder](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/httpforwarder/metadata.yaml#L6)),
    but this is not documented in `metadata-schema.yaml`.

commit 8869951
Author: Dmitrii Anoshin <[email protected]>
Date:   Fri Jun 16 11:51:00 2023 -0700

    Revert "[processor/k8sattributes] Rename k8sattributes processor inte… (open-telemetry#23431)

    …rnal metrics (open-telemetry#23369)"

    This reverts commit 42bca6f.

    Revert it until
    open-telemetry#23369 (comment)
    is resolved to avoid adding it to the next release

    Co-authored-by: Ziqi Zhao <[email protected]>

commit 6ad0589
Author: Mackenzie <[email protected]>
Date:   Fri Jun 16 19:21:23 2023 +0200

    [processor/k8sattributes] Add resource_attributes to metadata.yaml (open-telemetry#23213)

    This PR adds the resource attributes added by the k8sattributes
    processor to the metadata.yaml file in the resource_attributes group.
    Only the attributes which are added by default (see
    [documentation](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/processor/k8sattributesprocessor#configuration))
    are marked as enabled.

    The default resource attributes defined in metadata.yaml are used to
    make the default extract::metadata list.
    Resource attributes are exposed through a different configuration
    interface. This is noted in the metadata.yaml file.

commit a4585ce
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:57:52 2023 -0700

    [chore] retry sending coverage output (open-telemetry#23413)

commit 195ef43
Author: Antoine Toulme <[email protected]>
Date:   Fri Jun 16 08:50:14 2023 -0700

    [receiver/k8s_cluster] Switch k8s.deployment metrics to use pdata. (open-telemetry#23416)

commit 0ae07ba
Author: Pablo Baeyens <[email protected]>
Date:   Fri Jun 16 11:05:52 2023 +0200

    [chore] Clean up CODEOWNERS (open-telemetry#23382)

    **Description:**

    Clean up CODEOWNERS file to remove redundant lines; add these to the
    ALLOWLIST.

    **Link to tracking Issue:** mentioned on Zoom chat at the Collector SIG

commit a5cdd2f
Author: atshaw43 <[email protected]>
Date:   Fri Jun 16 00:11:17 2023 -0700

    [exporter/awsxray] Add span links and messenger field translation to x-ray exporter. (open-telemetry#20313)

    Add link span link support and support for the messaging field.

    We are conforming to the OTel spec:
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#specifying-links
    - https://github.com/open-telemetry/opentelemetry-specification/blob/main/semantic_conventions/trace/messaging.yaml#L110

commit 42bca6f
Author: Ziqi Zhao <[email protected]>
Date:   Fri Jun 16 14:51:10 2023 +0800

    [processor/k8sattributes] Rename k8sattributes processor internal metrics (open-telemetry#23369)

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 559f19c
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:45 2023 -0700

    [receiver/k8s_cluster] Move resourcequota to pdata (open-telemetry#23419)

    **Description:**
    Switch k8s.rq metrics to use pdata.

commit 2e11f46
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 19:25:20 2023 -0700

    [receiver/k8s_cluster] Move statefulset metrics to use pdata (open-telemetry#23420)

commit 5cfcdeb
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 17:59:51 2023 -0700

    [receiver/k8s_cluster] Do not store unused data in the k8s API cache (open-telemetry#23417)

    This change removes unused k8s informer data from the cache to reduce RAM utilization.

    Tried it on a cluster with 40 nodes and 1000 pods, and it gave up to 30% reduction in RAM usage.

commit 260f34f
Author: linfn <[email protected]>
Date:   Fri Jun 16 02:44:06 2023 +0800

    [receiver/skywalking]: fix parentSpanId lost when crossing segments (open-telemetry#21799)

    In Skywalking, parentSpanId == -1 indicates that the span is [the first
    span within the current
    segment](https://github.com/apache/skywalking-data-collect-protocol/blob/0da9c8b3e111fb51c9f8854cae16d4519462ecfe/language-agent/Tracing.proto#L119),
    rather than within the entire trace. Leaving parentSpanId blank can
    cause the call relationship to be lost when crossing segments.

commit f709809
Author: Sam DeHaan <[email protected]>
Date:   Thu Jun 15 14:42:59 2023 -0400

    [receiver/mongodbatlas] Document access log requirements (open-telemetry#23363)

    Access Logs required permissions for monitoring were
    not documented in the receiver README.

    Should have been documented for
    open-telemetry#21182

commit 8885502
Author: Raj Nishtala <[email protected]>
Date:   Thu Jun 15 14:41:37 2023 -0400

    [chore] Update codeowners for groupbyattrsprocessor (open-telemetry#23414)

    Updating CODEOWNERS for processor/groupbyattrsprocessor

commit d98e12b
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:21:42 2023 -0700

    [chore] add websocketprocessor to otelcontribcol (open-telemetry#23409)

commit fd526ee
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 10:16:33 2023 -0700

    [k8sclusterreceiver] switch k8s.hpa metrics to use pdata (open-telemetry#23408)

    Rebase of open-telemetry#18250 with latest main.

    ---------

    Signed-off-by: Bogdan Drutu <[email protected]>
    Co-authored-by: Bogdan Drutu <[email protected]>

commit e6e1e76
Author: Dmitrii Anoshin <[email protected]>
Date:   Thu Jun 15 10:10:13 2023 -0700

    [exporter/signalfx] Keep container.cpu.time metric in the translations (open-telemetry#23403)

    Do not drop `container.cpu.time` metric in the default translations so
    it can be enabled in the `include_metrics` config option.

    This is the only metric that is dropped in the translations. All other
    metrics are being kept.

commit 65a1dea
Author: Antoine Toulme <[email protected]>
Date:   Thu Jun 15 08:09:39 2023 -0700

    [chore][processor/websocket] try sending data a few times to fix flakiness (open-telemetry#23410)

    Try sending data a few times to fix flakiness of test.

    **Link to tracking Issue:**
    Fixes open-telemetry#23381

commit 9f0032e
Author: Pablo Baeyens <[email protected]>
Date:   Thu Jun 15 14:43:18 2023 +0200

    [chore] make gotidy (open-telemetry#23412)

    Fixes main after open-telemetry#23257

commit ae15d8c
Author: Tigran Najaryan <[email protected]>
Date:   Thu Jun 15 07:04:14 2023 -0400

    Add zstd compression to SAPM receiver and exporter (open-telemetry#23257)

    - Updated github.com/signalfx/sapm-proto to v0.13.0
    - Added "compression" config setting to sapm exporter
    - Added tests to verify various compression settings for sapm receiver
    and exporter.

commit c2658a7
Author: Mike Dame <[email protected]>
Date:   Thu Jun 15 06:58:12 2023 -0400

    [chore] Update GCP codeowners (open-telemetry#22781)

    Updating CODEOWNERS entries for GCP exporters

commit c7462f2
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 23:40:16 2023 -0700

    [chore] add k8sclusterreceiver e2e test (open-telemetry#23386)

    Adds an e2e test for k8sclusterreceiver with a golden metrics file.

commit 1bf2547
Author: Andrzej Stencel <[email protected]>
Date:   Wed Jun 14 22:40:06 2023 +0200

    [receiver/sqlquery] add support for logs (open-telemetry#20730)

    Fixes open-telemetry#20284

    This introduces initial support for retrieving rows from SQL databases
    into logs.

    This PR aims to provide an initial, not feature rich, but production
    ready implementation. The following features are available:

    - Use `body_column` to select the column to use to fill the Body field
    of the created log
    - Use `tracking_start_value` and `tracking_column` properties to track
    rows that were already ingested
    - Use `storage` property to persist the tracking value across collector
    restarts

    In this state and marked as "development" stability, the component can
    be used for experimentation and to guide future development.

    There are definitely more things that need to be implemented for this
    component to be considered "alpha" quality - like filling in other [log
    fields](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/logs/data-model.md#log-and-event-record-definition)
    like Timestamp, ObservedTimestamp and others. I would like to add them
    in subsequent pull requests, as this pull request is already way too
    big.

    ---------

    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Dominika Molenda <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>
    Co-authored-by: Katarzyna Kujawa <[email protected]>

commit e7608db
Author: Irina <[email protected]>
Date:   Wed Jun 14 19:50:04 2023 +0100

    [exporter/loki] Add flags field to lokiEntry (open-telemetry#21733)

    **Description:**
    There is currently no way to get the
    [Flags](https://github.com/open-telemetry/opentelemetry-collector/blob/main/pdata/internal/data/protogen/logs/v1/logs.pb.go#L396)
    field from plog.LogRecord into Loki.
    Added Flags field to lokiEntry in this PR

    **Link to tracking Issue:**
    open-telemetry#21650

    **Testing:** Added unit tests

commit 50bbb9f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:42:33 2023 +0200

    [bearertokenauthextension]: add frzifus as codeowner (open-telemetry#23384)

    cc @jpkrohling @pavankrish123

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit a4dda5b
Author: Vastin <[email protected]>
Date:   Wed Jun 14 13:12:48 2023 -0500

    [exporter/awsemfexporter] add exponential histogram support (open-telemetry#22626)

    **Description:**

    This PR adds [exponential
    histogram](https://opentelemetry.io/docs/specs/otel/metrics/data-model/#exponentialhistogram)
    support in `awsemfexporter`. The exponential histogram metrics are
    exported in Embedded Metric Format (EMF) log. The Count, Sum, Max and
    Min are set as Statistical Set. The mid-point values and counts of
    exponential histogram buckets are translated into Values/Counts array of
    EMF log entry as well.

    **Testing:**

    The unit test is added and covers positive, zero and negative values.

    The integration test is performed with following OTEL collector
    configuration.
    ```
    extensions:
      health_check:
    receivers:
      otlp:
        protocols:
          grpc:
            endpoint: 0.0.0.0:4317
          http:
            endpoint: 0.0.0.0:4318

    processors:
      batch/metrics:
        timeout: 60s

    exporters:
      logging:
        verbosity: detailed
      awsemf:
        region: 'us-east-1'
        namespace: "Test"
        dimension_rollup_option: "NoDimensionRollup"

    service:
      pipelines:
        metrics:
          receivers: [otlp]
          processors: [batch/metrics]
          exporters: [awsemf, logging]
      extensions: [health_check]
      telemetry:
        logs:
          level: "debug"
    ```
    It generated EMF log for histogram metrics in following JSON format.
    Notes: It doesn't cover negative values since histograms can [only
    record non-negative
    values](https://opentelemetry.io/docs/specs/otel/metrics/api/#histogram)
    and will [drop negative
    values](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk/metrics/src/main/java/io/opentelemetry/sdk/metrics/SdkDoubleHistogram.java#L38C7-L44).

    ```
        "latency": {
            "Values": [
                309.4277237034415,
                323.12725941969757,
                326.64588457862067,
                344.8221530867399,
                520.3933272846809,
                531.7884573308439,
                537.579253961712,
                543.4331082335607,
                549.3507067990806,
                555.3327437881196,
                561.3799208891041,
                567.4929474313465,
                720.1774681373079,
                0
            ],
            "Counts": [
                1,
                1,
                1,
                1,
                1,
                3,
                4,
                2,
                2,
                3,
                1,
                1,
                1,
                22
            ],
            "Max": 720,
            "Min": 0,
            "Count": 44,
            "Sum": 11265
        }
    ```

commit f66845f
Author: Ben B <[email protected]>
Date:   Wed Jun 14 20:09:35 2023 +0200

    [bearertokenauthextension] Implement configauth ServerAuthenticator (open-telemetry#22739)

    Closes open-telemetry#22737

    ---------

    Signed-off-by: Benedikt Bongartz <[email protected]>

commit 6a83a9a
Author: Dominik Rosiek <[email protected]>
Date:   Wed Jun 14 19:11:38 2023 +0200

    [exporter/sumologic]: deprecate options which are going to be removed (open-telemetry#23337)

    Deprecate options which are going to be removed

    **Link to tracking Issue:** open-telemetry#23059

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Mikołaj Świątek <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>

commit 3faedfc
Author: OpenTelemetry Bot <[email protected]>
Date:   Wed Jun 14 09:39:22 2023 -0700

    [chore] dependabot updates Wed Jun 14 15:32:47 UTC 2023 (open-telemetry#23380)

    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.281 to 1.44.282 in
    /receiver/awsxrayreceiver

commit d9326aa
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 09:13:30 2023 -0700

    [chore] mark components as unmaintained (open-telemetry#23379)

    These components no longer have an active code owner as a result of

    Signed-off-by: Alex Boten <[email protected]>

commit 8729c16
Author: Daniel Jaglowski <[email protected]>
Date:   Wed Jun 14 09:32:35 2023 -0600

    [chore] Enable exhaustive linter for several modules (open-telemetry#23329)

    Updates open-telemetry#23266

    - receiver/nsxt
    - receiver/snmp
    - connector/count
    - extension/storage
    - pkg/stanza

commit 52d87f8
Author: Evan Bradley <[email protected]>
Date:   Wed Jun 14 11:30:51 2023 -0400

    [cmd/opampsupervisor] Add OpAMP supervisor skeleton (open-telemetry#19143)

    This is a direct copy of the [supervisor example implementation](https://github.com/open-telemetry/opamp-go/tree/main/internal/examples/supervisor) in the opamp-go repository. I've made some minor changes that are largely centered around linting and making it a little less of an example. Any existing or new TODOs have a linked issue that gives some context.

    **Link to tracking Issue:**

    Implements open-telemetry#18461
    Co-authored-by: Matej Gera <[email protected]>

    ---------

    Co-authored-by: Evan Bradley <[email protected]>
    Co-authored-by: Matej Gera <[email protected]>

commit 31bfef7
Author: Alex Boten <[email protected]>
Date:   Wed Jun 14 08:18:27 2023 -0700

    [chore] bump go version for linting (open-telemetry#23346)

    After digging into what was causing linting time outs, it looks like golangci-lint was using up a significant amount of memory to run lint against otelcontribcol. After digging I came across this issue that mentions memory usage: golangci/golangci-lint#3565 (comment)

    I've tested bumping the linters to go 1.20 and so far it looks like the avg memory is lower than it was w/ go 1.19. I've also enabled verbose logging for linting to give us a bit more info when there are issues.

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d79f3c0
Author: Curtis Robert <[email protected]>
Date:   Wed Jun 14 08:05:56 2023 -0700

    [chore] Add unmaintained components to ALLOWLIST file (open-telemetry#23368)

    As a result of issue open-telemetry#23246, a few components are now unmaintained.
    These need to be documented in the ALLOWLIST file.

commit 19e2a2d
Author: Tomáš Žďára <[email protected]>
Date:   Wed Jun 14 11:22:35 2023 +0200

    DSET-3998 feat: export Logs resource info based on export_resource_info_on_event configuration (open-telemetry#23250)

    * DSET-3998 - export Logs resource info based on     export_resource_info_on_event configuration

    * DSET-3998 - simplify

    * DSET-3998 - improve docs

    * Fix log exporter to set AddEvents Event timestamp (ts) field to event
    observed timetamp in case LogRecord doesn't contain timestamp.

    Even though ObservedTimestamp should always be present, we fall back to
    current time in case it's not.

    In addition to that, remove duplicate and redundant "timestamp"
    attribute from the AddEvents event.

    * Add additional assertions.

    * Remove dummy debug logs.

    * Create export-logs-resource-info-based-configuration

    * address PR notes - fix changelog gen

    * fix docs typo

    * fix changelog file suffix

    ---------

    Co-authored-by: Tomaz Muraus <[email protected]>
    Co-authored-by: Tomaz Muraus <[email protected]>

commit 5a582d9
Author: Antoine Toulme <[email protected]>
Date:   Wed Jun 14 00:31:28 2023 -0700

    [exporter/splunkhec] apply multimetric metric merge for the whole batch (open-telemetry#23366)

    Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric.

commit 16df49f
Author: Sean Marciniak <[email protected]>
Date:   Wed Jun 14 12:00:31 2023 +0930

    [chore] Fix datadog receiver flakey test. (open-telemetry#23336)

    * Use random address

    * Bind to localhost interface

commit 9f854da
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 22:25:29 2023 +0000

    [processor/k8sattributes] Store only necessary ReplicaSet data (open-telemetry#23338)

commit 77d8c70
Author: OpenTelemetry Bot <[email protected]>
Date:   Tue Jun 13 12:57:55 2023 -0700

    [chore] dependabot updates Tue Jun 13 16:58:27 UTC 2023 (open-telemetry#23345)

    Bump github.com/Azure/go-amqp from 0.19.1 to 1.0.1 in /receiver/solacereceiver
    Bump github.com/ClickHouse/clickhouse-go/v2 from 2.10.0 to 2.10.1 in /exporter/clickhouseexporter
    Bump github.com/DataDog/agent-payload/v5 from 5.0.84 to 5.0.88 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /exporter/kafkaexporter
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.44.277 to 1.44.281 in /receiver/awsxrayreceiver
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/influxdata/influxdb-observability/common from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/influx2otel from 0.5.0 to 0.5.2 in /receiver/influxdbreceiver
    Bump github.com/influxdata/influxdb-observability/otel2influx from 0.5.0 to 0.5.2 in /exporter/influxdbexporter
    Bump github.com/leoluk/perflib_exporter from 0.2.0 to 0.2.1 in /receiver/hostmetricsreceiver
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /exporter/sapmexporter
    Bump github.com/signalfx/sapm-proto from 0.12.0 to 0.13.0 in /receiver/sapmreceiver
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common from 1.0.673 to 1.0.678 in /exporter/tencentcloudlogserviceexporter
    Bump go.mongodb.org/atlas from 0.28.0 to 0.29.0 in /receiver/mongodbatlasreceiver
    Bump go.mongodb.org/mongo-driver from 1.11.4 to 1.11.7 in /receiver/mongodbreceiver
    Bump go.opentelemetry.io/build-tools/crosslink from 0.7.0 to 0.8.0 in /internal/tools
    Bump go.opentelemetry.io/collector/cmd/builder from 0.78.2 to 0.79.0 in /internal/tools
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /exporter/signalfxexporter
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/stanza
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /pkg/winperfcounters
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/hostmetricsreceiver
    Bump golang.org/x/sys from 0.8.0 to 0.9.0 in /receiver/windowseventlogreceiver
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/configschema
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /cmd/mdatagen
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /internal/coreinternal
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /pkg/stanza
    Bump golang.org/x/text from 0.9.0 to 0.10.0 in /testbed
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/f5cloudexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /exporter/googlecloudpubsubexporter
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudpubsubreceiver
    Bump google.golang.org/api from 0.125.0 to 0.127.0 in /receiver/googlecloudspannerreceiver

commit 6bf41e4
Author: Mackenzie <[email protected]>
Date:   Tue Jun 13 18:33:39 2023 +0200

    Add metadata.yaml as a requirement (open-telemetry#23340)

    Fixes: open-telemetry#20908.

    ---------

    Co-authored-by: Yang Song <[email protected]>

commit 563fd6f
Author: Alex Boten <[email protected]>
Date:   Tue Jun 13 09:33:00 2023 -0700

    [chore] make update-otel (open-telemetry#23278)

    ---------

    Signed-off-by: Alex Boten <[email protected]>

commit d2c7c1f
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 09:45:00 2023 -0600

    [chore][fileconsumer] Add test to validate reader encoding (open-telemetry#23280)

commit 375da69
Author: Daniel Jaglowski <[email protected]>
Date:   Tue Jun 13 08:23:00 2023 -0600

    [chore] Deprecate unnecessary fileconsumer API (open-telemetry#23281)

    * [chore] Deprecate unnecessary fileconsumer API

    * Add deprecation version and tentative removal version

commit 6ac5285
Author: Dewald de Jager <[email protected]>
Date:   Tue Jun 13 11:20:41 2023 +0200

    [cmd/mdatagen] Document metadata.yaml schema (open-telemetry#22962)

    * Start adding the status information to the metadata schema documentation

    * Remove cmd from the list of possible classes

    * Fix spelling mistake

    Co-authored-by: Antoine Toulme <[email protected]>

    * Update the value used for the development stability status

    Co-authored-by: Antoine Toulme <[email protected]>

    * Fix the tests after updating the example metadata file

    * Document how to use mdatagen and the schema of metadata.yaml

    * Add the stability levels for connectors

    * Change the receiver type so the tests pass

    * Update the generated documentation

    * Change the syntax used for string array types so that it is valid YAML

    ---------

    Co-authored-by: Antoine Toulme <[email protected]>

commit 061eb3e
Author: Mikołaj Świątek <[email protected]>
Date:   Tue Jun 13 06:29:11 2023 +0000

    [processor/k8sattributes] Only store necessary Pod data (open-telemetry#23272)

    Only store Pod data we actually use for attributes in the informer store. By default, informers store all data about K8s objects, as they're primarily intended to act as a local cache for the API Server. For our use case, most of that data is unnecessary, and it eats a significant amount of memory in larger clusters. This PR uses a transform function to remove the unnecessary data from the informer store.

    I've measured the gains synthetically, and we use nearly 70% less memory per stored Pod. I haven't included the benchmark function in this PR, as it's a bit complicated and hacky, and I'm not convinced there's value in adding it to the codebase permanently.

commit ab42d69
Author: zeno-splunk <[email protected]>
Date:   Mon Jun 12 22:36:54 2023 -0700

    [receiver/kafkametrics] Fix metrics in kafkametricsreceiver (open-telemetry#4327) (open-telemetry#23332)

    Update `kafka.brokers` metric to be non-monothonic sum instead of gauge

commit 9e4d50f
Author: Antoine Toulme <[email protected]>
Date:   Mon Jun 12 20:28:17 2023 -0700

    remove opencensus from carbonreceiver and wavefrontreceiver (open-telemetry#23248)

    Update carbonreceiver and wavefrontreceiver to use pdata directly instead of OpenCensus

commit e0249e0
Author: Alex Boten <[email protected]>
Date:   Mon Jun 12 15:01:49 2023 -0700

    [chore] forwardconnector was not listed in the modules script (open-telemetry#23330)

    this was causing check-collector-module-version to not check that this module was up to the same version as the others consistently

    Signed-off-by: Alex Boten <[email protected]>

commit 9d5526c
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 09:58:22 2023 -0600

    [receiver/nginx] Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (open-telemetry#23255)

commit bbea8aa
Author: Trask Stalnaker <[email protected]>
Date:   Mon Jun 12 08:38:45 2023 -0700

    Add workflow to auto-update the JMX metrics gatherer (open-telemetry#23268)

commit 0f8e128
Author: Tyler Helmuth <[email protected]>
Date:   Mon Jun 12 08:45:16 2023 -0600

    [pkg/ottl] Update docs of functions impacted by grammar bug (open-telemetry#23259)

    Update readme

commit 6d35fd7
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 16:33:47 2023 +0200

    [mysqlreceiver]: add `aborted`, `aborted_clients` and `locked` values to `error` property for `mysql.connection.errors` metric (open-telemetry#23211)

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 88ac450
Author: Gabriel Aszalos <[email protected]>
Date:   Mon Jun 12 17:31:02 2023 +0300

    receiver/dockerstatsreceiver: add container.uptime metric (open-telemetry#22851)

    * receiver/dockerstatsreceiver: add container.uptime metric

    This change adds the `container.uptime` metric which indicates time
    elapsed (in seconds) since the container started.

    * Add scraper error for invalid time format

    * Disable by default

    * empty

commit 6947357
Author: Yang Song <[email protected]>
Date:   Mon Jun 12 10:27:42 2023 -0400

    [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation (open-telemetry#23240)

    * [exporter/datadog] Add trace configs compute_stats_by_span_kind and peer_service_aggregation

    * Add to changelog

    * Update exporter/datadogexporter/config.go

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Update .chloggen/datadogexporter-new-trace-configs.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    * Add subtext to changelog

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit b247914
Author: Raj Nishtala <[email protected]>
Date:   Mon Jun 12 10:26:18 2023 -0400

    [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string (open-telemetry#23210)

    * [pkg/ottl] Changed replacement string to be a path expression to a string telemetry field or a literal string

    * [pkg/ottl] Changed replacement string (replace_all* functions) to be a path expression to a string telemetry field or a literal string

commit 3b62a17
Author: Daniel Jaglowski <[email protected]>
Date:   Mon Jun 12 07:50:37 2023 -0600

    [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (open-telemetry#23254)

    * [receiver/elasticsearch] Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable

    * Update .chloggen/elastic-stable-nodevesiongate.yaml

    Co-authored-by: Pablo Baeyens <[email protected]>

    ---------

    Co-authored-by: Pablo Baeyens <[email protected]>

commit 6249ae8
Author: Dominik Rosiek <[email protected]>
Date:   Mon Jun 12 13:09:13 2023 +0200

    resourcedetectionprocessor: use opentelemetry-go for host id detection (open-telemetry#18740)

    * resourcedetectionprocessor: use gopsutil for host id detection

    Signed-off-by: Dominik Rosiek <[email protected]>

    * feat: use opentelemetry sdk

    Signed-off-by: Dominik Rosiek <[email protected]>

    ---------

    Signed-off-by: Dominik Rosiek <[email protected]>

commit 820510e
Author: Ziqi Zhao <[email protected]>
Date:   Mon Jun 12 18:10:33 2023 +0800

    [chore] [all] Enable exhaustive linter on golangci-lint  (open-telemetry#23242)

    Enable exhaustive linter on golangci-lint

    Signed-off-by: Ziqi Zhao <[email protected]>

commit 752330e
Author: shalper2 <[email protected]>
Date:   Sun Jun 11 10:44:14 2023 -0500

    [receiver/webhookevent] Enable component (open-telemetry#23239)

    Graduate webhookeventreceiver component to Alpha

Co-authored-by: jimchen <[email protected]>
ipochi added a commit to kinvolk/apiserver-network-proxy that referenced this issue Jul 26, 2023
Encountering this [issue](golangci/golangci-lint#3565)
when runing `make lint`

Signed-off-by: Imran Pochi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants