def applicationMetrics: List[FrontendMetric] = List()

in app/story_packages/metrics/metrics.scala [175:204]


  def applicationMetrics: List[FrontendMetric] = List(
    StoryPackagesMetrics.QueryCount,
    StoryPackagesMetrics.ScanCount,
    StoryPackagesMetrics.DeleteCount,
    StoryPackagesMetrics.ErrorCount,
    StoryPackagesMetrics.UpdateCount,
    ReindexMetrics.QueryCount,
    ReindexMetrics.ScanCount,
    ReindexMetrics.DeleteCount,
    ReindexMetrics.ErrorCount,
    ReindexMetrics.UpdateCount,
    S3Metrics.S3ClientExceptionsMetric,
    FaciaToolMetrics.ApiUsageCount,
    FaciaToolMetrics.ProxyCount
  )

  def systemMetrics: List[FrontendMetric] = List(SystemMetrics.MaxHeapMemoryMetric,
    SystemMetrics.UsedHeapMemoryMetric, SystemMetrics.TotalPhysicalMemoryMetric, SystemMetrics.FreePhysicalMemoryMetric,
    SystemMetrics.AvailableProcessorsMetric, SystemMetrics.FreeDiskSpaceMetric,
    SystemMetrics.TotalDiskSpaceMetric, SystemMetrics.MaxFileDescriptorsMetric,
    SystemMetrics.OpenFileDescriptorsMetric) ++ SystemMetrics.garbageCollectors.flatMap{ gc => List(
      GaugeMetric(s"${gc.name}-gc-count-per-min" , "Used heap memory (MB)",
        () => gc.gcCount.toLong,
        StandardUnit.Count
      ),
      GaugeMetric(s"${gc.name}-gc-time-per-min", "Used heap memory (MB)",
        () => gc.gcTime.toLong,
        StandardUnit.Count
      )
    )}