Skip to content

Commit

Permalink
Merge pull request #10 from alexandreLamarre/bpf-log-extension
Browse files Browse the repository at this point in the history
Refactor automation logic to target all go submodules
  • Loading branch information
alexandreLamarre authored Feb 5, 2025
2 parents 5a57930 + 194ee3f commit cee58cf
Show file tree
Hide file tree
Showing 23 changed files with 139 additions and 94 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name : Validate

permissions:
contents : read

on:
pull_request:
paths-ignore:
- "docs/**"
- "*.md"
- ".gitignore"
- "CODEOWNERS"
- "LICENSE"
push:
branches:
- main

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses : actions/setup-go@v5
with:
go-version: ">=1.23.0"
- name : Install mdatagen
run: |
git clone --depth 1 --branch v0.118.0 https://github.com/open-telemetry/opentelemetry-collector /tmp/opentelemetry-collector
cd /tmp/opentelemetry-collector/cmd/mdatagen && go install .
- name : Run go mod tidy
run : make gotidy
- name : Run generate targets
run : make gogenerate
- name : Validate repo
run : git diff --exit-code
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# Dependency directories (remove the comment below to include it)
# vendor/

.vscode/settings.json
build

# env file
.env
Expand Down
34 changes: 30 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,38 @@
include ./Makefile.Common

.PHONY: build
.PHONY: run
CONFIG_TARGET ?= ./cmd/otelcol/config.yaml

EXCLUDE_PATHS="./cmd"
# ALL_MODULES includes ./* dirs (excludes . dir)
ALL_MODULES := $(shell find . -type f -name "go.mod" -exec dirname {} \; | sort | grep -E '^./' | grep -v -E "$(EXCLUDE_PATHS)" )
# Append root module to all modules
GOMODULES = $(ALL_MODULES) $(PWD)

# Define a delegation target for each module
.PHONY: $(GOMODULES)
$(GOMODULES):
@echo "Running target '$(TARGET)' in module '$@'"
$(MAKE) -C $@ $(TARGET)

# Triggers each module's delegation target
.PHONY: for-all-target
for-all-target: $(GOMODULES)

.PHONY: gogenerate
gogenerate:
@$(MAKE) for-all-target TARGET="generate"

.PHONY: gotidy
gotidy:
@$(MAKE) for-all-target TARGET="tidy"

build:
@echo "Building otelcol-bpf..."
cd otelcol && ocb --config=ocb-config.yaml
cd ./cmd/otelcol && ocb --config=ocb-config.yaml

run:
@echo "Running otelcol-bpf with..."
@cat otelcol/config.yaml
@echo "\n\n"
sudo ./otelcol/otelcol-bpf --config=otelcol/config.yaml
@cat ./cmd/otelcol/config.yaml | grep -E '^[[:space:]]*#' -v
sudo ./cmd/otelcol/otelcol-bpf --config=$(CONFIG_TARGET)
39 changes: 39 additions & 0 deletions Makefile.Common
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
SHELL = /bin/bash
# ALL_PKGS is the list of all packages where ALL_SRC files reside.
ALL_PKGS := $(sort $(shell go list ./...))
# COVER_PKGS is the list of packages to include in the coverage
COVER_PKGS := $(shell go list ./... | tr "\n" ",")

CURR_MOD := $(shell go list -m | tr '/' '-' )

GOTEST_TIMEOUT?=240s
GOTEST_OPT?= -race -timeout $(GOTEST_TIMEOUT)
GOCMD?= go
GOOS := $(shell $(GOCMD) env GOOS)
GOARCH := $(shell $(GOCMD) env GOARCH)

.PHONY: test
test: $(GOTESTSUM)
$(GOTESTSUM) --packages="./..." -- $(GOTEST_OPT)

.PHONY: test-with-cover
test-with-cover: $(GOTESTSUM)
mkdir -p $(PWD)/coverage/unit
$(GOTESTSUM) --packages="./..." -- $(GOTEST_OPT) -cover -covermode=atomic -coverpkg $(COVER_PKGS) -args -test.gocoverdir="$(PWD)/coverage/unit"

.PHONY: tidy
tidy:
rm -fr go.sum
$(GOCMD) mod tidy

.PHONY: govulncheck
govulncheck: $(GOVULNCHECK)
$(GOVULNCHECK) ./...

.PHONY: generate
generate:
$(GOCMD) generate ./...

