Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
adibrastegarnia committed May 18, 2022
1 parent 044cf1e commit be23429
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/grpc/otelemetry/event.go → pkg/grpc/otel/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

package otelemetry
package otel

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

package otelemetry
package otel

import (
"context"
Expand Down
4 changes: 2 additions & 2 deletions pkg/grpc/otelemetry/options.go → pkg/grpc/otel/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

package otelemetry
package otel

import (
"context"
Expand Down Expand Up @@ -44,7 +44,7 @@ func (o *InstrumentationOptions) Extract(ctx context.Context, metadata *metadata
type InstrumentationOption func(*InstrumentationOptions)

// NewInstrumentation creates a configuration for an instrumentation using a set of given options
func NewInstrumentation(opts []InstrumentationOption) *InstrumentationOptions {
func NewInstrumentation(opts ...InstrumentationOption) *InstrumentationOptions {
c := &InstrumentationOptions{
propagators: otel.GetTextMapPropagator(),
tracerProvider: trace.NewNoopTracerProvider(),
Expand Down
2 changes: 1 addition & 1 deletion pkg/grpc/otelemetry/utils.go → pkg/grpc/otel/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

package otelemetry
package otel

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

package otelemetry
package otel

import (
"context"
Expand Down

0 comments on commit be23429

Please sign in to comment.