All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pectator.spectator-ext-spark.0.26.0.source-code.reference.conf Maven / Gradle / Ivy

There is a newer version: 1.7.21
Show newest version

spectator.spark {
  name-patterns = [
    // core/src/main/scala/org/apache/spark/deploy/master/ApplicationSource.scala
    {
      pattern = "^(application)\\.(.+)\\.\\d+\\.([^.]+?)(_MB|_ms)?$"
      name = 3
      tags = {
        "role" = 1
        "appName" = 2
      }
    },

    // core/src/main/scala/org/apache/spark/deploy/master/MasterSource.scala
    // core/src/main/scala/org/apache/spark/deploy/worker/WorkerSource.scala
    {
      pattern = "^(master|worker)\\.([^.]+?)(_MB|_ms)?$"
      name = 2
      tags = {
        "role" = 1
      }
    },

    // core/src/main/scala/org/apache/spark/executor/ExecutorSource.scala
    {
      pattern = "^([^.]+)\\.([^.]+)\\.(executor)\\.(.+?)(_MB|_ms)?$"
      name = 4
      tags = {
        "role" = 3
        "appId" = 1
        "executorId" = 2
      }
    },

    // core/src/main/scala/org/apache/spark/scheduler/DAGSchedulerSource.scala
    // core/src/main/scala/org/apache/spark/storage/BlockManagerSource.scala
    {
      pattern = "^([^.]+)\\.?\\.(DAGScheduler|BlockManager)\\.(.+?)(_MB|_ms)?$"
      name = 4
      tags = {
        "role" = 2
        "appId" = 1
        "driver" = 3
      }
    },

    // streaming/src/main/scala/org/apache/spark/streaming/StreamingSource.scala
    // streaming/src/main/scala/org/apache/spark/streaming/scheduler/BatchInfo.scala
    // Note: the .*Delay stats are derived from the .*Time stats. The time stats by themselves
    // aren't that useful sent to the backend.
    {
      pattern = "^([^.]+)\\.?\\.([^.]+)\\.(StreamingMetrics)\\.(.+Delay)$"
      name = 5
      tags = {
        "role" = 2
        "driver" = 4
        "appId" = 1
        "appName" = 3
      }
    },

    // streaming/src/main/scala/org/apache/spark/streaming/StreamingSource.scala
    {
      pattern = "^([^.]+)\\.?\\.([^.]+)\\.(StreamingMetrics)\\.(.+(?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy