-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into migrate-to-google-protobuf
- Loading branch information
Showing
42 changed files
with
287 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -263,10 +263,10 @@ BIN_PATH = ./cmd/$(BIN_NAME) | |
_build-a-binary-%: | ||
$(GOBUILD) $(DISABLE_OPTIMIZATIONS) $(GO_TAGS) -o $(BIN_PATH)/$(BIN_NAME)$(SUFFIX)-$(GOOS)-$(GOARCH) $(BUILD_INFO) $(BIN_PATH) | ||
|
||
.PHONY: build-jaeger-v2 | ||
build-jaeger-v2: BIN_NAME = jaeger-v2 | ||
build-jaeger-v2: GO_TAGS = -tags ui | ||
build-jaeger-v2: build-ui _build-a-binary-jaeger-v2$(SUFFIX)-$(GOOS)-$(GOARCH) | ||
.PHONY: build-jaeger | ||
build-jaeger: BIN_NAME = jaeger | ||
build-jaeger: GO_TAGS = -tags ui | ||
build-jaeger: build-ui _build-a-binary-jaeger$(SUFFIX)-$(GOOS)-$(GOARCH) | ||
|
||
.PHONY: build-all-in-one | ||
build-all-in-one: BIN_NAME = all-in-one | ||
|
@@ -346,7 +346,7 @@ _prepare-winres: | |
$(MAKE) _prepare-winres-helper NAME="Jaeger Ingester" PKGPATH="cmd/ingester" | ||
$(MAKE) _prepare-winres-helper NAME="Jaeger Remote Storage" PKGPATH="cmd/remote-storage" | ||
$(MAKE) _prepare-winres-helper NAME="Jaeger All-In-One" PKGPATH="cmd/all-in-one" | ||
$(MAKE) _prepare-winres-helper NAME="Jaeger V2" PKGPATH="cmd/jaeger-v2" | ||
$(MAKE) _prepare-winres-helper NAME="Jaeger V2" PKGPATH="cmd/jaeger" | ||
$(MAKE) _prepare-winres-helper NAME="Jaeger Tracegen" PKGPATH="cmd/tracegen" | ||
$(MAKE) _prepare-winres-helper NAME="Jaeger Anonymizer" PKGPATH="cmd/anonymizer" | ||
$(MAKE) _prepare-winres-helper NAME="Jaeger ES-Index-Cleaner" PKGPATH="cmd/es-index-cleaner" | ||
|
@@ -392,7 +392,7 @@ _build-platform-binaries: build-agent \ | |
build-collector \ | ||
build-query \ | ||
build-ingester \ | ||
build-jaeger-v2 \ | ||
build-jaeger \ | ||
build-remote-storage \ | ||
build-examples \ | ||
build-tracegen \ | ||
|
@@ -500,7 +500,7 @@ changelog: | |
draft-release: | ||
./scripts/draft-release.py | ||
|
||
.PHONY: install-test-tools | ||
.PHONY: install-test-tools | ||
install-test-tools: | ||
$(GO) install github.com/golangci/golangci-lint/cmd/[email protected] | ||
$(GO) install mvdan.cc/gofumpt@latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
jaeger-*-* | ||
jaeger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
ARG base_image | ||
ARG debug_image | ||
|
||
FROM $base_image AS release | ||
ARG TARGETARCH | ||
ARG USER_UID=10001 | ||
|
||
# Agent zipkin.thrift compact | ||
EXPOSE 5775/udp | ||
|
||
# Agent jaeger.thrift compact | ||
EXPOSE 6831/udp | ||
|
||
# Agent jaeger.thrift binary | ||
EXPOSE 6832/udp | ||
|
||
# Agent config HTTP | ||
EXPOSE 5778 | ||
|
||
# Collector OTLP gRPC | ||
EXPOSE 4317 | ||
|
||
# Collector OTLP HTTP | ||
EXPOSE 4318 | ||
|
||
# Collector HTTP | ||
EXPOSE 14268 | ||
|
||
# Collector gRPC | ||
EXPOSE 14250 | ||
|
||
# Collector Zipkin | ||
EXPOSE 9411 | ||
|
||
# Web HTTP | ||
EXPOSE 16686 | ||
|
||
# Default configuration file for setting sampling strategies | ||
# ENV SAMPLING_STRATEGIES_FILE=/etc/jaeger/sampling_strategies.json | ||
# COPY sampling_strategies.json /etc/jaeger/ | ||
|
||
COPY jaeger-linux-$TARGETARCH /go/bin/jaeger-linux | ||
|
||
VOLUME ["/tmp"] | ||
ENTRYPOINT ["/go/bin/jaeger-linux"] | ||
USER ${USER_UID} | ||
|
||
FROM $debug_image AS debug | ||
ARG TARGETARCH=amd64 | ||
ARG USER_UID=10001 | ||
|
||
# Agent zipkin.thrift compact | ||
EXPOSE 5775/udp | ||
|
||
# Agent jaeger.thrift compact | ||
EXPOSE 6831/udp | ||
|
||
# Agent jaeger.thrift binary | ||
EXPOSE 6832/udp | ||
|
||
# Agent config HTTP | ||
EXPOSE 5778 | ||
|
||
# Collector OTLP gRPC | ||
EXPOSE 4317 | ||
|
||
# Collector OTLP HTTP | ||
EXPOSE 4318 | ||
|
||
# Collector HTTP | ||
EXPOSE 14268 | ||
|
||
# Collector gRPC | ||
EXPOSE 14250 | ||
|
||
# Collector Zipkin | ||
EXPOSE 9411 | ||
|
||
# Web HTTP | ||
EXPOSE 16686 | ||
|
||
# Delve | ||
EXPOSE 12345 | ||
|
||
# Default configuration file for setting sampling strategies | ||
# ENV SAMPLING_STRATEGIES_FILE=/etc/jaeger/sampling_strategies.json | ||
# COPY sampling_strategies.json /etc/jaeger/ | ||
|
||
COPY jaeger-debug-linux-$TARGETARCH /go/bin/jaeger-linux | ||
|
||
VOLUME ["/tmp"] | ||
ENTRYPOINT ["/go/bin/dlv", "exec", "/go/bin/jaeger-linux", "--headless", "--listen=:12345", "--api-version=2", "--accept-multiclient", "--log", "--"] | ||
USER ${USER_UID} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# jaeger | ||
|
||
This is experimental Jaeger V2 based on OpenTelemetry collector. | ||
See https://github.com/jaegertracing/jaeger/issues/4843. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.