Skip to content

Commit 944c342

Browse files
Merge branch 'main' into migrate-to-google-protobuf
2 parents d33a3d4 + b3cb6c7 commit 944c342

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+287
-77
lines changed

.github/workflows/ci-all-in-one-build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,20 @@ jobs:
5151
if: github.ref_name != 'main'
5252
run: bash scripts/build-all-in-one-image.sh pr-only
5353

54+
- name: Build and test jaeger (v2) as all-in-one
55+
if: github.ref_name != 'main'
56+
run: BINARY=jaeger bash scripts/build-all-in-one-image.sh pr-only
57+
5458
- name: Build, test, and publish all-in-one image
5559
if: github.ref_name == 'main'
5660
run: bash scripts/build-all-in-one-image.sh
5761
env:
5862
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
5963
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }}
64+
65+
- name: Build, test, and publish jaeger (v2) image
66+
if: github.ref_name == 'main'
67+
run: BINARY=jaeger bash scripts/build-all-in-one-image.sh
68+
env:
69+
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
70+
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }}

CHANGELOG.md

Lines changed: 64 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,81 @@
1-
Changes by Version
2-
==================
3-
41
### A message to people of Russia 🇷🇺
52

63
If you currently live in Russia, please read [this message](./_To_People_of_Russia.md).
74

5+
Changes by Version
6+
==================
7+
8+
<details>
9+
<summary>next release template</summary>
10+
811
next release (yyyy-mm-dd)
912
-------------------
1013

1114
### Backend Changes
1215

13-
#### ⛔ Breaking Changes
16+
run `make changelog` to generate content
1417

15-
#### New Features
18+
### UI Changes
1619

