Skip to main content
Version: NG-2.14

MSSQL

Introduction

MSSQL O11ySource is a comprehensive solution designed to provide visibility, analysis, and actionable insights into the performance, behavior, and health of your MSSQL server infrastructure. It encompasses a systematic approach to gather, monitor, and interpret metrics, logs, and key indicators from MSSQL servers, enabling deep visibility into server operations

Getting Started

Compatibility

This MSSQL O11ySource is compatible with MSSQL Version 2012 and above.

Data Collection Method

MSSQL Performance metrics are collected using an internal data collector. It uses a JDBC connection to fetch all the required metrics periodically.

Prerequisites

Dependent Configuration

To configure this O11ySource, create a 'credential' of type 'user' under the 'Definition' tab.

Inputs for Configuring Data Source

  • Instance Name: Please enter the name of the MSSQL instance. This should be a unique identifier for the specific MSSQL deployment you want to monitor.
  • DB Details: Please provide the details of DB
  • IP Address: IP address needs to be a valid IP Address.
  • Port: Enter a valid port
  • Credential: This field is required
  • Metrics Collection Queries: These queries are utilized for MSSQL server's metrics.
  • Query: Choose the Queries
  • Polling Interval [seconds]: How frequently data is gathered. interval should be between 180 -.86400 seconds

Firewall Requirement

To collect data from this O11ySource, ensure the following ports are opened:

Source IPDestination IPDestination PortProtocolDirection
vuSmartMaps IPIP address of the MSSQL server1433*TCPInbound

*Before providing the firewall requirements, please update the port based on the customer environment.

Configuring the Target

  • Create a login on every SQL Server instance you want to monitor and create a read-only vunet user with proper access to your MSSQL server.
  • Start MSSQL, login to MSSQL database and run:
USE master;


GO


CREATE LOGIN vunet WITH PASSWORD = '[password]';


GO


CREATE USER vunet FOR LOGIN vunet;


GO


GRANT SELECT on sys.master_files to vunet;


GO


GRANT SELECT on sys.dm_os_performance_counters to vunet;


GO


GRANT VIEW SERVER STATE to vunet;


GO


GRANT VIEW ANY DEFINITION to vunet;


GO


GRANT CONNECT ANY DATABASE to vunet;


GO


USE msdb;


GO


CREATE USER vunet FOR LOGIN vunet;


GO


GRANT SELECT on msdb.dbo.sysjobhistory to vunet;


GO


GRANT SELECT on msdb.dbo.sysjobschedules to vunet;


GO


GRANT SELECT on msdb.dbo.sysjobs to vunet;


GO

Configuration Steps

  • Enable the MSSQL O11ySource.
  • Select the Sources tab and press the + button to add MSSQL instance that has to be monitored.
  • Set up metrics collection configurations. The O11ySource already provides predefined metric collection queries. Users have the flexibility to adjust query intervals, modify existing queries, and introduce new queries as needed.
  • Once all the required details are filled, click on Save and Continue

Metrics Collected

