Skip to content

Commit f9908a6

Browse files
authored
Merge branch 'main' into trace_sdk_processor_metrics
2 parents 6388924 + 049569d commit f9908a6

File tree

48 files changed

+129
-130
lines changed

Some content is hidden

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

48 files changed

+129
-130
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232

3333
# Initializes the CodeQL tools for scanning.
3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@d6bbdef45e766d081b84a2def353b0055f728d3e # v3.29.3
35+
uses: github/codeql-action/init@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
3636
with:
3737
languages: go
3838

3939
- name: Autobuild
40-
uses: github/codeql-action/autobuild@d6bbdef45e766d081b84a2def353b0055f728d3e # v3.29.3
40+
uses: github/codeql-action/autobuild@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
4141

4242
- name: Perform CodeQL Analysis
43-
uses: github/codeql-action/analyze@d6bbdef45e766d081b84a2def353b0055f728d3e # v3.29.3
43+
uses: github/codeql-action/analyze@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
4444

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ jobs:
5858
# Upload the results to GitHub's code scanning dashboard (optional).
5959
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
6060
- name: "Upload to code-scanning"
61-
uses: github/codeql-action/upload-sarif@d6bbdef45e766d081b84a2def353b0055f728d3e # v3.29.3
61+
uses: github/codeql-action/upload-sarif@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
6262
with:
6363
sarif_file: results.sarif

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
4141
- `RPCGRPCResponseMetadata`
4242
- Add `ErrorType` attribute helper function to the `go.opentelmetry.io/otel/semconv/v1.34.0` package. (#6962)
4343
- Add `WithAllowKeyDuplication` in `go.opentelemetry.io/otel/sdk/log` which can be used to disable deduplication for log records. (#6968)
44-
- Add `WithCardinalityLimit` option to configure the cardinality limit in `go.opentelemetry.io/otel/sdk/metric`. (#6996)
44+
- Add `WithCardinalityLimit` option to configure the cardinality limit in `go.opentelemetry.io/otel/sdk/metric`. (#6996, #7065)
4545
- Add `Clone` method to `Record` in `go.opentelemetry.io/otel/log` that returns a copy of the record with no shared state. (#7001)
4646
- The `go.opentelemetry.io/otel/semconv/v1.36.0` package.
4747
The package contains semantic conventions from the `v1.36.0` version of the OpenTelemetry Semantic Conventions.

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
# https://help.github.com/en/articles/about-code-owners
1313
#
1414

15-
* @MrAlias @XSAM @dashpole @pellared @dmathieu
15+
* @MrAlias @XSAM @dashpole @pellared @dmathieu @flc1125
1616

1717
CODEOWNERS @MrAlias @pellared @dashpole @XSAM @dmathieu

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ For more information about the maintainer role, see the [community repository](h
660660

661661
### Approvers
662662

663-
None at this time
663+
- [Flc](https://github.com/flc1125), Independent
664664

665665
For more information about the approver role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#approver).
666666

attribute/encoder.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ func copyAndEscape(buf *bytes.Buffer, val string) {
128128
}
129129
}
130130

131-
// Valid returns true if this encoder ID was allocated by
132-
// `NewEncoderID`. Invalid encoder IDs will not be cached.
131+
// Valid reports whether this encoder ID was allocated by
132+
// [NewEncoderID]. Invalid encoder IDs will not be cached.
133133
func (id EncoderID) Valid() bool {
134134
return id.value != 0
135135
}

attribute/iterator.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ type oneIterator struct {
2525
attr KeyValue
2626
}
2727

28-
// Next moves the iterator to the next position. Returns false if there are no
29-
// more attributes.
28+
// Next moves the iterator to the next position.
29+
// Next reports whether there are more attributes.
3030
func (i *Iterator) Next() bool {
3131
i.idx++
3232
return i.idx < i.Len()
@@ -106,7 +106,8 @@ func (oi *oneIterator) advance() {
106106
}
107107
}
108108

109-
// Next returns true if there is another attribute available.
109+
// Next moves the iterator to the next position.
110+
// Next reports whether there is another attribute available.
110111
func (m *MergeIterator) Next() bool {
111112
if m.one.done && m.two.done {
112113
return false

attribute/key.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func (k Key) StringSlice(v []string) KeyValue {
117117
}
118118
}
119119

120-
// Defined returns true for non-empty keys.
120+
// Defined reports whether the key is not empty.
121121
func (k Key) Defined() bool {
122122
return len(k) != 0
123123
}

attribute/kv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type KeyValue struct {
1313
Value Value
1414
}
1515

16-
// Valid returns if kv is a valid OpenTelemetry attribute.
16+
// Valid reports whether kv is a valid OpenTelemetry attribute.
1717
func (kv KeyValue) Valid() bool {
1818
return kv.Key.Defined() && kv.Value.Type() != INVALID
1919
}

attribute/set.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (d Distinct) reflectValue() reflect.Value {
7070
return reflect.ValueOf(d.iface)
7171
}
7272

73-
// Valid returns true if this value refers to a valid Set.
73+
// Valid reports whether this value refers to a valid Set.
7474
func (d Distinct) Valid() bool {
7575
return d.iface != nil
7676
}
@@ -120,7 +120,7 @@ func (l *Set) Value(k Key) (Value, bool) {
120120
return Value{}, false
121121
}
122122

123-
// HasValue tests whether a key is defined in this set.
123+
// HasValue reports whether a key is defined in this set.
124124
func (l *Set) HasValue(k Key) bool {
125125
if l == nil {
126126
return false
@@ -155,7 +155,7 @@ func (l *Set) Equivalent() Distinct {
155155
return l.equivalent
156156
}
157157

158-
// Equals returns true if the argument set is equivalent to this set.
158+
// Equals reports whether the argument set is equivalent to this set.
159159
func (l *Set) Equals(o *Set) bool {
160160
return l.Equivalent() == o.Equivalent()
161161
}

0 commit comments

Comments
 (0)