{
  "attributes": {
    "active_pending_request_state": {
      "description": "The state of network request.",
      "enum": [
        "active",
        "pending"
      ],
      "name_override": "state",
      "type": "string"
    },
    "alert_rating": {
      "description": "The alert rating.",
      "name_override": "rating",
      "type": "string"
    },
    "column_memory_subtype": {
      "description": "The subtype of column store memory.",
      "enum": [
        "data",
        "dict",
        "index",
        "misc"
      ],
      "name_override": "subtype",
      "type": "string"
    },
    "column_memory_type": {
      "description": "The type of column store memory.",
      "enum": [
        "delta",
        "main"
      ],
      "name_override": "type",
      "type": "string"
    },
    "component": {
      "description": "The SAP HANA component.",
      "type": "string"
    },
    "connection_status": {
      "description": "The connection status.",
      "enum": [
        "idle",
        "queueing",
        "running"
      ],
      "name_override": "status",
      "type": "string"
    },
    "cpu_type": {
      "description": "The type of cpu.",
      "enum": [
        "idle",
        "io_wait",
        "system",
        "user"
      ],
      "name_override": "type",
      "type": "string"
    },
    "database": {
      "description": "The SAP HANA database.",
      "type": "string"
    },
    "disk_state_used_free": {
      "description": "The state of the disk storage.",
      "enum": [
        "free",
        "used"
      ],
      "name_override": "state",
      "type": "string"
    },
    "disk_usage_type": {
      "description": "The SAP HANA disk & volume usage type.",
      "name_override": "usage_type",
      "type": "string"
    },
    "host_swap_state": {
      "description": "The state of swap data.",
      "enum": [
        "free",
        "used"
      ],
      "name_override": "state",
      "type": "string"
    },
    "internal_external_request_type": {
      "description": "The type of network request.",
      "enum": [
        "external",
        "internal"
      ],
      "name_override": "type",
      "type": "string"
    },
    "memory_state_used_free": {
      "description": "The state of memory.",
      "enum": [
        "free",
        "used"
      ],
      "name_override": "state",
      "type": "string"
    },
    "path": {
      "description": "The SAP HANA disk path.",
      "type": "string"
    },
    "port": {
      "description": "The SAP HANA port.",
      "type": "string"
    },
    "primary_host": {
      "description": "The primary SAP HANA host in replication.",
      "name_override": "primary",
      "type": "string"
    },
    "product": {
      "description": "The SAP HANA product.",
      "type": "string"
    },
    "replication_mode": {
      "description": "The replication mode.",
      "name_override": "mode",
      "type": "string"
    },
    "row_memory_type": {
      "description": "The type of row store memory.",
      "enum": [
        "fixed",
        "variable"
      ],
      "name_override": "type",
      "type": "string"
    },
    "schema": {
      "description": "The SAP HANA schema.",
      "type": "string"
    },
    "schema_memory_type": {
      "description": "The type of schema memory.",
      "enum": [
        "delta",
        "history_delta",
        "history_main",
        "main"
      ],
      "name_override": "type",
      "type": "string"
    },
    "schema_operation_type": {
      "description": "The type of operation.",
      "enum": [
        "merge",
        "read",
        "write"
      ],
      "name_override": "type",
      "type": "string"
    },
    "schema_record_type": {
      "description": "The type of schema record.",
      "enum": [
        "delta",
        "history_delta",
        "history_main",
        "main"
      ],
      "name_override": "type",
      "type": "string"
    },
    "secondary_host": {
      "description": "The secondary SAP HANA host in replication.",
      "name_override": "secondary",
      "type": "string"
    },
    "service": {
      "description": "The SAP HANA service.",
      "type": "string"
    },
    "service_memory_used_type": {
      "description": "The type of service memory.",
      "enum": [
        "logical",
        "physical"
      ],
      "name_override": "type",
      "type": "string"
    },
    "service_status": {
      "description": "The status of services.",
      "enum": [
        "active",
        "inactive"
      ],
      "name_override": "status",
      "type": "string"
    },
    "system": {
      "description": "The SAP HANA system.",
      "type": "string"
    },
    "thread_status": {
      "description": "The status of threads.",
      "enum": [
        "active",
        "inactive"
      ],
      "name_override": "status",
      "type": "string"
    },
    "transaction_type": {
      "description": "The transaction type.",
      "enum": [
        "commit",
        "rollback",
        "update"
      ],
      "name_override": "type",
      "type": "string"
    },
    "volume_operation_type": {
      "description": "The type of operation.",
      "enum": [
        "read",
        "write"
      ],
      "name_override": "type",
      "type": "string"
    }
  },
  "description": "This receiver can fetch stats from a SAP HANA instance. It leverages the [driver](https://github.com/SAP/go-hdb) written by SAP for connecting to SAP HANA with the golang sql module to execute several monitoring queries.",
  "display_name": "SAP HANA Receiver",
  "distribution": "contrib",
  "ecosystem": "collector",
  "id": "contrib-saphanareceiver",
  "metrics": {
    "saphana.alert.count": {
      "attributes": [
        "alert_rating"
      ],
      "description": "Number of current alerts.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "{alerts}"
    },
    "saphana.backup.latest": {
      "attributes": [],
      "description": "The age of the latest backup by start time.",
      "enabled": true,
      "gauge": {
        "input_type": "string",
        "value_type": "int"
      },
      "stability": "development",
      "unit": "s"
    },
    "saphana.column.memory.used": {
      "attributes": [
        "column_memory_subtype",
        "column_memory_type"
      ],
      "description": "The memory used in all columns.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.component.memory.used": {
      "attributes": [
        "component"
      ],
      "description": "The memory used in components.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.connection.count": {
      "attributes": [
        "connection_status"
      ],
      "description": "The number of current connections.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "{connections}"
    },
    "saphana.cpu.used": {
      "attributes": [
        "cpu_type"
      ],
      "description": "Total CPU time spent.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": true,
        "value_type": "int"
      },
      "unit": "ms"
    },
    "saphana.disk.size.current": {
      "attributes": [
        "disk_state_used_free",
        "disk_usage_type",
        "path"
      ],
      "description": "The disk size.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.host.memory.current": {
      "attributes": [
        "memory_state_used_free"
      ],
      "description": "The amount of physical memory on the host.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.host.swap.current": {
      "attributes": [
        "host_swap_state"
      ],
      "description": "The amount of swap space on the host.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.instance.code_size": {
      "attributes": [],
      "description": "The instance code size, including shared libraries of SAP HANA processes.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.instance.memory.current": {
      "attributes": [
        "memory_state_used_free"
      ],
      "description": "The size of the memory pool for all SAP HANA processes.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.instance.memory.shared.allocated": {
      "attributes": [],
      "description": "The shared memory size of SAP HANA processes.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.instance.memory.used.peak": {
      "attributes": [],
      "description": "The peak memory from the memory pool used by SAP HANA processes since the instance started (this is a sample-based value).",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.license.expiration.time": {
      "attributes": [
        "product",
        "system"
      ],
      "description": "The amount of time remaining before license expiration.",
      "enabled": true,
      "gauge": {
        "input_type": "string",
        "value_type": "int"
      },
      "stability": "development",
      "unit": "s"
    },
    "saphana.license.limit": {
      "attributes": [
        "product",
        "system"
      ],
      "description": "The allowed product usage as specified by the license (for example, main memory).",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "{licenses}"
    },
    "saphana.license.peak": {
      "attributes": [
        "product",
        "system"
      ],
      "description": "The peak product usage value during last 13 months, measured periodically.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "{licenses}"
    },
    "saphana.network.request.average_time": {
      "attributes": [],
      "description": "The average response time calculated over recent requests",
      "enabled": true,
      "gauge": {
        "input_type": "string",
        "value_type": "double"
      },
      "stability": "development",
      "unit": "ms"
    },
    "saphana.network.request.count": {
      "attributes": [
        "active_pending_request_state"
      ],
      "description": "The number of active and pending service requests.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "{requests}"
    },
    "saphana.network.request.finished.count": {
      "attributes": [
        "internal_external_request_type"
      ],
      "description": "The number of service requests that have completed.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": true,
        "value_type": "int"
      },
      "unit": "{requests}"
    },
    "saphana.replication.average_time": {
      "attributes": [
        "port",
        "primary_host",
        "replication_mode",
        "secondary_host"
      ],
      "description": "The average amount of time consumed replicating a log.",
      "enabled": true,
      "gauge": {
        "input_type": "string",
        "value_type": "double"
      },
      "stability": "development",
      "unit": "us"
    },
    "saphana.replication.backlog.size": {
      "attributes": [
        "port",
        "primary_host",
        "replication_mode",
        "secondary_host"
      ],
      "description": "The current replication backlog size.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.replication.backlog.time": {
      "attributes": [
        "port",
        "primary_host",
        "replication_mode",
        "secondary_host"
      ],
      "description": "The current replication backlog.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "us"
    },
    "saphana.row_store.memory.used": {
      "attributes": [
        "row_memory_type"
      ],
      "description": "The used memory for all row tables.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.schema.memory.used.current": {
      "attributes": [
        "schema",
        "schema_memory_type"
      ],
      "description": "The memory size for all tables in schema.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.schema.memory.used.max": {
      "attributes": [
        "schema"
      ],
      "description": "The estimated maximum memory consumption for all fully loaded tables in schema (data for open transactions is not included).",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.schema.operation.count": {
      "attributes": [
        "schema",
        "schema_operation_type"
      ],
      "description": "The number of operations done on all tables in schema.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": true,
        "value_type": "int"
      },
      "unit": "{operations}"
    },
    "saphana.schema.record.compressed.count": {
      "attributes": [
        "schema"
      ],
      "description": "The number of entries in main during the last optimize compression run for all tables in schema.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "{records}"
    },
    "saphana.schema.record.count": {
      "attributes": [
        "schema",
        "schema_record_type"
      ],
      "description": "The number of records for all tables in schema.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "{records}"
    },
    "saphana.service.code_size": {
      "attributes": [
        "service"
      ],
      "description": "The service code size, including shared libraries.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.service.count": {
      "attributes": [
        "service_status"
      ],
      "description": "The number of services in a given status.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "{services}"
    },
    "saphana.service.memory.compactors.allocated": {
      "attributes": [
        "service"
      ],
      "description": "The part of the memory pool that can potentially (if unpinned) be freed during a memory shortage.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.service.memory.compactors.freeable": {
      "attributes": [
        "service"
      ],
      "description": "The memory that can be freed during a memory shortage.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.service.memory.effective_limit": {
      "attributes": [
        "service"
      ],
      "description": "The effective maximum memory pool size, calculated considering the pool sizes of other processes.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.service.memory.heap.current": {
      "attributes": [
        "memory_state_used_free",
        "service"
      ],
      "description": "The size of the heap portion of the memory pool.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.service.memory.limit": {
      "attributes": [
        "service"
      ],
      "description": "The configured maximum memory pool size.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.service.memory.shared.current": {
      "attributes": [
        "memory_state_used_free",
        "service"
      ],
      "description": "The size of the shared portion of the memory pool.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.service.memory.used": {
      "attributes": [
        "service",
        "service_memory_used_type"
      ],
      "description": "The used memory from the operating system perspective.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.service.stack_size": {
      "attributes": [
        "service"
      ],
      "description": "The service stack size.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.service.thread.count": {
      "attributes": [
        "thread_status"
      ],
      "description": "The number of service threads in a given status.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "{threads}"
    },
    "saphana.transaction.blocked": {
      "attributes": [],
      "description": "The number of transactions waiting for a lock.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "{transactions}"
    },
    "saphana.transaction.count": {
      "attributes": [
        "transaction_type"
      ],
      "description": "The number of transactions.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": true,
        "value_type": "int"
      },
      "unit": "{transactions}"
    },
    "saphana.uptime": {
      "attributes": [
        "database",
        "system"
      ],
      "description": "The uptime of the database.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": false,
        "value_type": "int"
      },
      "unit": "s"
    },
    "saphana.volume.operation.count": {
      "attributes": [
        "disk_usage_type",
        "path",
        "volume_operation_type"
      ],
      "description": "The number of operations executed.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": true,
        "value_type": "int"
      },
      "unit": "{operations}"
    },
    "saphana.volume.operation.size": {
      "attributes": [
        "disk_usage_type",
        "path",
        "volume_operation_type"
      ],
      "description": "The size of operations executed.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": true,
        "value_type": "int"
      },
      "unit": "By"
    },
    "saphana.volume.operation.time": {
      "attributes": [
        "disk_usage_type",
        "path",
        "volume_operation_type"
      ],
      "description": "The time spent executing operations.",
      "enabled": true,
      "stability": "development",
      "sum": {
        "aggregation_temporality": "cumulative",
        "input_type": "string",
        "monotonic": true,
        "value_type": "int"
      },
      "unit": "ms"
    }
  },
  "name": "saphanareceiver",
  "repository": "opentelemetry-collector-contrib",
  "status": {
    "class": "receiver",
    "codeowners": {
      "active": [
        "dehaansa"
      ]
    },
    "distributions": [
      "contrib"
    ],
    "stability": {
      "alpha": [
        "metrics"
      ]
    }
  },
  "type": "receiver"
}