.PHONY: moddownload
moddownload:
$(GOCMD) mod download
File renamed without changes.
30 changes: 15 additions & 15 deletions otelcol/config.yaml → cmd/otelcol/config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
receivers:
bpfstack:
pprofreceiver:
endpoints:
- id : example-server
extra_labels:
foo : bar
endpoint: "http://localhost:6060"
targets:
profile:
block:
mutex:
goroutine:
heap:
threadcreate:
allocs:
# pprofreceiver:
# endpoints:
# - id : example-server
# extra_labels:
# foo : bar
# endpoint: "http://localhost:6060"
# targets:
# profile:
# block:
# mutex:
# goroutine:
# heap:
# threadcreate:
# allocs:
processors:
batch:
exporters:
Expand Down Expand Up @@ -46,7 +46,7 @@ service:
# processors: [batch]
# exporters: [otlp/debug]
logs:
receivers: [bpfstack, pprofreceiver]
receivers: [bpfstack]
processors: [batch]
exporters: [otlp/pprofserver]
# metrics:
Expand Down
8 changes: 4 additions & 4 deletions otelcol/go.mod → cmd/otelcol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/alexandreLamarre/otelcol-bpf/receiver/bpfstack v0.119.0 => ../receiver/bpfstack
replace github.com/alexandreLamarre/otelcol-bpf/receiver/bpfstack v0.119.0 => ../../receiver/bpfstack

replace github.com/alexandreLamarre/otelcol-bpf v0.119.0 => ../
replace github.com/alexandreLamarre/otelcol-bpf v0.119.0 => ../../

replace github.com/alexandreLamarre/otelcol-bpf/receiver/pprofreceiver v0.119.0 => ../receiver/pprofreceiver
replace github.com/alexandreLamarre/otelcol-bpf/receiver/pprofreceiver v0.119.0 => ../../receiver/pprofreceiver

replace github.com/alexandreLamarre/otelcol-bpf/extension/bpflogger v0.119.0 => ../extension/bpflogger
replace github.com/alexandreLamarre/otelcol-bpf/extension/bpflogger v0.119.0 => ../../extension/bpflogger
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions otelcol/ocb-config.yaml → cmd/otelcol/ocb-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exporters:


replaces:
- github.com/alexandreLamarre/otelcol-bpf/receiver/bpfstack v0.119.0 => ../receiver/bpfstack
- github.com/alexandreLamarre/otelcol-bpf v0.119.0 => ../
- github.com/alexandreLamarre/otelcol-bpf/receiver/pprofreceiver v0.119.0 => ../receiver/pprofreceiver
- github.com/alexandreLamarre/otelcol-bpf/extension/bpflogger v0.119.0 => ../extension/bpflogger
- github.com/alexandreLamarre/otelcol-bpf/receiver/bpfstack v0.119.0 => ../../receiver/bpfstack
- github.com/alexandreLamarre/otelcol-bpf v0.119.0 => ../../
- github.com/alexandreLamarre/otelcol-bpf/receiver/pprofreceiver v0.119.0 => ../../receiver/pprofreceiver
- github.com/alexandreLamarre/otelcol-bpf/extension/bpflogger v0.119.0 => ../../extension/bpflogger
1 change: 1 addition & 0 deletions extension/bpflogger/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ../../Makefile.Common
2 changes: 1 addition & 1 deletion extension/bpflogger/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate go run go.opentelemetry.io/collector/cmd/mdatagen metadata.yaml
//go:generate mdatagen metadata.yaml

// Package bpflogger adds (structured) logging for bpf_printk debug logs in the otel collector bpf distribution
package bpflogger
16 changes: 0 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ toolchain go1.23.4

