Skip to content

Commit 3e728f5

Browse files
committed
Revert "changes to testing"
This reverts commit ba99fd2.
1 parent d198fd1 commit 3e728f5

File tree

95 files changed

+20
-33753
lines changed

Some content is hidden

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

95 files changed

+20
-33753
lines changed

cmd/mdatagen/internal/sampleconnector/internal/metadata/generated_metrics.go

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_metrics.go

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_metrics_test.go

Lines changed: 1 addition & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/mdatagen/internal/samplescraper/internal/metadata/generated_metrics.go

Lines changed: 5 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/mdatagen/internal/templates/metrics.go.tmpl

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,16 @@ import (
2323
{{- end }}
2424
)
2525

26-
const (
27-
AggregationStrategySum = "sum"
28-
AggregationStrategyAvg = "avg"
29-
AggregationStrategyMin = "min"
30-
AggregationStrategyMax = "max"
31-
)
32-
3326
{{ range $name, $info := .Attributes }}
3427
{{- if $info.Enum -}}
3528
// Attribute{{ $name.Render }} specifies the value {{ $name }} attribute.
3629
type Attribute{{ $name.Render }} int
3730

3831
const (
32+
AggregationStrategySum = "sum"
33+
AggregationStrategyAvg = "avg"
34+
AggregationStrategyMin = "min"
35+
AggregationStrategyMax = "max"
3936
_ Attribute{{ $name.Render }} = iota
4037
{{- range $info.Enum }}
4138
Attribute{{ $name.Render }}{{ . | publicVar }}

internal/tools/testresults/go.opentelemetry.io-collector-client-junit.xml

Lines changed: 0 additions & 17 deletions
This file was deleted.

internal/tools/testresults/go.opentelemetry.io-collector-cmd-builder-junit.xml

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)