Skip to content

Commit 1a5540c

Browse files
fmt
1 parent db22c7c commit 1a5540c

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

receiver/splunkenterprisereceiver/generated_package_test.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/splunkenterprisereceiver/scraper.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1817,7 +1817,6 @@ func (s *splunkScraper) scrapeIndexerClusterManagerStatus(ctx context.Context, n
18171817
return
18181818
}
18191819

1820-
18211820
for _, ic := range icms.Entries {
18221821
if ic.Content.RollingRestartOrUpgrade {
18231822
s.mb.RecordSplunkIndexerRollingrestartStatusDataPoint(now, 1, ic.Content.SearchableRolling, ic.Content.RollingRestartFlag)

receiver/splunkenterprisereceiver/search_result.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ var searchDict = map[string]string{
2020
}
2121

2222
var apiDict = map[string]string{
23-
`SplunkIndexerThroughput`: `/services/server/introspection/indexer?output_mode=json`,
24-
`SplunkDataIndexesExtended`: `/services/data/indexes-extended?output_mode=json&count=-1`,
25-
`SplunkIntrospectionQueues`: `/services/server/introspection/queues?output_mode=json&count=-1`,
26-
`SplunkKVStoreStatus`: `/services/kvstore/status?output_mode=json`,
27-
`SplunkDispatchArtifacts`: `/services/server/status/dispatch-artifacts?output_mode=json&count=-1`,
28-
`SplunkHealth`: `/services/server/health/splunkd/details?output_mode=json`,
23+
`SplunkIndexerThroughput`: `/services/server/introspection/indexer?output_mode=json`,
24+
`SplunkDataIndexesExtended`: `/services/data/indexes-extended?output_mode=json&count=-1`,
25+
`SplunkIntrospectionQueues`: `/services/server/introspection/queues?output_mode=json&count=-1`,
26+
`SplunkKVStoreStatus`: `/services/kvstore/status?output_mode=json`,
27+
`SplunkDispatchArtifacts`: `/services/server/status/dispatch-artifacts?output_mode=json&count=-1`,
28+
`SplunkHealth`: `/services/server/health/splunkd/details?output_mode=json`,
2929
`SplunkIndexerClusterManagerStatus`: `/services/cluster/manager/status?output_mode=json`,
3030
}
3131

@@ -173,12 +173,12 @@ type healthDetails struct {
173173
Features map[string]healthDetails `json:"features,omitempty"`
174174
}
175175

176-
// '/services/cluster/manager/status'
176+
// '/services/cluster/manager/status'
177177
type indexersClusterManagerStatus struct {
178178
Entries []idxClusterManagerStatusEntry `json:"entry"`
179179
}
180180
type idxClusterManagerStatusEntry struct {
181-
Name string `json:"name"`
181+
Name string `json:"name"`
182182
Content idxClusterManagerStatusContent `json:"content"`
183183
}
184184

0 commit comments

Comments
 (0)