MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/netdata/netdata-configs/orig/go.d/azure_monitor.profiles/default/mysql_flexible.yaml
---
display_name: Azure MySQL Flexible Server
resource_type: Microsoft.DBforMySQL/flexibleServers
metrics:
  - id: ha_io_status
    azure_name: HA_IO_status
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
  - id: ha_sql_status
    azure_name: HA_SQL_status
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
  - id: replica_io_running
    azure_name: Replica_IO_Running
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
  - id: replica_sql_running
    azure_name: Replica_SQL_Running
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
  - id: aborted_connections
    azure_name: aborted_connections
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: ha_replication_lag
    azure_name: HA_replication_lag
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: innodb_row_lock_time
    azure_name: Innodb_row_lock_time
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: innodb_row_lock_waits
    azure_name: Innodb_row_lock_waits
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: replication_lag
    azure_name: replication_lag
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: uptime
    azure_name: Uptime
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
  - id: cpu_percent
    azure_name: cpu_percent
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: memory_percent
    azure_name: memory_percent
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: io_consumption_percent
    azure_name: io_consumption_percent
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: cpu_credits_consumed
    azure_name: cpu_credits_consumed
    time_grain: PT15M
    series:
      - aggregation: average
        kind: gauge
  - id: cpu_credits_remaining
    azure_name: cpu_credits_remaining
    time_grain: PT15M
    series:
      - aggregation: average
        kind: gauge
  - id: storage_used
    azure_name: storage_used
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: storage_limit
    azure_name: storage_limit
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
  - id: storage_percent
    azure_name: storage_percent
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: data_storage_used
    azure_name: data_storage_used
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: ibdata1_storage_used
    azure_name: ibdata1_storage_used
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: binlog_storage_used
    azure_name: binlog_storage_used
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: others_storage_used
    azure_name: others_storage_used
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: backup_storage_used
    azure_name: backup_storage_used
    time_grain: PT15M
    series:
      - aggregation: average
        kind: gauge
  - id: serverlog_storage_usage
    azure_name: serverlog_storage_usage
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: serverlog_storage_limit
    azure_name: serverlog_storage_limit
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
  - id: serverlog_storage_percent
    azure_name: serverlog_storage_percent
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: innodb_buffer_pool_pages_data
    azure_name: Innodb_buffer_pool_pages_data
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
  - id: innodb_buffer_pool_pages_dirty
    azure_name: Innodb_buffer_pool_pages_dirty
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
  - id: innodb_buffer_pool_pages_free
    azure_name: Innodb_buffer_pool_pages_free
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
  - id: innodb_buffer_pool_read_requests
    azure_name: Innodb_buffer_pool_read_requests
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: innodb_buffer_pool_reads
    azure_name: Innodb_buffer_pool_reads
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: sort_merge_passes
    azure_name: Sort_merge_passes
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: threads_running
    azure_name: Threads_running
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
  - id: active_connections
    azure_name: active_connections
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: total_connections
    azure_name: total_connections
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: active_transactions
    azure_name: active_transactions
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: queries
    azure_name: Queries
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: slow_queries
    azure_name: Slow_queries
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: com_select
    azure_name: Com_select
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: com_insert
    azure_name: Com_insert
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: com_update
    azure_name: Com_update
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: com_delete
    azure_name: Com_delete
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: com_create_table
    azure_name: Com_create_table
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: com_alter_table
    azure_name: Com_alter_table
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: com_drop_table
    azure_name: Com_drop_table
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: com_create_db
    azure_name: Com_create_db
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: com_drop_db
    azure_name: Com_drop_db
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: innodb_buffer_pool_pages_flushed
    azure_name: Innodb_buffer_pool_pages_flushed
    time_grain: PT1M
    series:
      - aggregation: average
        kind: gauge
  - id: innodb_data_writes
    azure_name: Innodb_data_writes
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: lock_deadlocks
    azure_name: lock_deadlocks
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: lock_timeouts
    azure_name: lock_timeouts
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: network_bytes_ingress
    azure_name: network_bytes_ingress
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: network_bytes_egress
    azure_name: network_bytes_egress
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: storage_io_count
    azure_name: storage_io_count
    time_grain: PT1M
    series:
      - aggregation: total
        kind: counter
  - id: trx_rseg_history_len
    azure_name: trx_rseg_history_len
    time_grain: PT1M
    series:
      - aggregation: maximum
        kind: gauge
