Skip to content

Commit e704e27

Browse files
authored
Merge branch 'main' into split-binary-ci
2 parents 8ae2267 + 7941d0d commit e704e27

File tree

14 files changed

+46
-8
lines changed

14 files changed

+46
-8
lines changed

.chloggen/prometheus-exporter.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: bug_fix
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
7+
component: service/telemetry
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: "Pins go.opentelemetry.io/otel/exporters/prometheus to v0.58.0"
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [1067]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext: "go.opentelemetry.io/otel/exporters/prometheus v0.59.x has a bug leading to unexpected suffix in metric names, we want to stay with v0.58.0 in the artifacts."
19+
20+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: [user]
26+

cmd/builder/.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,6 @@ sboms:
142142
- id: package
143143
artifacts: package
144144
nightly:
145-
version_template: '{{ incpatch .Version}}-nightly.{{ .Now.Format "200601021504" }}'
145+
version_template: '{{ incpatch .Version}}-nightly.{{ .ShortCommit }}'
146146
tag_name: nightly-builder
147147
keep_single_release: true

cmd/goreleaser/internal/configure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ func (b *distributionBuilder) WithNightlyConfig() *distributionBuilder {
324324

325325
func (b *distributionBuilder) nightly() config.Nightly {
326326
return config.Nightly{
327-
VersionTemplate: "{{ incpatch .Version}}-nightly.{{ .Now.Format \"200601021504\" }}",
327+
VersionTemplate: "{{ incpatch .Version}}-nightly.{{ .ShortCommit }}",
328328
TagName: fmt.Sprintf("nightly-%s", b.dist.name),
329329
PublishRelease: false,
330330
KeepSingleRelease: true,

cmd/opampsupervisor/.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ sboms:
142142
- id: package
143143
artifacts: package
144144
nightly:
145-
version_template: '{{ incpatch .Version}}-nightly.{{ .Now.Format "200601021504" }}'
145+
version_template: '{{ incpatch .Version}}-nightly.{{ .ShortCommit }}'
146146
tag_name: nightly-opamp-supervisor
147147
keep_single_release: true
148148

distributions/otelcol-contrib/.goreleaser-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ monorepo:
6060
partial:
6161
by: target
6262
nightly:
63-
version_template: '{{ incpatch .Version}}-nightly.{{ .Now.Format "200601021504" }}'
63+
version_template: '{{ incpatch .Version}}-nightly.{{ .ShortCommit }}'
6464
tag_name: nightly-otelcol-contrib
6565
keep_single_release: true

distributions/otelcol-contrib/.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,6 @@ monorepo:
331331
partial:
332332
by: target
333333
nightly:
334-
version_template: '{{ incpatch .Version}}-nightly.{{ .Now.Format "200601021504" }}'
334+
version_template: '{{ incpatch .Version}}-nightly.{{ .ShortCommit }}'
335335
tag_name: nightly-otelcol-contrib
336336
keep_single_release: true

distributions/otelcol-contrib/manifest.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,5 @@ providers:
262262
replaces:
263263
# see https://github.com/openshift/api/pull/1515
264264
- github.com/openshift/api => github.com/openshift/api v0.0.0-20230726162818-81f778f3b3ec
265+
# see https://github.com/open-telemetry/opentelemetry-collector/pull/13466
266+
- go.opentelemetry.io/otel/exporters/prometheus => go.opentelemetry.io/otel/exporters/prometheus v0.58.0

distributions/otelcol-ebpf-profiler/manifest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ providers:
3535
replaces:
3636
# see https://github.com/openshift/api/pull/1515
3737
- github.com/openshift/api => github.com/openshift/api v0.0.0-20230726162818-81f778f3b3ec
38+
- go.opentelemetry.io/otel/exporters/prometheus => go.opentelemetry.io/otel/exporters/prometheus v0.58.0

distributions/otelcol-k8s/.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,6 @@ monorepo:
211211
partial:
212212
by: target
213213
nightly:
214-
version_template: '{{ incpatch .Version}}-nightly.{{ .Now.Format "200601021504" }}'
214+
version_template: '{{ incpatch .Version}}-nightly.{{ .ShortCommit }}'
215215
tag_name: nightly-otelcol-k8s
216216
keep_single_release: true

distributions/otelcol-k8s/manifest.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,6 @@ providers:
8989
- gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v1.37.0
9090
- gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v1.37.0
9191
- gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v1.37.0
92+
93+
replaces:
94+
- go.opentelemetry.io/otel/exporters/prometheus => go.opentelemetry.io/otel/exporters/prometheus v0.58.0

0 commit comments

Comments
 (0)