Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix license header, typos and lints. #160

Merged
merged 2 commits into from
Jul 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/configerror/configerror.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package configerror contains the common errors caused by malformed configs.
package configerror

import "errors"
Expand Down
1 change: 1 addition & 0 deletions consumer/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package consumer contains interfaces that receive and process consumerdata.
package consumer

import (
Expand Down
1 change: 1 addition & 0 deletions consumer/consumerdata/consumerdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package consumerdata contains data structures that holds proto metrics/spans, node and resource.
package consumerdata

import (
Expand Down
1 change: 1 addition & 0 deletions exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package exporter contains interfaces that wraps trace/metrics exporter.
package exporter

import (
Expand Down
14 changes: 14 additions & 0 deletions internal/collector/telemetry/process_telemetry.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2019, OpenTelemetry Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package telemetry

import (
Expand Down
1 change: 1 addition & 0 deletions processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package processor contains interfaces that compose trace/metrics consumers.
package processor

import (
Expand Down
6 changes: 4 additions & 2 deletions receiver/prometheusreceiver/internal/internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ package internal
import (
"context"
"errors"
"github.com/open-telemetry/opentelemetry-service/consumer/consumerdata"
"sync"

"github.com/prometheus/prometheus/pkg/labels"
"github.com/prometheus/prometheus/scrape"
"go.uber.org/zap"
"sync"

"github.com/open-telemetry/opentelemetry-service/consumer/consumerdata"
)

// test helpers
Expand Down
2 changes: 2 additions & 0 deletions service/builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package builder contains the logic on parsing configs and building receivers,
// exporters, pipeplines and tail sampling.
package builder

import (
Expand Down