Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
chore: upgrade observability components
Browse files Browse the repository at this point in the history
Upgrade to the latest open telemtry packages. This  includes a breaking
changes to the open telemetry metrics package, which is handled.

Additionally, upgrade the the latest golangci-lint

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  • Loading branch information
LucasRoesler committed Apr 8, 2022
1 parent b8047c6 commit 8beb2d6
Show file tree
Hide file tree
Showing 7 changed files with 170 additions and 69 deletions.
6 changes: 3 additions & 3 deletions .bingo/Variables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ $(GIT_SEMVER): $(BINGO_DIR)/git-semver.mod
@echo "(re)installing $(GOBIN)/git-semver-v6.0.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=git-semver.mod -o=$(GOBIN)/git-semver-v6.0.1 "github.com/mdomke/git-semver/v6"

GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.44.0
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.45.2
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/golangci-lint-v1.44.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.44.0 "github.com/golangci/golangci-lint/cmd/golangci-lint"
@echo "(re)installing $(GOBIN)/golangci-lint-v1.45.2"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.45.2 "github.com/golangci/golangci-lint/cmd/golangci-lint"

2 changes: 1 addition & 1 deletion .bingo/golangci-lint.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT

go 1.16

require github.com/golangci/golangci-lint v1.44.0 // cmd/golangci-lint
require github.com/golangci/golangci-lint v1.45.2 // cmd/golangci-lint
56 changes: 56 additions & 0 deletions .bingo/golangci-lint.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .bingo/variables.env
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ fi

GIT_SEMVER="${GOBIN}/git-semver-v6.0.1"

GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.44.0"
GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.45.2"

43 changes: 23 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ require (
github.com/go-ozzo/ozzo-validation/v4 v4.3.0
github.com/golang-jwt/jwt/v4 v4.3.0
github.com/gorilla/websocket v1.5.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.0 // indirect
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0
github.com/lib/pq v1.10.4
github.com/opentracing/opentracing-go v1.2.0
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.12.1
github.com/prometheus/common v0.33.0 // indirect
github.com/robfig/cron v1.2.0
github.com/rs/cors v1.8.2
github.com/satori/go.uuid v1.2.0
Expand All @@ -27,29 +29,30 @@ require (
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
github.com/urfave/negroni v1.0.0
go.opentelemetry.io/contrib/detectors/aws/eks v1.4.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.29.0
go.opentelemetry.io/contrib/instrumentation/runtime v0.29.0
go.opentelemetry.io/contrib/propagators/aws v1.4.0
go.opentelemetry.io/contrib/propagators/jaeger v1.4.0
go.opentelemetry.io/otel v1.4.1
go.opentelemetry.io/otel/exporters/jaeger v1.4.1
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.4.1
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.4.1
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.4.1
go.opentelemetry.io/otel/exporters/prometheus v0.27.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.4.1
go.opentelemetry.io/otel/metric v0.27.0
go.opentelemetry.io/otel/sdk v1.4.1
go.opentelemetry.io/otel/sdk/metric v0.27.0
go.opentelemetry.io/otel/trace v1.4.1
go.uber.org/atomic v1.7.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.31.0
go.opentelemetry.io/contrib/instrumentation/runtime v0.31.0
go.opentelemetry.io/contrib/propagators/aws v1.6.0
go.opentelemetry.io/contrib/propagators/jaeger v1.6.0
go.opentelemetry.io/otel v1.6.3
go.opentelemetry.io/otel/exporters/jaeger v1.6.3
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.6.3
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.6.3
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.6.3
go.opentelemetry.io/otel/exporters/prometheus v0.28.0
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.6.3
go.opentelemetry.io/otel/internal/metric v0.27.0 // indirect
go.opentelemetry.io/otel/metric v0.28.0
go.opentelemetry.io/otel/sdk v1.6.3
go.opentelemetry.io/otel/sdk/metric v0.28.0
go.opentelemetry.io/otel/trace v1.6.3
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/goleak v1.1.12
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect
golang.org/x/net v0.0.0-20220407224826-aac1ed45d8e3 // indirect
golang.org/x/sys v0.0.0-20220406163625-3f8b81556e12 // indirect
golang.org/x/tools v0.1.10
google.golang.org/genproto v0.0.0-20220211171837-173942840c17 // indirect
google.golang.org/protobuf v1.27.1
google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac // indirect
google.golang.org/protobuf v1.28.0
)

go 1.14
Loading

0 comments on commit 8beb2d6

Please sign in to comment.