Class DailyAlertCountAnalyticsEvent

java.lang.Object
com.atlassian.diagnostics.internal.analytics.DailyAlertCountAnalyticsEvent

@AsynchronousPreferred public class DailyAlertCountAnalyticsEvent extends Object
Products that bundle atlassian-diagnostics-core should also add the following to their analytics-whitelist:
     {
         "diagnostics.daily.alerts": [
             "count",
             "epochDay",
             {
                 "issueSeverity": ["ERROR", "WARNING", "INFO"]
             },
             "nodeUuids[*]"
         ],
         "diagnostics.page.detail": [],
         "diagnostics.page.overview": []
     }
 
In addition, they should add the following to their global whitelist:
         "diagnostics.daily.alerts": {
             "whitelistedAttributes": [
                 "issueId",
                 "pluginKey",
                 "pluginVersion"
             ]
         }
 
  • Constructor Details

    • DailyAlertCountAnalyticsEvent

      public DailyAlertCountAnalyticsEvent(long epochDay, Issue issue, PluginDetails pluginDetails, Set<String> nodeUuids, long count)
  • Method Details

    • getCount

      public long getCount()
    • getEpochDay

      public long getEpochDay()
    • getIssueId

      @Nonnull public String getIssueId()
    • getIssueSeverity

      @Nonnull public String getIssueSeverity()
    • getNodeUuids

      @Nonnull public Set<String> getNodeUuids()
    • getPluginKey

      @Nonnull public String getPluginKey()
    • getPluginVersion

      @Nullable public String getPluginVersion()