17-
#### Bug fixes, Minor Improvements
20+
...
21+
22+
</details>
23+
24+
1.51.0 (2023-11-04)
25+
-------------------
26+
27+
### Backend Changes
28+
29+
#### ✨ New Features:
30+
31+
* Feat: add sampling store support to badger ([@slayer321](https://github.com/slayer321) in [#4834](https://github.com/jaegertracing/jaeger/pull/4834))
32+
* Feat: add span adjuster that moves some otel resource attributes to span.process ([@james-ryans](https://github.com/james-ryans) in [#4844](https://github.com/jaegertracing/jaeger/pull/4844))
33+
* Add product/file version in windows executables ([@ResamVi](https://github.com/ResamVi) in [#4811](https://github.com/jaegertracing/jaeger/pull/4811))
34+
35+
#### 🐞 Bug fixes, Minor Improvements:
36+
37+
* Fix dependency policy and add to security-insights.yml ([@jkowall](https://github.com/jkowall) in [#4907](https://github.com/jaegertracing/jaeger/pull/4907))
38+
* Add reload interval to otel server certificates ([@james-ryans](https://github.com/james-ryans) in [#4898](https://github.com/jaegertracing/jaeger/pull/4898))
39+
* Feat: add blackhole storage, for benchmarking ([@yurishkuro](https://github.com/yurishkuro) in [#4896](https://github.com/jaegertracing/jaeger/pull/4896))
40+
* Add otel resource detector to jaeger components ([@james-ryans](https://github.com/james-ryans) in [#4864](https://github.com/jaegertracing/jaeger/pull/4864))
41+
* Fix batchprocessor to set correct span format flags ([@k0zl](https://github.com/k0zl) in [#4796](https://github.com/jaegertracing/jaeger/pull/4796))
42+
* Expose collector ports in docker images ([@arunvelsriram](https://github.com/arunvelsriram) in [#4810](https://github.com/jaegertracing/jaeger/pull/4810))
43+
44+
#### 🚧 Experimental Features:
45+
46+
* Exp(jaeger-v2): simplify all-in-one configuration ([@yurishkuro](https://github.com/yurishkuro) in [#4875](https://github.com/jaegertracing/jaeger/pull/4875))
47+
* Exp: support primary and archive storage ([@yurishkuro](https://github.com/yurishkuro) in [#4873](https://github.com/jaegertracing/jaeger/pull/4873))
48+
* Feat(jaeger-v2): create default config for all-in-one ([@yurishkuro](https://github.com/yurishkuro) in [#4842](https://github.com/jaegertracing/jaeger/pull/4842))
49+
50+
#### 👷 CI Improvements:
51+
52+
* Ci: split the install-tools into test/build groups ([@MeenuyD](https://github.com/MeenuyD) in [#4878](https://github.com/jaegertracing/jaeger/pull/4878))
53+
* Simplify binary building in makefile ([@yurishkuro](https://github.com/yurishkuro) in [#4885](https://github.com/jaegertracing/jaeger/pull/4885))
54+
* Ci: pass variable instead of calling make build-xxx-debug ([@yurishkuro](https://github.com/yurishkuro) in [#4883](https://github.com/jaegertracing/jaeger/pull/4883))
55+
* Simplify makefile ([@yurishkuro](https://github.com/yurishkuro) in [#4882](https://github.com/jaegertracing/jaeger/pull/4882))
56+
* Test: add more linters ([@yurishkuro](https://github.com/yurishkuro) in [#4881](https://github.com/jaegertracing/jaeger/pull/4881))
57+
* Ci: enable linting of code in examples/ ([@yurishkuro](https://github.com/yurishkuro) in [#4880](https://github.com/jaegertracing/jaeger/pull/4880))
58+
* Ci: keep the ui asset's .gz file timestamps the same as the original file ([@yurishkuro](https://github.com/yurishkuro) in [#4879](https://github.com/jaegertracing/jaeger/pull/4879))
59+
* Add first pass at the security-insights.yml ([@jkowall](https://github.com/jkowall) in [#4872](https://github.com/jaegertracing/jaeger/pull/4872))
60+
* Create scorecard.yml for ossf implementation ([@jkowall](https://github.com/jkowall) in [#4870](https://github.com/jaegertracing/jaeger/pull/4870))
61+
* Add ci validation of shell scripts using shellcheck ([@akagami-harsh](https://github.com/akagami-harsh) in [#4826](https://github.com/jaegertracing/jaeger/pull/4826))
62+
* Chore: add dynamic loading bar functionality to release-notes.py ([@anshgoyalevil](https://github.com/anshgoyalevil) in [#4857](https://github.com/jaegertracing/jaeger/pull/4857))
63+
* Ci: add the label-check workflow to verify changelog labels on each pr ([@anshgoyalevil](https://github.com/anshgoyalevil) in [#4847](https://github.com/jaegertracing/jaeger/pull/4847))
64+
* Ci(hotrod): print hotrod container logs in case of test failure ([@yurishkuro](https://github.com/yurishkuro) in [#4845](https://github.com/jaegertracing/jaeger/pull/4845))
65+
* Ci: drop -v from ci unit tests to make failures easier to see ([@yurishkuro](https://github.com/yurishkuro) in [#4839](https://github.com/jaegertracing/jaeger/pull/4839))
66+
* Use commit hash as image label when building & integration-testing ([@yurishkuro](https://github.com/yurishkuro) in [#4824](https://github.com/jaegertracing/jaeger/pull/4824))
67+
* Clean-up some linter warnings in build scripts ([@yurishkuro](https://github.com/yurishkuro) in [#4823](https://github.com/jaegertracing/jaeger/pull/4823))
68+
* Fix build-all-in-one-image script ([@albertteoh](https://github.com/albertteoh) in [#4819](https://github.com/jaegertracing/jaeger/pull/4819))
69+
* [ci-release] improve release workflow for manual runs ([@yurishkuro](https://github.com/yurishkuro) in [#4818](https://github.com/jaegertracing/jaeger/pull/4818))
70+
* Add --force to docker commands ([@albertteoh](https://github.com/albertteoh) in [#4820](https://github.com/jaegertracing/jaeger/pull/4820))
71+
* Use setup-node.js for publish release ([@albertteoh](https://github.com/albertteoh) in [#4816](https://github.com/jaegertracing/jaeger/pull/4816))
72+
* Clean up ci scripts and prune docker images between builds ([@yurishkuro](https://github.com/yurishkuro) in [#4815](https://github.com/jaegertracing/jaeger/pull/4815))
73+
* Clean-up & fortify ci-release ([@yurishkuro](https://github.com/yurishkuro) in [#4813](https://github.com/jaegertracing/jaeger/pull/4813))
1874

1975
### UI Changes
2076

77+
* UI pinned to version [1.35.0](https://github.com/jaegertracing/jaeger-ui/blob/main/CHANGELOG.md#v1350-2023-11-02).
78+
2179
1.50.0 (2023-10-06)
2280
-------------------
2381

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,10 @@ BIN_PATH = ./cmd/$(BIN_NAME)
263263
_build-a-binary-%:
264264
$(GOBUILD) $(DISABLE_OPTIMIZATIONS) $(GO_TAGS) -o $(BIN_PATH)/$(BIN_NAME)$(SUFFIX)-$(GOOS)-$(GOARCH) $(BUILD_INFO) $(BIN_PATH)
265265

266-
.PHONY: build-jaeger-v2
267-
build-jaeger-v2: BIN_NAME = jaeger-v2
268-
build-jaeger-v2: GO_TAGS = -tags ui
269-
build-jaeger-v2: build-ui _build-a-binary-jaeger-v2$(SUFFIX)-$(GOOS)-$(GOARCH)
266+
.PHONY: build-jaeger
267+
build-jaeger: BIN_NAME = jaeger
268+
build-jaeger: GO_TAGS = -tags ui
269+
build-jaeger: build-ui _build-a-binary-jaeger$(SUFFIX)-$(GOOS)-$(GOARCH)
270270

271271
.PHONY: build-all-in-one
272272
build-all-in-one: BIN_NAME = all-in-one
@@ -346,7 +346,7 @@ _prepare-winres:
346346
$(MAKE) _prepare-winres-helper NAME="Jaeger Ingester" PKGPATH="cmd/ingester"
347347
$(MAKE) _prepare-winres-helper NAME="Jaeger Remote Storage" PKGPATH="cmd/remote-storage"
348348
$(MAKE) _prepare-winres-helper NAME="Jaeger All-In-One" PKGPATH="cmd/all-in-one"
349-
$(MAKE) _prepare-winres-helper NAME="Jaeger V2" PKGPATH="cmd/jaeger-v2"
349+
$(MAKE) _prepare-winres-helper NAME="Jaeger V2" PKGPATH="cmd/jaeger"
350350
$(MAKE) _prepare-winres-helper NAME="Jaeger Tracegen" PKGPATH="cmd/tracegen"
351351
$(MAKE) _prepare-winres-helper NAME="Jaeger Anonymizer" PKGPATH="cmd/anonymizer"
352352
$(MAKE) _prepare-winres-helper NAME="Jaeger ES-Index-Cleaner" PKGPATH="cmd/es-index-cleaner"
@@ -392,7 +392,7 @@ _build-platform-binaries: build-agent \
392392
build-collector \
393393
build-query \
394394
build-ingester \
395-
build-jaeger-v2 \
395+
build-jaeger \
396396
build-remote-storage \
397397
build-examples \
398398
build-tracegen \
@@ -500,7 +500,7 @@ changelog:
500500
draft-release:
501501
./scripts/draft-release.py
502502

503-
.PHONY: install-test-tools
503+
.PHONY: install-test-tools
504504
install-test-tools:
505505
$(GO) install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.1
506506
$(GO) install mvdan.cc/gofumpt@latest

RELEASE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ Here are the release managers for future versions with the tentative release dat
5454
5555
| Version | Release Manager | Tentative release date |
5656
|---------|-----------------|------------------------|
57-
| 1.51.0 | @yurishkuro | 5 November 2023 |
5857
| 1.52.0 | @jkowall | 5 December 2023 |
59-
| 1.53.0 | @pavolloffay | 3 January 2023 |
60-
| 1.53.0 | @joe-elliott | 7 February 2023 |
61-
| 1.54.0 | @albertteoh | 6 March 2023 |
58+
| 1.53.0 | @pavolloffay | 3 January 2024 |
59+
| 1.54.0 | @joe-elliott | 7 February 2024 |
60+
| 1.55.0 | @albertteoh | 6 March 2024 |
61+
| 1.56.0 | @yurishkuro | 3 April 2024 |

SECURITY-INSIGHTS.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,5 @@ dependencies:
6262
sbom-url: https://github.com/anchore/sbom-action
6363
dependencies-lifecycle:
6464
policy-url: https://github.com/jaegertracing/jaeger/blob/main/SECURITY.md#security-patch-policy
65+
env-dependencies-policy:
66+
policy-url: https://github.com/jaegertracing/jaeger/blob/main/SECURITY.md#dependency-policy

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Security fixes are given priority and might be enough to cause a new version to
1010

1111
CVEs in Jaeger code will be patched in the newest Jaeger releases.
1212

13-
### Dependencies Lifecycle Policy
13+
### Dependency Policy
1414

1515
Dependencies are evaluated before being introduced to ensure they:
1616

SELF-ASSESMENT.md

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Jaeger Self-Assessment
2-
3-
This is a placeholder document for the Jaeger project self-assessment. More details of what this will turn into can be found in the [TAG-Security documented standards.](https://github.com/cncf/tag-security/blob/main/assessments/guide/self-assessment.md)
1+
# Self-assessment
2+
3+
# Self-assessment outline
4+
5+
## Table of contents
46

5-
## Table of Contents
6-
77
* [Metadata](#metadata)
88
* [Security links](#security-links)
99
* [Overview](#overview)
@@ -17,4 +17,30 @@ This is a placeholder document for the Jaeger project self-assessment. More deta
1717
* [Project compliance](#project-compliance)
1818
* [Secure development practices](#secure-development-practices)
1919
* [Security issue resolution](#security-issue-resolution)
20-
* [Appendix](#appendix)## Table of Contents
20+
* [Appendix](#appendix)
21+
22+
## Metadata
23+
24+
| | |
25+
| -- | -- |
26+
| Software | https://github.com/jaegertracing/jaeger/ |
27+
| Security Provider | No |
28+
| Languages | Go |
29+
| SBOM | [Software bill of materials](https://github.com/jaegertracing/jaeger/releases/latest/download/jaeger-SBOM.spdx.json) |
30+
| | |
31+
32+
### Security links
33+
34+
Provide the list of links to existing security documentation for the project. You may
35+
use the table below as an example:
36+
| Doc | url |
37+
| -- | -- |
38+
| Security file | https://github.com/jaegertracing/jaeger/blob/main/SECURITY.md |
39+
40+
## Overview
41+
42+
See [README](https://github.com/jaegertracing/jaeger/#jaeger---a-distributed-tracing-system)
43+
44+
### Background
45+
46+
See [README](https://github.com/jaegertracing/jaeger/#jaeger---a-distributed-tracing-system)

cmd/jaeger-v2/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

cmd/jaeger/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jaeger-*-*
2+
jaeger

cmd/jaeger/Dockerfile

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
ARG base_image
2+
ARG debug_image
3+
4+
FROM $base_image AS release
5+
ARG TARGETARCH
6+
ARG USER_UID=10001
7+
8+
# Agent zipkin.thrift compact
9+
EXPOSE 5775/udp
10+
11+
# Agent jaeger.thrift compact
12+
EXPOSE 6831/udp
13+
14+
# Agent jaeger.thrift binary
15+
EXPOSE 6832/udp
16+
17+
# Agent config HTTP
18+
EXPOSE 5778
19+
20+
# Collector OTLP gRPC
21+
EXPOSE 4317
22+
23+
# Collector OTLP HTTP
24+
EXPOSE 4318
25+
26+
# Collector HTTP
27+
EXPOSE 14268
28+
29+
# Collector gRPC
30+
EXPOSE 14250
31+
32+
# Collector Zipkin
33+
EXPOSE 9411
34+
35+
# Web HTTP
36+
EXPOSE 16686
37+
38+
# Default configuration file for setting sampling strategies
39+
# ENV SAMPLING_STRATEGIES_FILE=/etc/jaeger/sampling_strategies.json
40+
# COPY sampling_strategies.json /etc/jaeger/
41+
42+
COPY jaeger-linux-$TARGETARCH /go/bin/jaeger-linux
43+
44+
VOLUME ["/tmp"]
45+
ENTRYPOINT ["/go/bin/jaeger-linux"]
46+
USER ${USER_UID}
47+
48+
FROM $debug_image AS debug
49+
ARG TARGETARCH=amd64
50+
ARG USER_UID=10001
51+
52+
# Agent zipkin.thrift compact
53+
EXPOSE 5775/udp
54+
55+
# Agent jaeger.thrift compact
56+
EXPOSE 6831/udp
57+
58+
# Agent jaeger.thrift binary
59+
EXPOSE 6832/udp
60+
61+
# Agent config HTTP
62+
EXPOSE 5778
63+
64+
# Collector OTLP gRPC
65+
EXPOSE 4317
66+
67+
# Collector OTLP HTTP
68+
EXPOSE 4318
69+
70+
# Collector HTTP
71+
EXPOSE 14268
72+
73+
# Collector gRPC
74+
EXPOSE 14250
75+
76+
# Collector Zipkin
77+
EXPOSE 9411
78+
79+
# Web HTTP
80+
EXPOSE 16686
81+
82+
# Delve
83+
EXPOSE 12345
84+
85+
# Default configuration file for setting sampling strategies
86+
# ENV SAMPLING_STRATEGIES_FILE=/etc/jaeger/sampling_strategies.json
87+
# COPY sampling_strategies.json /etc/jaeger/
88+
89+
COPY jaeger-debug-linux-$TARGETARCH /go/bin/jaeger-linux
90+
91+
VOLUME ["/tmp"]
92+
ENTRYPOINT ["/go/bin/dlv", "exec", "/go/bin/jaeger-linux", "--headless", "--listen=:12345", "--api-version=2", "--accept-multiclient", "--log", "--"]
93+
USER ${USER_UID}

0 commit comments

Comments
 (0)