require (
github.com/stretchr/testify v1.10.0
go.opentelemetry.io/collector/cmd/mdatagen v0.119.0
go.opentelemetry.io/collector/component v0.119.0
go.opentelemetry.io/collector/component/componentstatus v0.119.0
go.opentelemetry.io/collector/component/componenttest v0.119.0
Expand All @@ -19,26 +18,11 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
github.com/knadh/koanf/v2 v2.1.2 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/cobra v1.8.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.119.0 // indirect
go.opentelemetry.io/collector/confmap v1.25.0 // indirect
go.opentelemetry.io/collector/confmap/provider/fileprovider v1.25.0 // indirect
go.opentelemetry.io/collector/filter v0.119.0 // indirect
go.opentelemetry.io/collector/pdata v1.25.0 // indirect
go.opentelemetry.io/collector/pipeline v0.119.0 // indirect
go.opentelemetry.io/otel v1.34.0 // indirect
Expand Down
39 changes: 0 additions & 39 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,67 +1,34 @@
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss=
github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs=
github.com/knadh/koanf/maps v0.1.1/go.mod h1:npD/QZY3V6ghQDdcQzl1W4ICNVTkohC8E73eI2xW4yI=
github.com/knadh/koanf/providers/confmap v0.1.0 h1:gOkxhHkemwG4LezxxN8DMOFopOPghxRVp7JbIvdvqzU=
github.com/knadh/koanf/providers/confmap v0.1.0/go.mod h1:2uLhxQzJnyHKfxG927awZC7+fyHFdQkd697K4MdLnIU=
github.com/knadh/koanf/v2 v2.1.2 h1:I2rtLRqXRy1p01m/utEtpZSSA6dcJbgGVuE27kW2PzQ=
github.com/knadh/koanf/v2 v2.1.2/go.mod h1:Gphfaen0q1Fc1HTgJgSTC4oRX9R2R5ErYMZJy8fLJBo=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=
github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s=
github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ=
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII=
github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA=
go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A=
go.opentelemetry.io/collector/cmd/mdatagen v0.119.0 h1:NtfRqqxUMvUObdZWC0+hmJxzOsevkrHwm9ZNG7B+ct8=
go.opentelemetry.io/collector/cmd/mdatagen v0.119.0/go.mod h1:uITecUpy5CYdgU0Qg+PsAjDx3IIKPct0D+ECCsYIOnI=
go.opentelemetry.io/collector/component v0.119.0 h1:ZVp9myF1Bc4BLa1V4C15Jy/VpqKPPhvbxpe9pP1mPMc=
go.opentelemetry.io/collector/component v0.119.0/go.mod h1:wtuWxFl+Ky9E/5+t2FwHoLyADDiBFFDdx8fN3fEs0n8=
go.opentelemetry.io/collector/component/componentstatus v0.119.0 h1:H8isEInGaWhnDfuG1Ax663dlsPgF4aM20sgraM6HmSI=
Expand All @@ -70,12 +37,6 @@ go.opentelemetry.io/collector/component/componenttest v0.119.0 h1:nVlBmKSu56zO/q
go.opentelemetry.io/collector/component/componenttest v0.119.0/go.mod h1:H6KVzLkNhB/deEijLcq91Kjgs9Oshx2ZsFAwaMcuTLs=
go.opentelemetry.io/collector/config/configtelemetry v0.119.0 h1:gAgMUEVXZKgpASxOrhS55DyA/aYatq0U6gitZI8MLXw=
go.opentelemetry.io/collector/config/configtelemetry v0.119.0/go.mod h1:SlBEwQg0qly75rXZ6W1Ig8jN25KBVBkFIIAUI1GiAAE=
go.opentelemetry.io/collector/confmap v1.25.0 h1:dLqd6hF4JqcDHl5GWWhc2jXsHs3hkq3KPvU/2Nw5aN4=
go.opentelemetry.io/collector/confmap v1.25.0/go.mod h1:Rrhs+MWoaP6AswZp+ReQ2VO9dfOfcUjdjiSHBsG+nec=
go.opentelemetry.io/collector/confmap/provider/fileprovider v1.25.0 h1:0Bbay2ow6eQVKMxuota2i1/iIMRhE988hxoY/67Zfqw=
go.opentelemetry.io/collector/confmap/provider/fileprovider v1.25.0/go.mod h1:5xaAHjqx9mlcXxDCeUrZXkEfWk9suMqMKspK41XNelc=
go.opentelemetry.io/collector/filter v0.119.0 h1:uAoF9h7iTHlQE/AnIborqUwwT+Qtw+UnXfr4vEkzY0o=
go.opentelemetry.io/collector/filter v0.119.0/go.mod h1:mRiDt6ZAi+uN11FBwQ8z86k/SBn3PMwzP46cGz2thEc=
go.opentelemetry.io/collector/pdata v1.25.0 h1:AmgBklQfbfy0lT8qsoJtRuYMZ7ZV3VZvkvhjSDentrg=
go.opentelemetry.io/collector/pdata v1.25.0/go.mod h1:Zs7D4RXOGS7E2faGc/jfWdbmhoiHBxA7QbpuJOioxq8=
go.opentelemetry.io/collector/pipeline v0.119.0 h1:NebdPIOBIzU7CdOE36hNrCrUML+XOTR9Zsoy43E7MVk=
Expand Down
1 change: 1 addition & 0 deletions receiver/bpfstack/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ../../Makefile.Common
2 changes: 1 addition & 1 deletion receiver/bpfstack/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate go run go.opentelemetry.io/collector/cmd/mdatagen metadata.yaml
//go:generate mdatagen metadata.yaml

// Package bpfstack receives data from stack profiling generated from eBPF
package bpfstack // import "go.opentelemetry.io/collector/receiver/bpfstack"
2 changes: 1 addition & 1 deletion receiver/bpfstack/generated_component_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions receiver/pprofreceiver/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ../../Makefile.Common
2 changes: 1 addition & 1 deletion receiver/pprofreceiver/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate go run go.opentelemetry.io/collector/cmd/mdatagen metadata.yaml
//go:generate mdatagen metadata.yaml

// Package bpfstack receives data from stack profiling generated from eBPF
package pprofreceiver // import "go.opentelemetry.io/collector/receiver/pprofreceiver"
2 changes: 1 addition & 1 deletion receiver/pprofreceiver/generated_component_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions tools.go

This file was deleted.

0 comments on commit cee58cf

Please sign in to comment.