Skip to content

Commit

Permalink
Fix dependency for OTEL collector (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome authored Aug 23, 2024
1 parent 84d16cc commit 0685c13
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,17 @@ var _ = Describe("Exporter", func() {
ctx = context.Background()

// Run the collector container
// renovate: datasource=docker
image := "otel/opentelemetry-collector-contrib:0.106.1"

collectorImage := "otel/opentelemetry-collector-contrib"
// renovate: datasource=docker depName=otel/opentelemetry-collector-contrib
collectorImageVersion := "0.106.1"

const collectorCfgName = "collector.yaml"

lc = &matchingLogConsumer{}

req := testcontainers.ContainerRequest{
Image: image,
Image: collectorImage + ":" + collectorImageVersion,
Files: []testcontainers.ContainerFile{
{
HostFilePath: "./" + collectorCfgName,
Expand Down

0 comments on commit 0685c13

Please sign in to comment.