Skip to content

Commit aa52304

Browse files
committed
update otel observability
1 parent 4c4d1f4 commit aa52304

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

observability/otelobs/gen_reporter.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"time"
77
)
88

9-
const Version_2AT6MB8 = true
9+
const Version_SJLS0N0 = true
1010

1111
type KeyResolver interface {
1212
Resolve(string)
@@ -32,7 +32,6 @@ type ProjectReporter interface {
3232
type SourceTx interface {
3333
ReportDataType(v DataType)
3434
ReportBytes(v uint64)
35-
ReportDuration(v uint64)
3635
ReportAllowedForTraining(v bool)
3736
}
3837

observability/otelobs/gen_reporter_noop.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,4 @@ func (r *noopSourceReporter) Tx(f func(SourceTx))
5858
func (r *noopSourceReporter) TxAt(ts time.Time, f func(SourceTx)) {}
5959
func (r *noopSourceReporter) ReportDataType(v DataType) {}
6060
func (r *noopSourceReporter) ReportBytes(v uint64) {}
61-
func (r *noopSourceReporter) ReportDuration(v uint64) {}
6261
func (r *noopSourceReporter) ReportAllowedForTraining(v bool) {}

0 commit comments

Comments
 (0)