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

pectator.spectator-ext-jvm.1.8.3.source-code.artifactory.conf Maven / Gradle / Ivy

The newest version!
// https://www.jfrog.com/confluence/display/RTF/Artifactory+JMX+MBeans
netflix.spectator.agent.jmx {
  mappings = ${?netflix.spectator.agent.jmx.mappings} [
    {
      query = "org.jfrog.artifactory:instance=Artifactory, type=Work queue,prop=Debian Metadata"
      measurements = [
        {
          name = "artifactory.workQueue.debianMetadata.queueSize"
          value = "{QueueSize}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.workQueue.debianMetadata.numberOfWorkers"
          value = "{NumberOfWorkers}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.workQueue.debianMetadata.maxNumberOfWorkers"
          value = "{MaxNumberOfWorkers}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        }
      ]
    },
    {
      query = "org.jfrog.artifactory:instance=Artifactory, type=HTTPConnectionPool,prop=*"
      measurements = [
        {
          name = "artifactory.httpPool.active"
          value = "{Leased}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "resource"
              value = "${prop}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.httpPool.pending"
          value = "{Pending}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "resource"
              value = "${prop}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.httpPool.available"
          value = "{Available}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "resource"
              value = "${prop}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.httpPool.max"
          value = "{Max}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "resource"
              value = "${prop}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        }
      ]
    },
    {
      query = "org.jfrog.artifactory:instance=Artifactory, type=Storage,prop=Data Source"
      measurements = [
        {
          name = "artifactory.storage.dbpool.maxActive"
          value = "{MaxActive}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.storage.dbpool.active"
          value = "{ActiveConnectionsCount}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.storage.dbpool.idle"
          value = "{IdleConnectionsCount}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.storage.dbpool.selectQueriesCount"
          value = "{SelectQueriesCount}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        },
        {
          name = "artifactory.storage.dbpool.updateQueriesCount"
          value = "{UpdateQueriesCount}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        }
      ]
    },
    {
      query = "org.jfrog.artifactory:instance=Artifactory, type=Executor Pools,prop=Task Service"
      measurements = [
        {
          name = "artifactory.executorPool.taskCount"
          value = "{TaskCount}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        },
        {
          name = "artifactory.executorPool.completedTaskCount"
          value = "{CompletedTaskCount}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        },
        {
          name = "artifactory.executorPool.corePoolSize"
          value = "{CorePoolSize}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.executorPool.maximumPoolSize"
          value = "{MaximumPoolSize}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.executorPool.activeCount"
          value = "{ActiveCount}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.executorPool.largestPoolSize"
          value = "{LargestPoolSize}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        }
      ]
    },
    {
      query = "org.jfrog.artifactory:instance=Artifactory, type=Repositories,prop=*"
      measurements = [
        {
          name = "artifactory.repositories.artifactsCount"
          value = "{ArtifactsCount}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "repositoryKey"
              value = "${prop}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        },
        {
          name = "artifactory.repositories.artifactsTotalSize"
          value = "{ArtifactsTotalSize}"
          tags = [
            {
              key = "id"
              value = "${name}"
            },
            {
              key = "repositoryKey"
              value = "${prop}"
            },
            {
              key = "atlas.dstype"
              value = "gauge"
            }
          ]
        }
      ]
    },
    {
      query = "org.jfrog.artifactory:instance=Artifactory, type=Storage,prop=Binary Storage"
      measurements = [
        {
          name = "artifactory.storage.size"
          value = "{Size}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        }
      ]
    },
    {
      query = "jets3t:Type=S3Service"
      measurements = [
        {
          name = "artifactory.s3.totalObjectCopyRequests"
          value = "{TotalObjectCopyRequests}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        },
        {
          name = "artifactory.s3.totalObjectDeleteRequests"
          value = "{TotalObjectDeleteRequests}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        },
        {
          name = "artifactory.s3.totalListRequests"
          value = "{TotalListRequests}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        },
        {
          name = "artifactory.s3.totalObjectGetRequests"
          value = "{TotalObjectGetRequests}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        },
        {
          name = "artifactory.s3.totalObjectHeadRequests"
          value = "{TotalObjectHeadRequests}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        },
        {
          name = "artifactory.s3.totalObjectPutRequests"
          value = "{TotalObjectPutRequests}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        },
        {
          name = "artifactory.s3.totalRequests"
          value = "{TotalRequests}"
          counter = true
          tags = [
            {
              key = "id"
              value = "${name}"
            }
          ]
        }
      ]
    }
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy