@@ -119,7 +119,7 @@ func (s *splunkScraper) scrape(ctx context.Context) (pmetric.Metrics, error) {
119
119
info = s .scrapeInfo (ctx , now , errChan )
120
120
} else {
121
121
info = make (infoDict )
122
- nullInfo := Info {Host : "" , Entries : make ([]InfoEntry , 1 )}
122
+ nullInfo := Info {Host : "" , Entries : make ([]infoEntry , 1 )}
123
123
info [typeCm ] = nullInfo
124
124
info [typeSh ] = nullInfo
125
125
info [typeIdx ] = nullInfo
@@ -1791,7 +1791,7 @@ func (s *splunkScraper) scrapeHealth(_ context.Context, now pcommon.Timestamp, i
1791
1791
}
1792
1792
}
1793
1793
1794
- func (s * splunkScraper ) traverseHealthDetailFeatures (details healthDetails , now pcommon.Timestamp , i InfoContent ) {
1794
+ func (s * splunkScraper ) traverseHealthDetailFeatures (details healthDetails , now pcommon.Timestamp , i infoContent ) {
1795
1795
if details .Features == nil {
1796
1796
return
1797
1797
}
@@ -1813,7 +1813,7 @@ func (s *splunkScraper) scrapeInfo(_ context.Context, _ pcommon.Timestamp, errs
1813
1813
// there could be an endpoint configured for each type (never more than 3)
1814
1814
1815
1815
info := make (infoDict )
1816
- nullInfo := Info {Host : "" , Entries : make ([]InfoEntry , 1 )}
1816
+ nullInfo := Info {Host : "" , Entries : make ([]infoEntry , 1 )}
1817
1817
info [typeCm ] = nullInfo
1818
1818
info [typeSh ] = nullInfo
1819
1819
info [typeIdx ] = nullInfo
@@ -1980,25 +1980,25 @@ func (s *splunkScraper) scrapeSearch(_ context.Context, now pcommon.Timestamp, i
1980
1980
}
1981
1981
}
1982
1982
1983
- func (s * splunkScraper ) recordSplunkSearchInitiationDataPoint (now pcommon.Timestamp , value int64 , i InfoContent ) {
1983
+ func (s * splunkScraper ) recordSplunkSearchInitiationDataPoint (now pcommon.Timestamp , value int64 , i infoContent ) {
1984
1984
if s .conf .Metrics .SplunkSearchInitiation .Enabled {
1985
1985
s .mb .RecordSplunkSearchInitiationDataPoint (now , value , i .Build , i .Version )
1986
1986
}
1987
1987
}
1988
1988
1989
- func (s * splunkScraper ) recordSplunkSearchStatusDataPoint (now pcommon.Timestamp , value int64 , state string , i InfoContent ) {
1989
+ func (s * splunkScraper ) recordSplunkSearchStatusDataPoint (now pcommon.Timestamp , value int64 , state string , i infoContent ) {
1990
1990
if s .conf .Metrics .SplunkSearchStatus .Enabled {
1991
1991
s .mb .RecordSplunkSearchStatusDataPoint (now , value , state , i .Build , i .Version )
1992
1992
}
1993
1993
}
1994
1994
1995
- func (s * splunkScraper ) recordSplunkSearchDurationDataPoint (now pcommon.Timestamp , value float64 , i InfoContent ) {
1995
+ func (s * splunkScraper ) recordSplunkSearchDurationDataPoint (now pcommon.Timestamp , value float64 , i infoContent ) {
1996
1996
if s .conf .Metrics .SplunkSearchDuration .Enabled {
1997
1997
s .mb .RecordSplunkSearchDurationDataPoint (now , value , i .Build , i .Version )
1998
1998
}
1999
1999
}
2000
2000
2001
- func (s * splunkScraper ) recordSplunkSearchSuccessDataPoint (now pcommon.Timestamp , value int64 , i InfoContent ) {
2001
+ func (s * splunkScraper ) recordSplunkSearchSuccessDataPoint (now pcommon.Timestamp , value int64 , i infoContent ) {
2002
2002
if s .conf .Metrics .SplunkSearchInitiation .Enabled {
2003
2003
s .mb .RecordSplunkSearchSuccessDataPoint (now , value , i .Build , i .Version )
2004
2004
}
0 commit comments