mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-06-04 23:07:40 +02:00
Fix typo in comment (#1402)
This commit is contained in:
parent
bdf87a7896
commit
f11a86f780
@ -49,7 +49,7 @@ type FieldOffset struct {
|
|||||||
|
|
||||||
// Aligned8Byte returns if all fields are aligned modulo 8-bytes.
|
// Aligned8Byte returns if all fields are aligned modulo 8-bytes.
|
||||||
//
|
//
|
||||||
// Error messaging is printed to out for any fileds determined misaligned.
|
// Error messaging is printed to out for any field determined misaligned.
|
||||||
func Aligned8Byte(fields []FieldOffset, out io.Writer) bool {
|
func Aligned8Byte(fields []FieldOffset, out io.Writer) bool {
|
||||||
misaligned := make([]FieldOffset, 0)
|
misaligned := make([]FieldOffset, 0)
|
||||||
for _, f := range fields {
|
for _, f := range fields {
|
||||||
|
@ -296,7 +296,7 @@ func (s *syncInstrument) RecordOne(ctx context.Context, num number.Number, kvs [
|
|||||||
// processor. This Accumulator supports only a single processor.
|
// processor. This Accumulator supports only a single processor.
|
||||||
//
|
//
|
||||||
// The Accumulator does not start any background process to collect itself
|
// The Accumulator does not start any background process to collect itself
|
||||||
// periodically, this responsbility lies with the processor, typically,
|
// periodically, this responsibility lies with the processor, typically,
|
||||||
// depending on the type of export. For example, a pull-based
|
// depending on the type of export. For example, a pull-based
|
||||||
// processor will call Collect() when it receives a request to scrape
|
// processor will call Collect() when it receives a request to scrape
|
||||||
// current metric values. A push-based processor should configure its
|
// current metric values. A push-based processor should configure its
|
||||||
|
Loading…
x
Reference in New Issue
Block a user