platforms:
- type: GCE
  launch_stage: GA
  install_documentation_url: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/third-party/jvm
  agent_requirement:
    metrics_minimum_supported_version:
      major: 2
      minor: 2
      patch: 0
  detections:
  - characteristic_metric:
      metric_type: workload.googleapis.com/jvm.memory.heap.used
  default_metrics:
  - name: workload.googleapis.com/jvm.classes.loaded
    value_type: INT64
    kind: GAUGE
    labels: []
  - name: workload.googleapis.com/jvm.gc.collections.count
    value_type: INT64
    kind: CUMULATIVE
    labels:
    - name
  - name: workload.googleapis.com/jvm.gc.collections.elapsed
    value_type: INT64
    kind: CUMULATIVE
    labels:
    - name
  - name: workload.googleapis.com/jvm.memory.heap.committed
    value_type: INT64
    kind: GAUGE
    labels: []
  - name: workload.googleapis.com/jvm.memory.heap.init
    value_type: INT64
    kind: GAUGE
    labels: []
  - name: workload.googleapis.com/jvm.memory.heap.max
    value_type: INT64
    kind: GAUGE
    labels: []
  - name: workload.googleapis.com/jvm.memory.heap.used
    value_type: INT64
    kind: GAUGE
    labels: []
  - name: workload.googleapis.com/jvm.memory.nonheap.committed
    value_type: INT64
    kind: GAUGE
    labels: []
  - name: workload.googleapis.com/jvm.memory.nonheap.init
    value_type: INT64
    kind: GAUGE
    labels: []
  - name: workload.googleapis.com/jvm.memory.nonheap.max
    value_type: INT64
    kind: GAUGE
    labels: []
  - name: workload.googleapis.com/jvm.memory.nonheap.used
    value_type: INT64
    kind: GAUGE
    labels: []
  - name: workload.googleapis.com/jvm.memory.pool.committed
    value_type: INT64
    kind: GAUGE
    labels:
    - name
  - name: workload.googleapis.com/jvm.memory.pool.init
    value_type: INT64
    kind: GAUGE
    labels:
    - name
  - name: workload.googleapis.com/jvm.memory.pool.max
    value_type: INT64
    kind: GAUGE
    labels:
    - name
  - name: workload.googleapis.com/jvm.memory.pool.used
    value_type: INT64
    kind: GAUGE
    labels:
    - name
  - name: workload.googleapis.com/jvm.threads.count
    value_type: INT64
    kind: GAUGE
    labels: []