template:
  family: Azure MySQL Flexible Server
  context_namespace: mysql_flexible
  chart_defaults:
    label_promotion:
      - resource_name
      - resource_group
      - region
      - resource_type
      - profile
    instances:
      by_labels:
        - resource_uid
  charts:
    - id: am_azure_mysql_flexible__cpu
      title: Azure MySQL Flexible Server CPU Utilization
      context: cpu
      family: Utilization
      type: line
      units: percentage
      algorithm: absolute
      dimensions:
        - selector: cpu_percent_average
          name: average
    - id: am_azure_mysql_flexible__memory
      title: Azure MySQL Flexible Server Memory Utilization
      context: memory
      family: Utilization
      type: line
      units: percentage
      algorithm: absolute
      dimensions:
        - selector: memory_percent_average
          name: average
    - id: am_azure_mysql_flexible__io_utilization
      title: Azure MySQL Flexible Server Storage I/O Utilization
      context: io_utilization
      family: Utilization
      type: line
      units: percentage
      algorithm: absolute
      dimensions:
        - selector: io_consumption_percent_average
          name: average
    - id: am_azure_mysql_flexible__cpu_credits
      title: Azure MySQL Flexible Server CPU Credits
      context: cpu_credits
      family: Utilization
      type: line
      units: credits
      algorithm: absolute
      dimensions:
        - selector: cpu_credits_consumed_average
          name: consumed
        - selector: cpu_credits_remaining_average
          name: remaining
    - id: am_azure_mysql_flexible__ha_status
      title: Azure MySQL Flexible Server HA Replication Status
      context: ha_status
      family: Availability
      type: line
      units: status
      algorithm: absolute
      dimensions:
        - selector: ha_io_status_maximum
          name: io
        - selector: ha_sql_status_maximum
          name: sql
    - id: am_azure_mysql_flexible__replica_status
      title: Azure MySQL Flexible Server Replica Status
      context: replica_status
      family: Availability
      type: line
      units: status
      algorithm: absolute
      dimensions:
        - selector: replica_io_running_maximum
          name: io
        - selector: replica_sql_running_maximum
          name: sql
    - id: am_azure_mysql_flexible__uptime
      title: Azure MySQL Flexible Server Uptime
      context: uptime
      family: Availability
      type: line
      units: seconds
      algorithm: absolute
      dimensions:
        - selector: uptime_maximum
          name: uptime
    - id: am_azure_mysql_flexible__replication_lag
      title: Azure MySQL Flexible Server Replication Lag
      context: replication_lag
      family: Replication
      type: line
      units: seconds
      algorithm: absolute
      dimensions:
        - selector: replication_lag_average
          name: replica
        - selector: ha_replication_lag_average
          name: ha
    - id: am_azure_mysql_flexible__innodb_row_lock_time
      title: Azure MySQL Flexible Server InnoDB Row Lock Time
      context: innodb_row_lock_time
      family: Contention
      type: line
      units: milliseconds
      algorithm: absolute
      dimensions:
        - selector: innodb_row_lock_time_average
          name: average
    - id: am_azure_mysql_flexible__innodb_row_lock_waits
      title: Azure MySQL Flexible Server InnoDB Row Lock Waits
      context: innodb_row_lock_waits
      family: Contention
      type: line
      units: waits/s
      algorithm: incremental
      dimensions:
        - selector: innodb_row_lock_waits_total
          name: total
    - id: am_azure_mysql_flexible__aborted_connections
      title: Azure MySQL Flexible Server Aborted Connections
      context: aborted_connections
      family: Errors
      type: line
      units: connections/s
      algorithm: incremental
      dimensions:
        - selector: aborted_connections_total
          name: total
    - id: am_azure_mysql_flexible__active_connections
      title: Azure MySQL Flexible Server Active Connections
      context: active_connections
      family: Connections
      type: line
      units: connections
      algorithm: absolute
      dimensions:
        - selector: active_connections_average
          name: average
    - id: am_azure_mysql_flexible__total_connections
      title: Azure MySQL Flexible Server Total Connections
      context: total_connections
      family: Connections
      type: line
      units: connections/s
      algorithm: incremental
      dimensions:
        - selector: total_connections_total
          name: total
    - id: am_azure_mysql_flexible__active_transactions
      title: Azure MySQL Flexible Server Active Transactions
      context: active_transactions
      family: Connections
      type: line
      units: transactions
      algorithm: absolute
      dimensions:
        - selector: active_transactions_average
          name: average
    - id: am_azure_mysql_flexible__threads_running
      title: Azure MySQL Flexible Server Threads Running
      context: threads_running
      family: Connections
      type: line
      units: threads
      algorithm: absolute
      dimensions:
        - selector: threads_running_maximum
          name: maximum
    - id: am_azure_mysql_flexible__queries
      title: Azure MySQL Flexible Server Queries
      context: queries
      family: Throughput
      type: line
      units: queries/s
      algorithm: incremental
      dimensions:
        - selector: queries_total
          name: total
        - selector: slow_queries_total
          name: slow
    - id: am_azure_mysql_flexible__dml_statements
      title: Azure MySQL Flexible Server DML Statements
      context: dml_statements
      family: Throughput
      type: line
      units: statements/s
      algorithm: incremental
      dimensions:
        - selector: com_select_total
          name: select
        - selector: com_insert_total
          name: insert
        - selector: com_update_total
          name: update
        - selector: com_delete_total
          name: delete
    - id: am_azure_mysql_flexible__ddl_statements
      title: Azure MySQL Flexible Server DDL Statements
      context: ddl_statements
      family: Throughput
      type: line
      units: statements/s
      algorithm: incremental
      dimensions:
        - selector: com_create_table_total
          name: create_table
        - selector: com_alter_table_total
          name: alter_table
        - selector: com_drop_table_total
          name: drop_table
        - selector: com_create_db_total
          name: create_db
        - selector: com_drop_db_total
          name: drop_db
    - id: am_azure_mysql_flexible__lock_deadlocks
      title: Azure MySQL Flexible Server Deadlocks
      context: lock_deadlocks
      family: Contention
      type: line
      units: deadlocks/s
      algorithm: incremental
      dimensions:
        - selector: lock_deadlocks_total
          name: total
    - id: am_azure_mysql_flexible__lock_timeouts
      title: Azure MySQL Flexible Server Lock Timeouts
      context: lock_timeouts
      family: Contention
      type: line
      units: timeouts/s
      algorithm: incremental
      dimensions:
        - selector: lock_timeouts_total
          name: total
    - id: am_azure_mysql_flexible__innodb_buffer_pool_pages
      title: Azure MySQL Flexible Server InnoDB Buffer Pool Pages
      context: innodb_buffer_pool_pages
      family: InnoDB
      type: line
      units: pages
      algorithm: absolute
      dimensions:
        - selector: innodb_buffer_pool_pages_data_maximum
          name: data
        - selector: innodb_buffer_pool_pages_dirty_maximum
          name: dirty
        - selector: innodb_buffer_pool_pages_free_maximum
          name: free
        - selector: innodb_buffer_pool_pages_flushed_average
          name: flushed
    - id: am_azure_mysql_flexible__innodb_buffer_pool_io
      title: Azure MySQL Flexible Server InnoDB Buffer Pool I/O
      context: innodb_buffer_pool_io
      family: InnoDB
      type: line
      units: requests/s
      algorithm: incremental
      dimensions:
        - selector: innodb_buffer_pool_read_requests_total
          name: read_requests
        - selector: innodb_buffer_pool_reads_total
          name: disk_reads
    - id: am_azure_mysql_flexible__innodb_data_writes
      title: Azure MySQL Flexible Server InnoDB Data Writes
      context: innodb_data_writes
      family: InnoDB
      type: line
      units: writes/s
      algorithm: incremental
      dimensions:
        - selector: innodb_data_writes_total
          name: total
    - id: am_azure_mysql_flexible__sort_merge_passes
      title: Azure MySQL Flexible Server Sort Merge Passes
      context: sort_merge_passes
      family: Performance
      type: line
      units: passes/s
      algorithm: incremental
      dimensions:
        - selector: sort_merge_passes_total
          name: total
    - id: am_azure_mysql_flexible__network
      title: Azure MySQL Flexible Server Network Traffic
      context: network
      family: Network
      type: line
      units: bytes/s
      algorithm: incremental
      dimensions:
        - selector: network_bytes_ingress_total
          name: in
        - selector: network_bytes_egress_total
          name: out
    - id: am_azure_mysql_flexible__storage_io
      title: Azure MySQL Flexible Server Storage I/O
      context: storage_io
      family: IO
      type: line
      units: operations/s
      algorithm: incremental
      dimensions:
        - selector: storage_io_count_total
          name: total
    - id: am_azure_mysql_flexible__storage
      title: Azure MySQL Flexible Server Storage
      context: storage
      family: Capacity
      type: line
      units: bytes
      algorithm: absolute
      dimensions:
        - selector: storage_used_average
          name: used
        - selector: storage_limit_maximum
          name: limit
    - id: am_azure_mysql_flexible__storage_utilization
      title: Azure MySQL Flexible Server Storage Utilization
      context: storage_utilization
      family: Capacity
      type: line
      units: percentage
      algorithm: absolute
      dimensions:
        - selector: storage_percent_average
          name: average
    - id: am_azure_mysql_flexible__storage_breakdown
      title: Azure MySQL Flexible Server Storage Breakdown
      context: storage_breakdown
      family: Capacity
      type: line
      units: bytes
      algorithm: absolute
      dimensions:
        - selector: data_storage_used_average
          name: data
        - selector: ibdata1_storage_used_average
          name: ibdata1
        - selector: binlog_storage_used_average
          name: binlog
        - selector: others_storage_used_average
          name: others
    - id: am_azure_mysql_flexible__backup_storage
      title: Azure MySQL Flexible Server Backup Storage
      context: backup_storage
      family: Capacity
      type: line
      units: bytes
      algorithm: absolute
      dimensions:
        - selector: backup_storage_used_average
          name: used
    - id: am_azure_mysql_flexible__serverlog_storage
      title: Azure MySQL Flexible Server Server Log Storage
      context: serverlog_storage
      family: Capacity
      type: line
      units: bytes
      algorithm: absolute
      dimensions:
        - selector: serverlog_storage_usage_average
          name: used
        - selector: serverlog_storage_limit_maximum
          name: limit
    - id: am_azure_mysql_flexible__serverlog_storage_utilization
      title: Azure MySQL Flexible Server Server Log Storage Utilization
      context: serverlog_storage_utilization
      family: Capacity
      type: line
      units: percentage
      algorithm: absolute
      dimensions:
        - selector: serverlog_storage_percent_average
          name: average
    - id: am_azure_mysql_flexible__history_list_length
      title: Azure MySQL Flexible Server History List Length
      context: history_list_length
      family: InnoDB
      type: line
      units: entries
      algorithm: absolute
      dimensions:
        - selector: trx_rseg_history_len_maximum
          name: maximum