Skip to content

Commit

Permalink
[receiver/cloudfoundryreceiver] remove unused constants
Browse files Browse the repository at this point in the history
Co-authored-by: Jose Riguera <[email protected]>
Co-authored-by: Sam Clulow <[email protected]>
  • Loading branch information
3 people committed Jun 10, 2024
1 parent 81a5cb0 commit 1f0e300
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions receiver/cloudfoundryreceiver/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ import (
)

const (
attributeNamePrefix = "org.cloudfoundry."
envelopeSourceTypeKey = "source_type"
envelopeSourceTypeValueRTR = "RTR"
logLineRTRZipkinKey = "b3"
logLineRTRW3CKey = "traceparent"
traceW3CVersion = "00"
attributeNamePrefix = "org.cloudfoundry."
)

func convertEnvelopeToMetrics(envelope *loggregator_v2.Envelope, metricSlice pmetric.MetricSlice, startTime time.Time) {
Expand Down

0 comments on commit 1f0e300

Please sign in to comment.