Skip to content

Commit e429f71

Browse files
committed
Update changelog
1 parent ae78d92 commit e429f71

3 files changed

Lines changed: 13 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: release
1+
name: Releases
22

3-
on: push
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
47

58
jobs:
69
build:
710
runs-on: ubuntu-latest
811
steps:
9-
- name: Checkout
10-
uses: actions/checkout@v2
11-
- name: Release
12-
uses: softprops/action-gh-release@v1
13-
if: startsWith(github.ref, 'refs/tags/')
12+
- uses: actions/checkout@v2
13+
- uses: ncipollo/release-action@v1
1414
with:
1515
body: Check CHANGELOG.md for details

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## v1.0.0
4+
5+
- No changes. The purpose of this release is to avoid confusion with Go installing v0.21.1 by
6+
default.
7+
38
## v1.0.0-RC3
49

510
- Fully switched to using OpenTelemetry Protocol (OTLP) for exporting spans and metrics. This is

uptrace/config.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,13 @@ func WithDSN(dsn string) Option {
105105
}
106106

107107
// WithServiceVersion configures a `service.name` resource attribute.
108-
// You can use this option together with other options that configure resource attributes.
109108
func WithServiceName(serviceName string) Option {
110109
return option(func(cfg *config) {
111110
cfg.ServiceName = serviceName
112111
})
113112
}
114113

115114
// WithServiceVersion configures a `service.version` resource attribute, for example, `1.0.0`.
116-
// You can use this option together with other options that configure resource attributes.
117115
func WithServiceVersion(serviceVersion string) Option {
118116
return option(func(cfg *config) {
119117
cfg.ServiceVersion = serviceVersion
@@ -122,7 +120,6 @@ func WithServiceVersion(serviceVersion string) Option {
122120

123121
// WithResourceAttributes configures resource attributes that describe an entity that produces
124122
// telemetry, for example, such attributes as host.name, service.name, etc.
125-
// You can use this option together with other options that configure resource attributes.
126123
//
127124
// The default is to use `OTEL_RESOURCE_ATTRIBUTES` env var, for example,
128125
// `OTEL_RESOURCE_ATTRIBUTES=service.name=myservice,service.version=1.0.0`.
@@ -134,7 +131,7 @@ func WithResourceAttributes(resourceAttributes []attribute.KeyValue) Option {
134131

135132
// WithResource configures a resource that describes an entity that produces telemetry,
136133
// for example, such attributes as host.name and service.name. All produced spans and metrics
137-
// with have these attributes
134+
// will have these attributes.
138135
//
139136
// WithResource overrides and replaces any other resource attributes.
140137
func WithResource(resource *resource.Resource) Option {

0 commit comments

Comments
 (0)