Skip to content

Commit

Permalink
fix/CPH-95-change-healthCachePeriod
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-georgiev-zetta committed May 31, 2019
1 parent df655de commit 855ce80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splunk_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (
transactionsQueryTemplate = `search index="%s" monitoring_event=true (environment="%s" OR environment="%s-publish*") (content_type="%s" OR content_type="") transaction_id!="SYNTHETIC*" transaction_id!="*carousel*" | fields content_type, event, isValid, level, service_name, @time, transaction_id, uuid`
latestEventQueryTemplate = `search index="%s" monitoring_event=true (environment="%s" OR environment="%s-publish*") content_type="%s" event="PublishEnd" | fields content_type, event, isValid, level, service_name, @time, transaction_id, uuid | head 1`
healthcheckQuery = `search index=_audit | head 1`
healthCachePeriod = time.Minute
healthCachePeriod = time.Minute * 5
)

// ErrNoResults returned when the Splunk query yields no results
Expand Down

0 comments on commit 855ce80

Please sign in to comment.