Skip to content

Commit

Permalink
feat: Add cgroupruntime extension (#2104)
Browse files Browse the repository at this point in the history
* add cgroupruntime extension to collector facotries list

* add doc
  • Loading branch information
dpaasman00 authored Jan 17, 2025
1 parent d7521d5 commit ad217b3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

Below is a list of supported extensions with links to their documentation pages.

| Name | GitHub README |
|-------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
| Name | GitHub README |
| ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Authenticator - Basic Extension | [basicauthextension](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.116.0/extension/basicauthextension/README.md) |
| Authenticator - Bearer Extension | [bearertokenauthextension](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.116.0/extension/bearertokenauthextension/README.md) |
| Authenticator - OAuth2 Client Credentials | [oauth2clientauthextension](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.116.0/extension/oauth2clientauthextension/README.md) |
| Authenticator - OIDC Extension | [oidcauthextension](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.116.0/extension/oidcauthextension/README.md) |
| BindPlane Extension | [bindplaneextension](../extension/bindplaneextension/README.md) |
| BindPlane Extension | [bindplaneextension](../extension/bindplaneextension/README.md) |
| Cgroup Runtime Extension | [cgroupruntimeextension](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.116.0/extension/cgroupruntimeextension) |
| File Storage Extension | [filestorage](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.116.0/extension/storage/filestorage/README.md) |
| Headers Setter Extension | [headerssetterextension](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.116.0/extension/headerssetterextension/README.md) |
| Headers Setter Extension | [headerssetterextension](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.116.0/extension/headerssetterextension/README.md) |
| Health Check Extension | [healthcheckextension](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.116.0/extension/healthcheckextension/README.md) |
| Performance Profiler Extension | [pprofextension](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.116.0/extension/pprofextension/README.md) |
| Sigv4 Authenticator Extension | [sigv4authextension](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.116.0/extension/sigv4authextension/README.md) |
Expand Down
2 changes: 2 additions & 0 deletions factories/extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package factories
import (
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/cgroupruntimeextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/headerssetterextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension"
Expand All @@ -32,6 +33,7 @@ import (
var defaultExtensions = []extension.Factory{
basicauthextension.NewFactory(),
bearertokenauthextension.NewFactory(),
cgroupruntimeextension.NewFactory(),
extensiontest.NewNopFactory(),
filestorage.NewFactory(),
headerssetterextension.NewFactory(),
Expand Down
4 changes: 4 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/zipkinexporter v0.116.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.116.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.116.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/cgroupruntimeextension v0.116.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/headerssetterextension v0.116.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.116.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/oauth2clientauthextension v0.116.0
Expand Down Expand Up @@ -305,6 +306,7 @@ require (
github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.5.0 // indirect
github.com/IBM/sarama v1.43.3 // indirect
github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c // indirect
github.com/KimMachineGun/automemlimit v0.6.1 // indirect
github.com/aerospike/aerospike-client-go/v7 v7.7.3 // indirect
github.com/antchfx/xmlquery v1.4.2 // indirect
github.com/antchfx/xpath v1.3.2 // indirect
Expand Down Expand Up @@ -389,6 +391,7 @@ require (
github.com/outcaste-io/ristretto v0.2.1 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
github.com/paulmach/orb v0.11.1 // indirect
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
github.com/prometheus-community/windows_exporter v0.27.2 // indirect
Expand Down Expand Up @@ -466,6 +469,7 @@ require (
go.opentelemetry.io/otel/log v0.8.0 // indirect
go.opentelemetry.io/otel/sdk/log v0.7.0 // indirect
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
go.uber.org/automaxprocs v1.6.0 // indirect
go.uber.org/dig v1.18.0 // indirect
go.uber.org/fx v1.22.2 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241113202542-65e8d215514f // indirect
Expand Down
10 changes: 10 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,8 @@ github.com/IBM/sarama v1.43.3 h1:Yj6L2IaNvb2mRBop39N7mmJAHBVY3dTPncr3qGVkxPA=
github.com/IBM/sarama v1.43.3/go.mod h1:FVIRaLrhK3Cla/9FfRF5X9Zua2KpS3SYIXxhac1H+FQ=
github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c h1:RGWPOewvKIROun94nF7v2cua9qP+thov/7M50KEoeSU=
github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk=
github.com/KimMachineGun/automemlimit v0.6.1 h1:ILa9j1onAAMadBsyyUJv5cack8Y1WT26yLj/V+ulKp8=
github.com/KimMachineGun/automemlimit v0.6.1/go.mod h1:T7xYht7B8r6AG/AqFcUdc7fzd2bIdBKmepfP2S1svPY=
github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
Expand Down Expand Up @@ -2006,6 +2008,8 @@ github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthext
github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.116.0/go.mod h1:qj5wOo1c6qukGwlrGlbU5OO7YRnbghx4A8XRpHnhzSY=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.116.0 h1:K2VT2DMRoqHE/3jHs5cOR7FUnrJrjNZgNKS+pgGHD2c=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.116.0/go.mod h1:CouV5IrbFEbx+14uvFLA7y0054v+rc+jNmW6P3/Vy8I=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/cgroupruntimeextension v0.116.0 h1:kbBMWgrtweY4p9bCBQ2SM3qlLkqni1ud5AUplkDpmFs=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/cgroupruntimeextension v0.116.0/go.mod h1:5Hx240O+4fFkOYFo6j3kbUWY39eLeypidc12GSTyTJM=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding v0.116.0 h1:6HBsPKvRRZwWzWqVMHAz1EzXbm1QK5psMzzfVuhcnDM=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding v0.116.0/go.mod h1:opp9Yba62+cNEGPlx99I4DkLv3taXaDKkN0Yo6KnpKo=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding/otlpencodingextension v0.116.0 h1:XVwp9YeSYX3Bi6Qzy0n47TOoR/ZDa2MwTCqP5E2WEug=
Expand Down Expand Up @@ -2315,6 +2319,8 @@ github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTK
github.com/paulmach/orb v0.11.1 h1:3koVegMC4X/WeiXYz9iswopaTwMem53NzTJuTF20JzU=
github.com/paulmach/orb v0.11.1/go.mod h1:5mULz1xQfs3bmQm63QEJA6lNGujuRafwA5S/EnuLaLU=
github.com/paulmach/protoscan v0.2.1/go.mod h1:SpcSwydNLrxUGSDvXvO0P7g7AuhJ7lcKfDlhJCDw2gY=
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 h1:onHthvaw9LFnH4t2DcNVpwGmV9E1BkGknEliJkfwQj0=
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58/go.mod h1:DXv8WO4yhMYhSNPKjeNKa5WY9YCIEBRbNzFFPJbWO6Y=
github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE=
Expand Down Expand Up @@ -2353,6 +2359,8 @@ github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSg
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
github.com/power-devops/perfstat v0.0.0-20220216144756-c35f1ee13d7c h1:NRoLoZvkBTKvR5gQLgA3e0hqjkY9u1wm+iOL45VN/qI=
github.com/power-devops/perfstat v0.0.0-20220216144756-c35f1ee13d7c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g=
github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U=
github.com/prometheus-community/windows_exporter v0.27.2 h1:/tdRTouPMVsC4qt8+s9NOPEm7L/9qdDxmasiETlx+Wk=
github.com/prometheus-community/windows_exporter v0.27.2/go.mod h1:8+T6hfv71nvgVIzguouXkIGoa15ni+uXHHULBOA2bZo=
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
Expand Down Expand Up @@ -2834,6 +2842,8 @@ go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
go.uber.org/automaxprocs v1.6.0 h1:O3y2/QNTOdbF+e/dpXNNW7Rx2hZ4sTIPyybbxyNqTUs=
go.uber.org/automaxprocs v1.6.0/go.mod h1:ifeIMSnPZuznNm6jmdzmU3/bfk01Fe2fotchwEFJ8r8=
go.uber.org/dig v1.18.0 h1:imUL1UiY0Mg4bqbFfsRQO5G4CGRBec/ZujWTvSVp3pw=
go.uber.org/dig v1.18.0/go.mod h1:Us0rSJiThwCv2GteUN0Q7OKvU7n5J4dxZ9JKUXozFdE=
go.uber.org/fx v1.22.2 h1:iPW+OPxv0G8w75OemJ1RAnTUrF55zOJlXlo1TbJ0Buw=
Expand Down

0 comments on commit ad217b3

Please sign in to comment.