We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deea5bd commit 9adb940Copy full SHA for 9adb940
pkg/translator/signalfx/to_metrics.go
@@ -15,7 +15,10 @@ import (
15
const numMetricTypes = 4
16
17
// ToTranslator converts from SignalFx proto data model to pdata.
18
-type ToTranslator struct{}
+type ToTranslator struct {
19
+ // prevent unkeyed literal initialization
20
+ _ struct{}
21
+}
22
23
// ToMetrics converts SignalFx proto data points to pmetric.Metrics.
24
func (*ToTranslator) ToMetrics(sfxDataPoints []*model.DataPoint) (pmetric.Metrics, error) {
0 commit comments