Skip to content

Commit

Permalink
chore: update otel to v0.99.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmarble committed May 25, 2024
1 parent 4708188 commit 622cf68
Show file tree
Hide file tree
Showing 16 changed files with 215 additions and 225 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ jobs:

- name: build
run: >
go install go.opentelemetry.io/collector/cmd/builder@v0.98.0 &&
go install go.opentelemetry.io/collector/cmd/builder@v0.99.0 &&
cd otelcol-influxdb &&
builder --config build.yml
2 changes: 1 addition & 1 deletion common/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/semconv v0.98.0
go.opentelemetry.io/collector/semconv v0.99.0
)

require (
Expand Down
4 changes: 2 additions & 2 deletions common/go.sum

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

2 changes: 1 addition & 1 deletion demo/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:
JAEGER_AGENT_PORT: 6831

otelcol-influxdb:
image: otel/opentelemetry-collector-contrib:0.98.0
image: otel/opentelemetry-collector-contrib:0.99.0
command: [ "--config", "/config.yml" ]
stop_grace_period: 10s
volumes:
Expand Down
15 changes: 8 additions & 7 deletions influx2otel/go.mod
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
module github.com/influxdata/influxdb-observability/influx2otel

go 1.21
go 1.21.0

toolchain go1.21.10

require (
github.com/influxdata/influxdb-observability/common v0.5.8
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.98.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil v0.98.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.99.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil v0.99.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/pdata v1.5.0
go.opentelemetry.io/collector/semconv v0.98.0
go.opentelemetry.io/collector/pdata v1.6.0
go.opentelemetry.io/collector/semconv v0.99.0
)

require (
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
Expand All @@ -25,7 +26,7 @@ require (
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect
google.golang.org/grpc v1.62.1 // indirect
google.golang.org/grpc v1.63.2 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Expand Down
26 changes: 12 additions & 14 deletions influx2otel/go.sum

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

2 changes: 1 addition & 1 deletion jaeger-influxdb/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/spf13/viper v1.18.2
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/pdata v1.3.0
go.opentelemetry.io/collector/semconv v0.98.0
go.opentelemetry.io/collector/semconv v0.99.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
google.golang.org/grpc v1.62.1
Expand Down
4 changes: 2 additions & 2 deletions jaeger-influxdb/go.sum

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

9 changes: 4 additions & 5 deletions otel2influx/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@ go 1.21
require (
github.com/influxdata/influxdb-observability/common v0.5.8
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/consumer v0.98.0
go.opentelemetry.io/collector/pdata v1.5.0
go.opentelemetry.io/collector/semconv v0.98.0
go.opentelemetry.io/collector/consumer v0.99.0
go.opentelemetry.io/collector/pdata v1.6.0
go.opentelemetry.io/collector/semconv v0.99.0
go.uber.org/multierr v1.11.0
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
Expand All @@ -24,7 +23,7 @@ require (
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect
google.golang.org/grpc v1.62.1 // indirect
google.golang.org/grpc v1.63.2 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Expand Down
22 changes: 10 additions & 12 deletions otel2influx/go.sum

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

2 changes: 1 addition & 1 deletion otelcol-influxdb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN \
--mount=type=cache,id=influxdb-observability-gocache,sharing=locked,target=/root/.cache/go-build \
--mount=type=cache,id=influxdb-observability-gomodcache,sharing=locked,target=/go/pkg/mod \
du -cshx /root/.cache/go-build /go/pkg/mod && \
go install go.opentelemetry.io/collector/cmd/builder@v0.98.0 && \
go install go.opentelemetry.io/collector/cmd/builder@v0.99.0 && \
du -cshx /root/.cache/go-build /go/pkg/mod

COPY . /project
Expand Down
44 changes: 22 additions & 22 deletions otelcol-influxdb/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,39 @@ dist:
name: otelcol-influxdb
module: github.com/influxdata/influxdb-observability/otelcol-influxdb
description: OpenTelemetry Collector Distribution built for InfluxDB
version: 0.98.0-0.0.0-beta.0
otelcol_version: 0.98.0
version: 0.99.0-0.0.0-beta.0
otelcol_version: 0.99.0
output_path: ./build

receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver v0.98.0
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver v0.99.0

exporters:
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/influxdbexporter v0.98.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/influxdbexporter v0.99.0

connectors:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/servicegraphconnector v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/servicegraphconnector v0.99.0

extensions:
- gomod: go.opentelemetry.io/collector/extension/ballastextension v0.98.0
- gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/headerssetterextension v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.98.0
- gomod: go.opentelemetry.io/collector/extension/ballastextension v0.99.0
- gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/headerssetterextension v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.99.0

processors:
- gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.98.0
- gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor v0.98.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.98.0
- gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.99.0
- gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor v0.99.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.99.0

replaces:
- github.com/influxdata/influxdb-observability/common => ../../common
Expand Down
Loading

0 comments on commit 622cf68

Please sign in to comment.