NameDescriptionData Type
member_nameThe name of the member in the cluster or system.String
member_type_descA description of the type of the member, such as primary or secondary.String
member_state_descThe state of the member in a low cardinality string for efficiency.LowCardinality(String)
number_of_quorum_votesThe number of votes this member has in the quorum.UInt64
query_typeThe type of query being executed.String
cluster_nameThe name of the cluster to which the member belongs.String
quorum_type_descA description of the quorum type, such as majority or node quorum.String
quorum_state_descThe state of the quorum, such as online or offline.String
nodenameThe name of the node in the system or cluster.String
nodestatusThe status of the node, such as running or stopped, in low cardinality format.LowCardinality(String)
currentlyactivenodeThe identifier or count indicating the active node in the system.UInt64
timestampThe exact time when the data point was collected.Datetime64
@timestampA string representation of the timestamp, often used for logging.String
source_idThe unique identifier for the source of the data.String
targetThe target server or service for the data or query.String
src_hostThe source host of the query or data, stored as a low-cardinality string.LowCardinality(String)
src_instanceThe source instance of the query or data in low cardinality format.LowCardinality(String)
tenant_idThe identifier of the tenant or organization.UInt8
bu_idThe business unit identifier.UInt8
nameThe name associated with the metric or entity in low cardinality format.LowCardinality(String)
sql_instanceThe name of the SQL instance associated with the data.String
measurementThe type of measurement being recorded (e.g., CPU, memory).LowCardinality(String)
server_nameThe server name where the SQL instance is running.String
metrics_groupThe grouping of related metrics, stored efficiently in low cardinality format.LowCardinality(String)
group_nameThe name of the group to which the entity or data belongs.String
primary_instanceThe name of the primary instance in the failover cluster.String
primary_instance_healthThe health status of the primary instance.String
secondary_instance_healthThe health status of the secondary instance.String
availability_group_stateThe state of the availability group (e.g., healthy, disconnected).String
cluster_type_descA description of the cluster type (e.g., failover, load balancing).String
sql_versionThe version of SQL Server running on the instance.String
instance_typeThe type of instance (e.g., standalone, clustered).String
is_hadr_enabledIndicates whether high availability and disaster recovery (HADR) is enabled.String
sqlserver_start_timeThe timestamp when the SQL Server instance was started.String
uptime_secThe total uptime in seconds for the SQL Server instance.String
hostThe host name of the server where the SQL instance or data is located.String
other_process_cpuCPU utilization percentage by other processes on the system.UInt16
sqlserver_process_cpuCPU utilization percentage by the SQL Server process.UInt16
system_idle_cpuCPU idle percentage, indicating how much of the system's CPU is free.UInt16
hostName or identifier of the host machine.LowCardinality(String)
measurementMetric category or type of measurement.LowCardinality(String)
tenant_idIdentifier for the tenant, useful for multi-tenant systems.UInt8
bu_idBusiness unit identifier.UInt8
nameName of the metric or process being measured.LowCardinality(String)
sql_instanceName of the SQL Server instance.LowCardinality(String)
src_hostSource host name or IP address from where the data is coming.LowCardinality(String)
src_instanceSource instance name or identifier.LowCardinality(String)
timestampPrecise timestamp when the metric was recorded.Datetime64
@timestampString representation of the timestamp.String
source_idUnique identifier of the source system or process.String
targetTarget system or entity to which the data or request is directed.String
server_nameServer Name of the hostString
available_space_bytesAvailable space in bytes on the disk or volume.UInt64
server_nameName of the server hosting the SQL instance or application.LowCardinality(String)
total_space_bytesTotal disk or volume space in bytes.UInt64
used_space_bytesUsed space in bytes on the disk or volume.UInt64
hostName or identifier of the host machine.LowCardinality(String)
measurementCategory or type of metric measurement.LowCardinality(String)
tenant_idIdentifier for the tenant in multi-tenant systems.UInt8
bu_idBusiness unit identifier.UInt8
nameName of the metric or system being measured.LowCardinality(String)
sql_instanceName of the SQL Server instance.LowCardinality(String)
src_hostSource host name or IP address from which data originates.LowCardinality(String)
src_instanceSource instance name or identifier.LowCardinality(String)
timestampPrecise timestamp when the metric was recorded.Datetime64
@timestampString representation of the timestamp.String
source_idUnique identifier of the source system or process.String
targetTarget system or entity for the data or action.String
volume_mount_pointMount point of the volume where the database or data resides.String
database_nameName of the database being monitored.String
sql_instanceName of the SQL Server instance.String
database_idUnique identifier for the database.UInt8
database_nameName of the database.String
replica_idUnique identifier for the replica in a high availability setup.String
replica_server_nameName of the server hosting the replica database.String
group_database_idIdentifier for the group that the database belongs to.String
synchronization_stateCurrent state of synchronization (e.g., synchronized, not synchronized).UInt8
synchronization_state_descDescription of the synchronization state.String
is_commit_participantIndicator if the database is a participant in the commit process.UInt8
synchronization_healthHealth status of the synchronization process.UInt8
synchronization_health_descDescription of the synchronization health status.String
database_stateCurrent state of the database (e.g., online, offline).UInt8
database_state_descDescription of the database state.String
is_suspendedIndicator if the database is suspended (1 = suspended, 0 = active).UInt8
suspend_reasonReason for the suspension of the database.String
suspend_reason_descDescription of the suspension reason.String
last_sent_timeTimestamp of the last log send time.String
last_received_timeTimestamp of the last log received time.String
last_hardened_timeTimestamp when the log was last hardened.String
last_redone_timeTimestamp of the last redo operation.String
log_send_queue_sizeSize of the log send queue in bytes.UInt64
log_send_rateRate of log sending (bytes per second).Float64
redo_queue_sizeSize of the redo queue in bytes.UInt64
redo_rateRate of redo operations (bytes per second).Float64
filestream_send_rateRate of filestream data being sent.Float64
last_commit_timeTimestamp of the last commit operation.String
is_primary_replicaIndicator if the replica is the primary (1 = primary, 0 = secondary).UInt8
secondary_lag_secondsLag time in seconds of the secondary replica compared to the primary.UInt32
source_idUnique identifier for the source system or process.String
targetTarget system or entity for the data or action.String
tenant_idIdentifier for the tenant in multi-tenant systems.UInt8
bu_idBusiness unit identifier.UInt8
nameName of the metric or system being measured.LowCardinality(String)
src_hostSource host name or IP address from which data originates.LowCardinality(String)
src_instanceSource instance name or identifier.LowCardinality(String)
timestampPrecise timestamp when the metric was recorded.Datetime64
@timestampString representation of the timestamp.String
measurementCategory or type of metric measurement.String
server_nameName of the server hosting the database.String
group_nameName of the group that the database is part of.String
hostName or identifier of the host machine.String
counterName of the performance counter being measured.LowCardinality(String)
counter_typeType of the performance counter (e.g., gauge, rate).LowCardinality(String)
instanceInstance of the performance counter (e.g., specific database or server instance).LowCardinality(String)
objectObject to which the performance counter belongs (e.g., SQL Server, application).LowCardinality(String)
valueValue of the performance counter at the recorded timestamp.Float64
hostName or identifier of the host machine where the data was collected.LowCardinality(String)
measurementCategory or type of metric measurement.LowCardinality(String)
tenant_idIdentifier for the tenant in multi-tenant systems.UInt8
bu_idBusiness unit identifier.UInt8
nameName of the metric or system being measured.LowCardinality(String)
sql_instanceName of the SQL Server instance.LowCardinality(String)
src_hostSource host name or IP address from which data originates.LowCardinality(String)
src_instanceSource instance name or identifier.LowCardinality(String)
timestampPrecise timestamp when the metric was recorded.Datetime64
@timestampString representation of the timestamp.String
source_idUnique identifier for the source system or process.String
targetTarget system or entity for the data or action.String
server_nameName of the server hosting the performance counter.String
max_wait_time_msMaximum wait time in milliseconds for a specific resource.UInt32
resource_wait_msTotal time in milliseconds that the resource has been waiting.UInt32
signal_wait_time_msTime in milliseconds spent waiting for a signal to proceed.UInt32
wait_categoryCategory of the wait event (e.g., I/O waits, lock waits).LowCardinality(String)
wait_time_msTotal wait time in milliseconds for a specific event.UInt32
wait_typeType of wait event (e.g., latch, lock, IO, etc.).LowCardinality(String)
waiting_tasks_countNumber of tasks currently waiting for the resource.UInt32
hostName or identifier of the host machine where the SQL instance is running.LowCardinality(String)
measurementCategory or type of metric measurement being recorded.LowCardinality(String)
tenant_idIdentifier for the tenant in multi-tenant systems.UInt8
bu_idBusiness unit identifier.UInt8
nameName of the metric or system being measured.LowCardinality(String)
sql_instanceName of the SQL Server instance.LowCardinality(String)
src_hostSource host name or IP address from which data originates.LowCardinality(String)
src_instanceSource instance name or identifier.LowCardinality(String)
timestampPrecise timestamp when the metric was recorded.Datetime64
@timestampString representation of the timestamp for easier parsing and handling.String
source_idUnique identifier for the source system or process.String
targetTarget system or entity for the data or action.String
server_nameName of the server for reference in monitoring or reporting.String
sql_instanceName of the SQL Server instance.String
replica_idUnique identifier for the replica in a high availability setup.String
replica_server_nameName of the server hosting the replica database.String
group_idUnique identifier for the availability group.String
group_nameName of the availability group.String
ag_synchronization_health_descDescription of the availability group's synchronization health.String
replica_metadata_idUnique identifier for the replica metadata.UInt32
availability_modeMode of availability (e.g., synchronous, asynchronous).UInt8
availability_mode_descDescription of the availability mode.String
failover_modeMode of failover (e.g., automatic, manual).UInt8
failover_mode_descDescription of the failover mode.String
session_timeoutTimeout duration for a session in milliseconds.UInt64
primary_role_allow_connectionsIndicates if connections are allowed in the primary role.UInt64
primary_role_allow_connections_descDescription of the primary role connection allowance.String
secondary_role_allow_connectionsIndicates if connections are allowed in the secondary role.UInt64
secondary_role_allow_connections_descDescription of the secondary role connection allowance.String
is_localIndicator if the replica is local (1 = local, 0 = remote).UInt8
roleRole of the replica (e.g., primary, secondary).UInt16
role_descDescription of the replica's role.String
operational_stateCurrent operational state of the replica.UInt16
operational_state_descDescription of the operational state.String
connected_stateCurrent connected state of the replica.UInt16
connected_state_descDescription of the connected state.String
recovery_healthHealth status of the recovery process.UInt16
recovery_health_descDescription of the recovery health status.String
replica_synchronization_healthHealth status of the replica's synchronization process.UInt16
replica_synchronization_health_descDescription of the replica synchronization health status.String
last_connect_error_numberError number of the last connection failure.UInt64
last_connect_error_descriptionDescription of the last connection error.String
last_connect_error_timestampTimestamp of the last connection error.UInt64
basic_featuresBasic feature set available for the replica.UInt16
is_distributedIndicator if the replica is part of a distributed availability group (1 = yes, 0 = no).UInt8
seeding_modeMode used for data seeding to the replica.UInt16
seeding_mode_descDescription of the seeding mode.String
source_idUnique identifier for the source system or process.String
targetTarget system or entity for the data or action.String
tenant_idIdentifier for the tenant in multi-tenant systems.UInt8
bu_idBusiness unit identifier.UInt8
nameName of the metric or system being measured.LowCardinality(String)
src_hostSource host name or IP address from which data originates.LowCardinality(String)
src_instanceSource instance name or identifier.LowCardinality(String)
timestampPrecise timestamp when the metric was recorded.Datetime64
@timestampString representation of the timestamp.String
measurementCategory or type of metric measurement.String
server_nameName of the server hosting the replica.String
hostName or identifier of the host machine.String
ForceEncryptionIndicates whether SSL encryption is enforced for connections (1 = Yes, 0 = No).UInt8
PortTypeType of port used for SQL Server (e.g., default, named).LowCardinality(String)
available_server_memoryAmount of memory available to the SQL Server instance, measured in bytes.UInt32
cpu_countNumber of CPUs available to the SQL Server instance.UInt16
db_offlineCount of databases that are currently offline.UInt16
db_onlineCount of databases that are currently online.UInt16
db_recoveringCount of databases that are in the recovering state.UInt16
db_recoveryPendingCount of databases that are in a recovery pending state.UInt16
db_restoringCount of databases that are currently restoring.UInt16
db_suspectCount of databases that are in a suspect state.UInt16
engine_editionEdition of the SQL Server engine (e.g., Standard, Enterprise).UInt16
hardware_typeType of hardware on which the SQL Server is running (e.g., Virtual, Physical).String
instance_typeType of SQL Server instance (e.g., standalone, cluster).UInt16
server_memoryTotal memory allocated to the SQL Server instance, measured in bytes.UInt32
service_nameName of the SQL Server service.LowCardinality(String)
skuStock Keeping Unit (SKU) for the SQL Server license.LowCardinality(String)
sql_versionVersion of the SQL Server instance (e.g., 2017, 2019).LowCardinality(String)
sql_version_descDescription of the SQL Server version.LowCardinality(String)
PortPort number on which the SQL Server instance listens for connections.LowCardinality(String)
uptimeTime in seconds that the SQL Server instance has been running since the last restart.UInt32
hostName or identifier of the host machine where the SQL Server instance is running.LowCardinality(String)
measurement_db_typeType of database measurement being recorded (e.g., transactional, analytical).LowCardinality(String)
tenant_idIdentifier for the tenant in multi-tenant systems.UInt8
bu_idBusiness unit identifier.UInt8
nameName of the metric or system being measured.LowCardinality(String)
sql_instanceName of the SQL Server instance.LowCardinality(String)
src_hostSource host name or IP address from which data originates.LowCardinality(String)
src_instanceSource instance name or identifier.LowCardinality(String)
timestampPrecise timestamp when the metric was recorded.Datetime64
@timestampString representation of the timestamp for easier parsing and handling.String
source_idUnique identifier for the source system or process.String
targetTarget system or entity for the data or action.String
server_nameName of the server for reference in monitoring or reporting.String
connection_start_timeThe start time of the database connection in milliseconds since the epoch.UInt64
cpu_time_msTotal CPU time used by the query, measured in milliseconds.UInt32
cpu_timeTotal CPU time utilized during the execution of the statement, measured in milliseconds.UInt32
exectimeTotal execution time of the query in milliseconds.UInt64
executing_batchThe batch of commands currently being executed.String
executing_statementThe SQL statement currently being executed.String
last_request_end_timeThe end time of the last request processed, in milliseconds since the epoch.Int64
last_request_start_timeThe start time of the last request processed, in milliseconds since the epoch.Int64
login_nameThe name of the user who logged into the database.String
login_timeThe time the user logged in, in milliseconds since the epoch.Int64
memory_usage_kbAmount of memory used by the query, measured in kilobytes.UInt32
program_nameName of the application that initiated the connection to the SQL Server.LowCardinality(String)
databasenameName of the database in which the query is executed.LowCardinality(String)
query_typeType of the query being executed (e.g., SELECT, INSERT).LowCardinality(String)
last_wait_typeType of the last wait the session experienced.LowCardinality(String)
lock_timeoutTimeout period for acquiring a lock, in milliseconds.Int16
start_timeThe time when the query execution started, in milliseconds since the epoch.UInt64
session_statusStatus of the session (e.g., active, sleeping).LowCardinality(String)
task_stateCurrent state of the task associated with the session.LowCardinality(String)
blocking_session_idID of the session that is blocking the current session.UInt16
total_elapsed_time_msTotal elapsed time for the session in milliseconds.UInt32
total_elapsed_timeTotal elapsed time for the session in seconds.UInt16
wait_timeTotal wait time experienced by the session, in seconds.UInt16
user_idID of the user executing the query.UInt32
host_nameName of the host from which the connection originated.LowCardinality(String)
hostThe host name or identifier for the server.LowCardinality(String)
tenant_idIdentifier for the tenant in a multi-tenant system.UInt8
bu_idBusiness unit identifier.UInt8
nameName of the metric or system being measured.LowCardinality(String)
src_hostSource host name or IP address from which data originates.LowCardinality(String)
src_instanceSource instance name or identifier.LowCardinality(String)
timestampPrecise timestamp when the metric was recorded.Datetime64
@timestampString representation of the timestamp for easier parsing and handling.String
statusStatus of the session or connection.LowCardinality(String)
source_idUnique identifier for the source system or process.String
targetTarget system or entity for the data or action.String
cpu_time_pctPercentage of CPU time used by the query relative to total available CPU time.Float32
database_nameName of the database being queried.String
last_execution_timeTime of the last execution of the query, in milliseconds since the epoch.UInt64
statement_textThe text of the SQL statement executed.String
total_worker_time_msecTotal time spent by workers executing the query, in milliseconds.UInt64
last_worker_time_msecTime spent by the last worker executing the query, in milliseconds.UInt64
db_buffer_percentPercentage of database buffer used.Float32
last_elapsed_time_msecElapsed time of the last execution, in milliseconds.UInt64
counter_nameName of the performance counter being measured.String
valueThe value of the performance counter.Float64
sql_instanceName of the SQL Server instance.LowCardinality(String)
cntr_typeType of the counter being measured.UInt64
total_costTotal cost of executing the query, measured in some cost units (e.g., CPU cycles).Float64
equality_columnsColumns used for equality predicates in the query.String
table_nameName of the table being queried.String
included_columnsColumns included in the query that are not part of the primary key.String
inequality_columnsColumns used for inequality predicates in the query.String
last_data_timestampTimestamp of the last data modification or access, in string format.String
commandCommand or operation being executed.String
session_idUnique identifier for the session.UInt16
logical_readsNumber of logical reads performed by the query.UInt16
readsTotal number of reads performed by the query.UInt16
transaction_isolation_levelLevel of transaction isolation used by the query (e.g., Read Uncommitted, Serializable).UInt16
wait_resourceResource on which the session is currently waiting.String
writesTotal number of writes performed by the query.UInt16
db_buffer_MBAmount of memory allocated to the database buffer, measured in megabytes.String
db_buffer_bytesAmount of memory allocated to the database buffer, measured in bytes.String
db_buffer_pagesNumber of pages in the database buffer.UInt16
total_bufferTotal buffer size available to the SQL Server instance.UInt16
avg_elapsed_time_usecAverage elapsed time per query execution, measured in microseconds.UInt32
creation_timeTime when the query or object was created, in milliseconds since the epoch.UInt64
execution_countTotal number of times the query has been executed.UInt32
last_elapsed_timeElapsed time of the last execution, in milliseconds.UInt32
last_elapsed_time_secLast elapsed time of execution in seconds.UInt16
last_logical_readsNumber of logical reads performed in the last execution.UInt16
last_logical_writesNumber of logical writes performed in the last execution.UInt16
last_physical_readsNumber of physical reads performed in the last execution.UInt16
last_worker_timeTime spent by the last worker in milliseconds.UInt16
last_worker_time_secLast worker time in seconds.UInt16
max_physical_readsMaximum number of physical reads during execution.UInt16
max_worker_time_msecMaximum worker time during execution, measured in milliseconds.UInt16
min_physical_readsMinimum number of physical reads during the query execution.UInt16
min_worker_time_msecMinimum worker time spent during execution, measured in milliseconds.UInt16
sql_handleUnique identifier for the SQL query execution context.String
total_elapsed_time_msecTotal elapsed time for the query execution, measured in milliseconds.UInt64
total_elapsed_time_secTotal elapsed time for the query execution, measured in seconds.UInt32
total_elapsed_time_usecTotal elapsed time for the query execution, measured in microseconds.UInt64
total_logical_readsTotal number of logical reads performed by the query execution.UInt16
total_logical_writesTotal number of logical writes performed by the query execution.UInt16
total_physical_readsTotal number of physical reads performed by the query execution.UInt16
total_worker_time_secTotal time spent by workers executing the query, measured in seconds.UInt16
total_worker_time_usecTotal time spent by workers executing the query, measured in microseconds.UInt64
avg_cpu_time_msecAverage CPU time used by the query execution, measured in milliseconds.UInt64
avg_elapsed_time_msecAverage elapsed time for the query execution, measured in milliseconds.UInt64
NextRunDateTimeTimestamp for the next scheduled execution of a job, in milliseconds since the epoch.UInt64
LastRunStatusMessageStatus message from the last execution of a job.String
LastRunDurationDuration of the last job execution, in milliseconds.UInt64
LastRunStatusStatus of the last job execution (e.g., Success, Failed).String
LastRunDateTimeTimestamp of the last job execution, in milliseconds since the epoch.UInt64
JobNameName of the SQL Server job associated with the metrics.String
JobIDUnique identifier for the SQL Server job.String
metrics_groupGrouping or categorization for the metrics collected.String
server_nameName of the server hosting the SQL instance.String
measurementThe type or category of the measurement being recorded.String
database_nameName of the database associated with the measurements.LowCardinality(String)
file_typeType of file (e.g., data file, log file) related to the database.LowCardinality(String)
logical_filenameLogical name of the database file as defined in SQL Server.LowCardinality(String)
physical_filenamePhysical file name on the disk where the database file is stored.LowCardinality(String)
read_bytesTotal number of bytes read from the database file.UInt64
read_latency_msAverage latency for read operations, measured in milliseconds.UInt32
readsTotal number of read operations performed on the database file.UInt64
rg_read_stall_msTotal time in milliseconds that read operations were stalled.UInt32
rg_write_stall_msTotal time in milliseconds that write operations were stalled.UInt32
write_bytesTotal number of bytes written to the database file.UInt64
write_latency_msAverage latency for write operations, measured in milliseconds.UInt32
writesTotal number of write operations performed on the database file.UInt64
hostHostname of the server where the SQL instance is running.LowCardinality(String)
measurementType or category of the measurement being recorded.LowCardinality(String)
tenant_idIdentifier for the tenant in a multi-tenant environment.UInt8
bu_idIdentifier for the business unit associated with the measurement.UInt8
nameName of the metric or measurement.LowCardinality(String)
sql_instanceName of the SQL Server instance.LowCardinality(String)
src_hostSource hostname from which the measurement was collected.LowCardinality(String)
src_instanceSource instance from which the measurement was collected.LowCardinality(String)
timestampTimestamp when the measurement was recorded.Datetime64
@timestampTimestamp in a string format for the measurement record.String
source_idIdentifier for the source of the measurement.String
targetTarget entity associated with the measurement.String
server_nameAlternate name for the server hosting the SQL instance.String
volume_mount_pointMount point for the volume where the database files are stored.String
database_nameName of the database.LowCardinality(String)
recovery_modelRecovery model of the database (e.g., Full, Simple, Bulk-logged).LowCardinality(String)
stateCurrent state of the database (e.g., Online, Offline, Restoring).LowCardinality(String)
hostHost name or IP address of the server where the database resides.String
measurementThe type or category of the measurement being recorded.LowCardinality(String)
tenant_idIdentifier for the tenant associated with the database.UInt8
bu_idIdentifier for the business unit associated with the database.UInt8
nameName of the entity or metric associated with the database.LowCardinality(String)
sql_instanceName of the SQL Server instance hosting the database.LowCardinality(String)
src_hostSource host from where the data is collected.LowCardinality(String)
src_instanceSource instance from where the data is collected.LowCardinality(String)
timestampTimestamp of when the data was recorded.Datetime64
@timestampString representation of the timestamp for easier handling in certain applications.String
source_idIdentifier for the data source.String
targetTarget system or service associated with the measurement.String
database_idUnique identifier for the database.UInt64
full_backup_size_bytesSize of the last full backup of the database in bytes.Float64
last_full_backup_timeTimestamp of the last full backup, in milliseconds since the epoch.UInt64
last_transaction_log_backup_timeTimestamp of the last transaction log backup, in milliseconds since the epoch.UInt64
DeviceTypeType of device used for backups (e.g., Disk, Tape).String
DeviceNameName of the device used for backups.String
transaction_log_backup_size_bytesSize of the last transaction log backup in bytes.UInt64
differential_backup_size_bytesSize of the last differential backup in bytes.UInt64
last_differential_backup_timeTimestamp of the last differential backup, in milliseconds since the epoch.UInt64
server_nameName of the server where the database resides.String
attempted_queriesThe total number of queries attempted against the database.UInt8
database_nameName of the database where the queries are executed.LowCardinality(String)
database_typeType of the database (e.g., SQL, NoSQL).LowCardinality(String)
sql_instanceName of the SQL Server instance hosting the database.LowCardinality(String)
successful_queriesThe total number of queries that were successfully executed.UInt8
hostHost name or IP address of the server where the database resides.LowCardinality(String)
tenant_idIdentifier for the tenant associated with the database.UInt8
bu_idIdentifier for the business unit associated with the database.UInt8
nameName of the entity or metric associated with the queries.LowCardinality(String)
src_hostSource host from where the data is collected.LowCardinality(String)
src_instanceSource instance from where the data is collected.LowCardinality(String)
timestampTimestamp of when the data was recorded.Datetime64
@timestampString representation of the timestamp for easier handling in certain applications.String
source_idIdentifier for the data source.String
targetTarget system or service associated with the measurement.String
server_nameName of the server where the database resides.String
clerk_typeType of clerk or database user performing the actions.String
size_kbSize of the object in kilobytes.UInt64
sql_instanceName of the SQL Server instance hosting the database.LowCardinality(String)
src_hostSource host from where the data is collected.LowCardinality(String)
src_instanceSource instance from where the data is collected.LowCardinality(String)
bu_idIdentifier for the business unit associated with the database.UInt8
tenant_idIdentifier for the tenant associated with the database.UInt8
hostHost name or IP address of the server where the database resides.LowCardinality(String)
measurementName of the measurement being taken.LowCardinality(String)
nameName of the entity or metric associated with the clerk type.LowCardinality(String)
timestampTimestamp of when the data was recorded.Datetime64
@timestampString representation of the timestamp for easier handling in certain applications.String
source_idIdentifier for the data source.String
targetTarget system or service associated with the measurement.String
server_nameName of the server where the database resides.String
commandCommand being executed (e.g., SELECT, INSERT, UPDATE).LowCardinality(String)
cpu_time_msCPU time consumed by the query in milliseconds.UInt32
granted_query_memory_pagesNumber of memory pages granted for the query execution.UInt16
logical_readsNumber of logical reads performed during query execution.UInt16
login_nameName of the user who logged into the database.LowCardinality(String)
open_transactionIndicator of whether there are open transactions (1 for true, 0 for false).UInt8
percent_completePercentage of the query execution completed.UInt8
program_nameName of the application program executing the query.LowCardinality(String)
query_hashHash value representing the query for optimization purposes.LowCardinality(String)
query_plan_hashHash value representing the execution plan of the query.LowCardinality(String)
request_idUnique identifier for the request within the SQL Server instance.UInt16
session_db_nameName of the database associated with the session.LowCardinality(String)
session_idUnique identifier for the session executing the query.UInt16
blocking_session_idID of the session that is blocking this session.UInt16
statement_textText of the SQL statement being executed.String
statusCurrent status of the session (e.g., running, waiting).LowCardinality(String)
total_elapsed_time_msTotal elapsed time for the query execution in milliseconds.UInt32
transaction_isolation_levelIsolation level of the transaction (e.g., READ COMMITTED, SERIALIZABLE).LowCardinality(String)
wait_resourceResource on which the session is waiting (if applicable).LowCardinality(String)
wait_time_msTime the session has been waiting in milliseconds.UInt32
host_nameName of the host from which the session is connected.LowCardinality(String)
wait_typeType of wait that the session is experiencing.LowCardinality(String)
writesNumber of write operations performed by the query.UInt64
objectidUnique identifier of the object (table, view, etc.) being accessed by the query.Int64
hostHost name or IP address of the server where the database resides.LowCardinality(String)
measurementName of the measurement being taken.LowCardinality(String)
tenant_idIdentifier for the tenant associated with the database.UInt8
bu_idIdentifier for the business unit associated with the database.UInt8
nameName of the entity or metric associated with the session.LowCardinality(String)
sql_instanceName of the SQL Server instance hosting the database.LowCardinality(String)
src_hostSource host from where the data is collected.LowCardinality(String)
src_instanceSource instance from where the data is collected.LowCardinality(String)
timestampTimestamp of when the data was recorded.Datetime64
@timestampString representation of the timestamp for easier handling in certain applications.String
source_idIdentifier for the data source.String
targetTarget system or service associated with the measurement.String
server_nameName of the server where the database resides.String
database_nameName of the database associated with the session.String
client_host_nameName of the client host from which the query was executed.String
nt_user_nameWindows user name of the user executing the query.String
stmt_object_nameName of the object (table, view, etc.) being accessed in the statement.String
is_user_processIndicates if the session is a user process or a system process.String
blocking_or_blockedIndicates whether the session is blocking other sessions or is being blocked.String
bs_statement_textcontains a brief or truncated version of the SQL statement being executed.String
portThe port number on which the service is listening for connections.LowCardinality(String)
protocolThe communication protocol used, such as TCP or UDP.LowCardinality(String)
response_timeThe time taken to respond to a request, measured in seconds (or milliseconds), indicating service performance.Float32
resultThe overall outcome of the operation (e.g., success, failure).LowCardinality(String)
result_codeA code representing the result of the operation, which may indicate success, error types, or other statuses.UInt16
result_typeA description of the type of result returned (e.g., error, warning, informational).LowCardinality(String)
serverThe name or identifier of the server processing the request.LowCardinality(String)
hostThe host machine or environment where the server is located.LowCardinality(String)
tenant_idAn identifier for the tenant in a multi-tenant environment, allowing segregation of data and metrics by tenant.UInt8
bu_idAn identifier for the business unit associated with the data, used for categorization or reporting.UInt8
nameA descriptive name for the measurement or event being recorded.LowCardinality(String)
src_hostThe hostname or IP address of the source from where the request originated.LowCardinality(String)
src_instanceThe specific instance from which the request is made, often useful for identifying which part of the application or service is generating traffic.LowCardinality(String)
timestampThe date and time when the record was created, typically in UTC format, providing context for when the data was collected.Datetime64
@timestampA string representation of the timestamp, often used for logging or integration with other systems that require a standard time format.String
source_idA unique identifier for the source of the data or event, which may correspond to a specific application or service.String
targetThe intended target of the operation, which could be a resource, service, or database being accessed or modified.String
server_nameA repeat of ServerName, potentially allowing for different naming conventions or clarifying its usage in a specific context.String
active_workers_countNumber of active workers currently executing tasks.UInt16
context_switches_countNumber of context switches that have occurred, useful for tracking CPU load and task switching.UInt16
cpu_idThe identifier of the CPU core currently in use.LowCardinality(String)
current_tasks_countThe number of tasks currently being handled by the scheduler.UInt16
current_workers_countNumber of workers currently available and executing on the system.UInt16
is_idleIndicates whether the CPU is idle (True for idle, False for active).Bool
is_onlineIndicates whether the CPU core or system is online and operational.Bool
load_factorA measure of the workload on the scheduler or CPU, used to determine the system's efficiency.UInt16
pending_disk_io_countNumber of pending disk input/output operations waiting to be processed.UInt16
preemptive_switches_countNumber of preemptive task switches where tasks are forcibly switched due to scheduling.UInt16
runnable_tasks_countNumber of tasks in the runnable queue waiting for CPU execution.UInt16
scheduler_idIdentifier for the scheduler managing CPU resources and tasks.LowCardinality(String)
total_cpu_usage_msTotal CPU usage time in milliseconds.UInt32
total_scheduler_delay_msTotal delay time in the scheduler, measuring how long tasks are delayed before being processed.UInt32
work_queue_countThe number of work items waiting in the queue for execution.UInt16
yield_countNumber of times tasks have yielded or been voluntarily suspended.UInt16
hostThe hostname or machine where this data is being recorded.LowCardinality(String)
measurement_db_typeType of the database or measurement category this data belongs to.LowCardinality(String)
tenant_idIdentifier for the tenant in a multi-tenant environment.UInt8
bu_idBusiness unit identifier for organizational tracking.UInt8
nameDescriptive name of the measurement or resource being monitored.LowCardinality(String)
sql_instanceSQL Server instance that is being monitored for performance or activity.LowCardinality(String)
src_hostSource host where the data is originating from.LowCardinality(String)
src_instanceSource instance of the SQL Server or service generating the data.LowCardinality(String)
timestampTimestamp of when the measurement was taken, with high precision.Datetime64
@timestampString representation of the timestamp, often in UTC format.String
source_idUnique identifier for the source generating this data or log.String
targetTarget of the data or resource being measured, could refer to a service or system component.String
server_nameAnother representation or naming convention for the server's name, possibly used for tracking multiple instances or roles.String
measurementThe type or name of the measurement captured.String
server_nameThe name of the server where the data is collected.String
sql_instanceThe instance of the SQL server being monitored.String
database_nameThe name of the database where the metrics are recorded.String
LogSizeMBThe total size of the transaction log in megabytes (MB).Float64
UsedLogSpaceMBThe amount of log space currently in use in megabytes (MB).Float64
UsedLogSpacePercentThe percentage of the transaction log space that is currently in use.Float32
file_nameThe name of the file being monitored (e.g., log or data file).String
file_typeThe type of file (e.g., log file, data file, etc.).String
AvgReadStallMSThe average read stall time in milliseconds (MS).Float32
AvgWriteStallMSThe average write stall time in milliseconds (MS).Float32
logdateThe date of the log entry in string format.String
processinfoInformation about the process related to the log entry (e.g., process ID).String
messageThe actual message or log text.String
@timestampA timestamp string for when the data was captured.String
timestampA more precise timestamp (in milliseconds) for when the data was captured.DateTime64
targetThe target or object of the measurement (e.g., table, database).String
src_hostSource host name or IP address from which data originates.LowCardinality(String)
src_instanceThe source instance of the query or data in low cardinality format.LowCardinality(String)