# migration_log

migration_id: create migration_log table
timestamp: 2021-08-07 14:16:26
sql:
  CREATE TABLE IF NOT EXISTS `migration_log` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `migration_id` TEXT NOT NULL
  , `sql` TEXT NOT NULL
  , `success` INTEGER NOT NULL
  , `error` TEXT NOT NULL
  , `timestamp` DATETIME NOT NULL
  );


migration_id: create user table
timestamp: 2021-08-07 14:16:26
sql:
  CREATE TABLE IF NOT EXISTS `user` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `version` INTEGER NOT NULL
  , `login` TEXT NOT NULL
  , `email` TEXT NOT NULL
  , `name` TEXT NULL
  , `password` TEXT NULL
  , `salt` TEXT NULL
  , `rands` TEXT NULL
  , `company` TEXT NULL
  , `account_id` INTEGER NOT NULL
  , `is_admin` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create user table v2
timestamp: 2021-08-07 14:16:26
sql:
  CREATE TABLE IF NOT EXISTS `user` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `version` INTEGER NOT NULL
  , `login` TEXT NOT NULL
  , `email` TEXT NOT NULL
  , `name` TEXT NULL
  , `password` TEXT NULL
  , `salt` TEXT NULL
  , `rands` TEXT NULL
  , `company` TEXT NULL
  , `org_id` INTEGER NOT NULL
  , `is_admin` INTEGER NOT NULL
  , `email_verified` INTEGER NULL
  , `theme` TEXT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: copy data_source v1 to v2
timestamp: 2021-08-07 14:16:26
sql:
  INSERT INTO `user` (`version`
  , `password`
  , `company`
  , `org_id`
  , `is_admin`
  , `id`
  , `login`
  , `email`
  , `name`
  , `salt`
  , `rands`
  , `created`
  , `updated`) SELECT `version`
  , `password`
  , `company`
  , `account_id`
  , `is_admin`
  , `id`
  , `login`
  , `email`
  , `name`
  , `salt`
  , `rands`
  , `created`
  , `updated` FROM `user_v1`


migration_id: create temp user table v1-7
timestamp: 2021-08-07 14:16:26
sql:
  CREATE TABLE IF NOT EXISTS `temp_user` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `version` INTEGER NOT NULL
  , `email` TEXT NOT NULL
  , `name` TEXT NULL
  , `role` TEXT NULL
  , `code` TEXT NOT NULL
  , `status` TEXT NOT NULL
  , `invited_by_user_id` INTEGER NULL
  , `email_sent` INTEGER NOT NULL
  , `email_sent_on` DATETIME NULL
  , `remote_addr` TEXT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create temp_user v2
timestamp: 2021-08-07 14:16:26
sql:
  CREATE TABLE IF NOT EXISTS `temp_user` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `version` INTEGER NOT NULL
  , `email` TEXT NOT NULL
  , `name` TEXT NULL
  , `role` TEXT NULL
  , `code` TEXT NOT NULL
  , `status` TEXT NOT NULL
  , `invited_by_user_id` INTEGER NULL
  , `email_sent` INTEGER NOT NULL
  , `email_sent_on` DATETIME NULL
  , `remote_addr` TEXT NULL
  , `created` INTEGER NOT NULL DEFAULT 0
  , `updated` INTEGER NOT NULL DEFAULT 0
  );


migration_id: copy temp_user v1 to v2
timestamp: 2021-08-07 14:16:26
sql:
  INSERT INTO `temp_user` (`email`
  , `name`
  , `role`
  , `code`
  , `status`
  , `email_sent`
  , `version`
  , `org_id`
  , `invited_by_user_id`
  , `email_sent_on`
  , `remote_addr`
  , `id`) SELECT `email`
  , `name`
  , `role`
  , `code`
  , `status`
  , `email_sent`
  , `version`
  , `org_id`
  , `invited_by_user_id`
  , `email_sent_on`
  , `remote_addr`
  , `id` FROM `temp_user_tmp_qwerty`


migration_id: create star table
timestamp: 2021-08-07 14:16:26
sql:
  CREATE TABLE IF NOT EXISTS `star` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `user_id` INTEGER NOT NULL
  , `dashboard_id` INTEGER NOT NULL
  );


migration_id: create org table v1
timestamp: 2021-08-07 14:16:26
sql:
  CREATE TABLE IF NOT EXISTS `org` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `version` INTEGER NOT NULL
  , `name` TEXT NOT NULL
  , `address1` TEXT NULL
  , `address2` TEXT NULL
  , `city` TEXT NULL
  , `state` TEXT NULL
  , `zip_code` TEXT NULL
  , `country` TEXT NULL
  , `billing_email` TEXT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create org_user table v1
timestamp: 2021-08-07 14:16:26
sql:
  CREATE TABLE IF NOT EXISTS `org_user` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `user_id` INTEGER NOT NULL
  , `role` TEXT NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create dashboard table
timestamp: 2021-08-07 14:16:26
sql:
  CREATE TABLE IF NOT EXISTS `dashboard` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `version` INTEGER NOT NULL
  , `slug` TEXT NOT NULL
  , `title` TEXT NOT NULL
  , `data` TEXT NOT NULL
  , `account_id` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create dashboard_tag table
timestamp: 2021-08-07 14:16:26
sql:
  CREATE TABLE IF NOT EXISTS `dashboard_tag` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `dashboard_id` INTEGER NOT NULL
  , `term` TEXT NOT NULL
  );


migration_id: add unique index dashboard_tag.dasboard_id_term
timestamp: 2021-08-07 14:16:26
sql:
  CREATE UNIQUE INDEX `UQE_dashboard_tag_dashboard_id_term` ON `dashboard_tag` (`dashboard_id`,`term`);


migration_id: create dashboard v2
timestamp: 2021-08-07 14:16:26
sql:
  CREATE TABLE IF NOT EXISTS `dashboard` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `version` INTEGER NOT NULL
  , `slug` TEXT NOT NULL
  , `title` TEXT NOT NULL
  , `data` TEXT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: copy dashboard v1 to v2
timestamp: 2021-08-07 14:16:26
sql:
  INSERT INTO `dashboard` (`version`
  , `slug`
  , `title`
  , `data`
  , `org_id`
  , `created`
  , `updated`
  , `id`) SELECT `version`
  , `slug`
  , `title`
  , `data`
  , `account_id`
  , `created`
  , `updated`
  , `id` FROM `dashboard_v1`


migration_id: Add unique index for dashboard_org_id_title_folder_id
timestamp: 2021-08-07 14:16:27
sql:
  CREATE UNIQUE INDEX `UQE_dashboard_org_id_folder_id_title` ON `dashboard` (`org_id`,`folder_id`,`title`);


migration_id: create dashboard_provisioning
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `dashboard_provisioning` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `dashboard_id` INTEGER NULL
  , `name` TEXT NOT NULL
  , `external_id` TEXT NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create dashboard_provisioning v2
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `dashboard_provisioning` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `dashboard_id` INTEGER NULL
  , `name` TEXT NOT NULL
  , `external_id` TEXT NOT NULL
  , `updated` INTEGER NOT NULL DEFAULT 0
  );


migration_id: create index IDX_dashboard_provisioning_dashboard_id - v2
timestamp: 2021-08-07 14:16:27
sql:
  CREATE INDEX `IDX_dashboard_provisioning_dashboard_id` ON `dashboard_provisioning` (`dashboard_id`);


migration_id: create index IDX_dashboard_provisioning_dashboard_id_name - v2
timestamp: 2021-08-07 14:16:27
sql:
  CREATE INDEX `IDX_dashboard_provisioning_dashboard_id_name` ON `dashboard_provisioning` (`dashboard_id`,`name`);


migration_id: copy dashboard_provisioning v1 to v2
timestamp: 2021-08-07 14:16:27
sql:
  INSERT INTO `dashboard_provisioning` (`name`
  , `external_id`
  , `id`
  , `dashboard_id`) SELECT `name`
  , `external_id`
  , `id`
  , `dashboard_id` FROM `dashboard_provisioning_tmp_qwerty`


migration_id: create data_source table
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `data_source` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `account_id` INTEGER NOT NULL
  , `version` INTEGER NOT NULL
  , `type` TEXT NOT NULL
  , `name` TEXT NOT NULL
  , `access` TEXT NOT NULL
  , `url` TEXT NOT NULL
  , `password` TEXT NULL
  , `user` TEXT NULL
  , `database` TEXT NULL
  , `basic_auth` INTEGER NOT NULL
  , `basic_auth_user` TEXT NULL
  , `basic_auth_password` TEXT NULL
  , `is_default` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create data_source table v2
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `data_source` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `version` INTEGER NOT NULL
  , `type` TEXT NOT NULL
  , `name` TEXT NOT NULL
  , `access` TEXT NOT NULL
  , `url` TEXT NOT NULL
  , `password` TEXT NULL
  , `user` TEXT NULL
  , `database` TEXT NULL
  , `basic_auth` INTEGER NOT NULL
  , `basic_auth_user` TEXT NULL
  , `basic_auth_password` TEXT NULL
  , `is_default` INTEGER NOT NULL
  , `json_data` TEXT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: copy data_source v1 to v2
timestamp: 2021-08-07 14:16:27
sql:
  INSERT INTO `data_source` (`org_id`
  , `name`
  , `access`
  , `database`
  , `version`
  , `password`
  , `basic_auth`
  , `created`
  , `updated`
  , `user`
  , `basic_auth_password`
  , `is_default`
  , `id`
  , `type`
  , `url`
  , `basic_auth_user`) SELECT `account_id`
  , `name`
  , `access`
  , `database`
  , `version`
  , `password`
  , `basic_auth`
  , `created`
  , `updated`
  , `user`
  , `basic_auth_password`
  , `is_default`
  , `id`
  , `type`
  , `url`
  , `basic_auth_user` FROM `data_source_v1`


migration_id: create api_key table
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `api_key` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `account_id` INTEGER NOT NULL
  , `name` TEXT NOT NULL
  , `key` TEXT NOT NULL
  , `role` TEXT NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create api_key table v2
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `api_key` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `name` TEXT NOT NULL
  , `key` TEXT NOT NULL
  , `role` TEXT NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: copy api_key v1 to v2
timestamp: 2021-08-07 14:16:27
sql:
  INSERT INTO `api_key` (`id`
  , `org_id`
  , `name`
  , `key`
  , `role`
  , `created`
  , `updated`) SELECT `id`
  , `account_id`
  , `name`
  , `key`
  , `role`
  , `created`
  , `updated` FROM `api_key_v1`


migration_id: create dashboard_snapshot table v4
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `dashboard_snapshot` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `name` TEXT NOT NULL
  , `key` TEXT NOT NULL
  , `dashboard` TEXT NOT NULL
  , `expires` DATETIME NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create dashboard_snapshot table v5 #2
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `dashboard_snapshot` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `name` TEXT NOT NULL
  , `key` TEXT NOT NULL
  , `delete_key` TEXT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `user_id` INTEGER NOT NULL
  , `external` INTEGER NOT NULL
  , `external_url` TEXT NOT NULL
  , `dashboard` TEXT NOT NULL
  , `expires` DATETIME NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create quota table v1
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `quota` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NULL
  , `user_id` INTEGER NULL
  , `target` TEXT NOT NULL
  , `limit` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create plugin_setting table
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `plugin_setting` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NULL
  , `plugin_id` TEXT NOT NULL
  , `enabled` INTEGER NOT NULL
  , `pinned` INTEGER NOT NULL
  , `json_data` TEXT NULL
  , `secure_json_data` TEXT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create index UQE_plugin_setting_org_id_plugin_id - v1
timestamp: 2021-08-07 14:16:27
sql:
  CREATE UNIQUE INDEX `UQE_plugin_setting_org_id_plugin_id` ON `plugin_setting` (`org_id`,`plugin_id`);


migration_id: create session table
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `session` (
  `key` TEXT PRIMARY KEY NOT NULL
  , `data` BLOB NOT NULL
  , `expiry` INTEGER NOT NULL
  );


migration_id: create playlist table v2
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `playlist` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `name` TEXT NOT NULL
  , `interval` TEXT NOT NULL
  , `org_id` INTEGER NOT NULL
  );


migration_id: create playlist item table v2
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `playlist_item` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `playlist_id` INTEGER NOT NULL
  , `type` TEXT NOT NULL
  , `value` TEXT NOT NULL
  , `title` TEXT NOT NULL
  , `order` INTEGER NOT NULL
  );


migration_id: create preferences table v3
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `preferences` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `user_id` INTEGER NOT NULL
  , `version` INTEGER NOT NULL
  , `home_dashboard_id` INTEGER NOT NULL
  , `timezone` TEXT NOT NULL
  , `theme` TEXT NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create alert table v1
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `alert` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `version` INTEGER NOT NULL
  , `dashboard_id` INTEGER NOT NULL
  , `panel_id` INTEGER NOT NULL
  , `org_id` INTEGER NOT NULL
  , `name` TEXT NOT NULL
  , `message` TEXT NOT NULL
  , `state` TEXT NOT NULL
  , `settings` TEXT NOT NULL
  , `frequency` INTEGER NOT NULL
  , `handler` INTEGER NOT NULL
  , `severity` TEXT NOT NULL
  , `silenced` INTEGER NOT NULL
  , `execution_error` TEXT NOT NULL
  , `eval_data` TEXT NULL
  , `eval_date` DATETIME NULL
  , `new_state_date` DATETIME NOT NULL
  , `state_changes` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: Create alert_rule_tag table v1
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `alert_rule_tag` (
  `alert_id` INTEGER NOT NULL
  , `tag_id` INTEGER NOT NULL
  );


migration_id: Create alert_rule_tag table v2
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `alert_rule_tag` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `alert_id` INTEGER NOT NULL
  , `tag_id` INTEGER NOT NULL
  );


sql: CREATE UNIQUE INDEX `UQE_alert_rule_tag_alert_id_tag_id` ON `alert_rule_tag` (`alert_id`,`tag_id`);
timestamp: 2021-08-07 14:16:27
migration_id:
  create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2


migration_id: copy alert_rule_tag v1 to v2
timestamp: 2021-08-07 14:16:27
sql:
  INSERT INTO `alert_rule_tag` (`alert_id`
  , `tag_id`) SELECT `alert_id`
  , `tag_id` FROM `alert_rule_tag_v1`


migration_id: create alert_notification table v1
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `alert_notification` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `name` TEXT NOT NULL
  , `type` TEXT NOT NULL
  , `settings` TEXT NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create notification_journal table v1
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `alert_notification_journal` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `alert_id` INTEGER NOT NULL
  , `notifier_id` INTEGER NOT NULL
  , `sent_at` INTEGER NOT NULL
  , `success` INTEGER NOT NULL
  );


migration_id: add index notification_journal org_id & alert_id & notifier_id
timestamp: 2021-08-07 14:16:27
sql:
  CREATE INDEX `IDX_alert_notification_journal_org_id_alert_id_notifier_id` ON `alert_notification_journal` (`org_id`,`alert_id`,`notifier_id`);


migration_id: create alert_notification_state table v1
timestamp: 2021-08-07 14:16:27
sql:
  CREATE TABLE IF NOT EXISTS `alert_notification_state` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `alert_id` INTEGER NOT NULL
  , `notifier_id` INTEGER NOT NULL
  , `state` TEXT NOT NULL
  , `version` INTEGER NOT NULL
  , `updated_at` INTEGER NOT NULL
  , `alert_rule_state_updated_version` INTEGER NOT NULL
  );


migration_id: add index alert_notification_state org_id & alert_id & notifier_id
timestamp: 2021-08-07 14:16:27
sql:
  CREATE UNIQUE INDEX `UQE_alert_notification_state_org_id_alert_id_notifier_id` ON `alert_notification_state` (`org_id`,`alert_id`,`notifier_id`);


migration_id: create annotation table v5
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `annotation` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `alert_id` INTEGER NULL
  , `user_id` INTEGER NULL
  , `dashboard_id` INTEGER NULL
  , `panel_id` INTEGER NULL
  , `category_id` INTEGER NULL
  , `type` TEXT NOT NULL
  , `title` TEXT NOT NULL
  , `text` TEXT NOT NULL
  , `metric` TEXT NULL
  , `prev_state` TEXT NOT NULL
  , `new_state` TEXT NOT NULL
  , `data` TEXT NOT NULL
  , `epoch` INTEGER NOT NULL
  );


migration_id: add index annotation 3 v3
timestamp: 2021-08-07 14:16:28
sql:
  CREATE INDEX `IDX_annotation_org_id_dashboard_id_panel_id_epoch` ON `annotation` (`org_id`,`dashboard_id`,`panel_id`,`epoch`);


migration_id: Create annotation_tag table v2
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `annotation_tag` (
  `annotation_id` INTEGER NOT NULL
  , `tag_id` INTEGER NOT NULL
  );


migration_id: Add unique index annotation_tag.annotation_id_tag_id
timestamp: 2021-08-07 14:16:28
sql:
  CREATE UNIQUE INDEX `UQE_annotation_tag_annotation_id_tag_id` ON `annotation_tag` (`annotation_id`,`tag_id`);


migration_id: Create annotation_tag table v3
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `annotation_tag` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `annotation_id` INTEGER NOT NULL
  , `tag_id` INTEGER NOT NULL
  );


timestamp: 2021-08-07 14:16:28
migration_id:
  create index UQE_annotation_tag_annotation_id_tag_id - Add unique index annotation_tag.annotation_id_tag_id V3

sql:
  CREATE UNIQUE INDEX `UQE_annotation_tag_annotation_id_tag_id` ON `annotation_tag` (`annotation_id`,`tag_id`);


migration_id: copy annotation_tag v2 to v3
timestamp: 2021-08-07 14:16:28
sql:
  INSERT INTO `annotation_tag` (`tag_id`
  , `annotation_id`) SELECT `tag_id`
  , `annotation_id` FROM `annotation_tag_v2`


migration_id: Add index for epoch_end
timestamp: 2021-08-07 14:16:28
sql:
  CREATE INDEX `IDX_annotation_org_id_epoch_epoch_end` ON `annotation` (`org_id`,`epoch`,`epoch_end`);


migration_id: Add index for org_id_dashboard_id_epoch_end_epoch on annotation table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE INDEX `IDX_annotation_org_id_dashboard_id_epoch_end_epoch` ON `annotation` (`org_id`,`dashboard_id`,`epoch_end`,`epoch`);


migration_id: Add index for org_id_epoch_end_epoch on annotation table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE INDEX `IDX_annotation_org_id_epoch_end_epoch` ON `annotation` (`org_id`,`epoch_end`,`epoch`);


migration_id: create test_data table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `test_data` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `metric1` TEXT NULL
  , `metric2` TEXT NULL
  , `value_big_int` INTEGER NULL
  , `value_double` REAL NULL
  , `value_float` REAL NULL
  , `value_int` INTEGER NULL
  , `time_epoch` INTEGER NOT NULL
  , `time_date_time` DATETIME NOT NULL
  , `time_time_stamp` DATETIME NOT NULL
  );


migration_id: create dashboard_version table v1
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `dashboard_version` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `dashboard_id` INTEGER NOT NULL
  , `parent_version` INTEGER NOT NULL
  , `restored_from` INTEGER NOT NULL
  , `version` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `created_by` INTEGER NOT NULL
  , `message` TEXT NOT NULL
  , `data` TEXT NOT NULL
  );


migration_id: add unique index dashboard_version.dashboard_id and dashboard_version.version
timestamp: 2021-08-07 14:16:28
sql:
  CREATE UNIQUE INDEX `UQE_dashboard_version_dashboard_id_version` ON `dashboard_version` (`dashboard_id`,`version`);


migration_id: save existing dashboard data in dashboard_version table v1
timestamp: 2021-08-07 14:16:28
sql:
  INSERT INTO dashboard_version
  (
  	dashboard_id,
  	version,
  	parent_version,
  	restored_from,
  	created,
  	created_by,
  	message,
  	data
  )
  SELECT
  	dashboard.id,
  	dashboard.version,
  	dashboard.version,
  	dashboard.version,
  	dashboard.updated,
  	COALESCE(dashboard.updated_by, -1),
  	'',
  	dashboard.data
  FROM dashboard;


migration_id: create team table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `team` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `name` TEXT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: create team member table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `team_member` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `team_id` INTEGER NOT NULL
  , `user_id` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: add unique index team_member_org_id_team_id_user_id
timestamp: 2021-08-07 14:16:28
sql:
  CREATE UNIQUE INDEX `UQE_team_member_org_id_team_id_user_id` ON `team_member` (`org_id`,`team_id`,`user_id`);


migration_id: create dashboard acl table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `dashboard_acl` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `dashboard_id` INTEGER NOT NULL
  , `user_id` INTEGER NULL
  , `team_id` INTEGER NULL
  , `permission` INTEGER NOT NULL DEFAULT 4
  , `role` TEXT NULL
  , `created` DATETIME NOT NULL
  , `updated` DATETIME NOT NULL
  );


migration_id: add unique index dashboard_acl_dashboard_id_user_id
timestamp: 2021-08-07 14:16:28
sql:
  CREATE UNIQUE INDEX `UQE_dashboard_acl_dashboard_id_user_id` ON `dashboard_acl` (`dashboard_id`,`user_id`);


migration_id: add unique index dashboard_acl_dashboard_id_team_id
timestamp: 2021-08-07 14:16:28
sql:
  CREATE UNIQUE INDEX `UQE_dashboard_acl_dashboard_id_team_id` ON `dashboard_acl` (`dashboard_id`,`team_id`);


migration_id: save default acl rules in dashboard_acl table
timestamp: 2021-08-07 14:16:28
sql:
  INSERT INTO dashboard_acl
  	(
  		org_id,
  		dashboard_id,
  		permission,
  		role,
  		created,
  		updated
  	)
  	VALUES
  		(-1,-1, 1,'Viewer','2017-06-20','2017-06-20'),
  		(-1,-1, 2,'Editor','2017-06-20','2017-06-20')
  	


migration_id: delete acl rules for deleted dashboards and folders
timestamp: 2021-08-07 14:16:28
sql:
  DELETE FROM dashboard_acl WHERE dashboard_id NOT IN (SELECT id FROM dashboard) AND dashboard_id != -1


migration_id: create tag table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `tag` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `key` TEXT NOT NULL
  , `value` TEXT NOT NULL
  );


migration_id: create login attempt table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `login_attempt` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `username` TEXT NOT NULL
  , `ip_address` TEXT NOT NULL
  , `created` DATETIME NOT NULL
  );


migration_id: create login_attempt v2
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `login_attempt` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `username` TEXT NOT NULL
  , `ip_address` TEXT NOT NULL
  , `created` INTEGER NOT NULL DEFAULT 0
  );


migration_id: copy login_attempt v1 to v2
timestamp: 2021-08-07 14:16:28
sql:
  INSERT INTO `login_attempt` (`id`
  , `username`
  , `ip_address`) SELECT `id`
  , `username`
  , `ip_address` FROM `login_attempt_tmp_qwerty`


migration_id: create user auth table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `user_auth` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `user_id` INTEGER NOT NULL
  , `auth_module` TEXT NOT NULL
  , `auth_id` TEXT NOT NULL
  , `created` DATETIME NOT NULL
  );


migration_id: create server_lock table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `server_lock` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `operation_uid` TEXT NOT NULL
  , `version` INTEGER NOT NULL
  , `last_execution` INTEGER NOT NULL
  );


migration_id: create user auth token table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `user_auth_token` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `user_id` INTEGER NOT NULL
  , `auth_token` TEXT NOT NULL
  , `prev_auth_token` TEXT NOT NULL
  , `user_agent` TEXT NOT NULL
  , `client_ip` TEXT NOT NULL
  , `auth_token_seen` INTEGER NOT NULL
  , `seen_at` INTEGER NULL
  , `rotated_at` INTEGER NOT NULL
  , `created_at` INTEGER NOT NULL
  , `updated_at` INTEGER NOT NULL
  );


migration_id: create cache_data table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `cache_data` (
  `cache_key` TEXT PRIMARY KEY NOT NULL
  , `data` BLOB NOT NULL
  , `expires` INTEGER NOT NULL
  , `created_at` INTEGER NOT NULL
  );


migration_id: create short_url table v1
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `short_url` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `uid` TEXT NOT NULL
  , `path` TEXT NOT NULL
  , `created_by` INTEGER NOT NULL
  , `created_at` INTEGER NOT NULL
  , `last_seen_at` INTEGER NULL
  );


migration_id: recreate alert_definition table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `alert_definition` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `title` TEXT NOT NULL
  , `condition` TEXT NOT NULL
  , `data` TEXT NOT NULL
  , `updated` DATETIME NOT NULL
  , `interval_seconds` INTEGER NOT NULL DEFAULT 60
  , `version` INTEGER NOT NULL DEFAULT 0
  , `uid` TEXT NOT NULL DEFAULT 0
  );


migration_id: recreate alert_definition_version table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `alert_definition_version` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `alert_definition_id` INTEGER NOT NULL
  , `alert_definition_uid` TEXT NOT NULL DEFAULT 0
  , `parent_version` INTEGER NOT NULL
  , `restored_from` INTEGER NOT NULL
  , `version` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `title` TEXT NOT NULL
  , `condition` TEXT NOT NULL
  , `data` TEXT NOT NULL
  , `interval_seconds` INTEGER NOT NULL
  );


migration_id: add index in alert_definition_version table on alert_definition_id and version columns
timestamp: 2021-08-07 14:16:28
sql:
  CREATE UNIQUE INDEX `UQE_alert_definition_version_alert_definition_id_version` ON `alert_definition_version` (`alert_definition_id`,`version`);


migration_id: add index in alert_definition_version table on alert_definition_uid and version columns
timestamp: 2021-08-07 14:16:28
sql:
  CREATE UNIQUE INDEX `UQE_alert_definition_version_alert_definition_uid_version` ON `alert_definition_version` (`alert_definition_uid`,`version`);


migration_id: create alert_instance table
timestamp: 2021-08-07 14:16:28
sql:
  CREATE TABLE IF NOT EXISTS `alert_instance` (
  `def_org_id` INTEGER NOT NULL
  , `def_uid` TEXT NOT NULL DEFAULT 0
  , `labels` TEXT NOT NULL
  , `labels_hash` TEXT NOT NULL
  , `current_state` TEXT NOT NULL
  , `current_state_since` INTEGER NOT NULL
  , `last_eval_time` INTEGER NOT NULL
  , PRIMARY KEY ( `def_org_id`,`def_uid`,`labels_hash` ));


migration_id: add index in alert_instance table on def_org_id, def_uid and current_state columns
timestamp: 2021-08-07 14:16:28
sql:
  CREATE INDEX `IDX_alert_instance_def_org_id_def_uid_current_state` ON `alert_instance` (`def_org_id`,`def_uid`,`current_state`);


migration_id: add index in alert_instance table on def_org_id, current_state columns
timestamp: 2021-08-07 14:16:28
sql:
  CREATE INDEX `IDX_alert_instance_def_org_id_current_state` ON `alert_instance` (`def_org_id`,`current_state`);


migration_id: add index rule_org_id, rule_uid, current_state on alert_instance
timestamp: 2021-08-07 14:16:29
sql:
  CREATE INDEX `IDX_alert_instance_rule_org_id_rule_uid_current_state` ON `alert_instance` (`rule_org_id`,`rule_uid`,`current_state`);


migration_id: add index rule_org_id, current_state on alert_instance
timestamp: 2021-08-07 14:16:29
sql:
  CREATE INDEX `IDX_alert_instance_rule_org_id_current_state` ON `alert_instance` (`rule_org_id`,`current_state`);


migration_id: create alert_rule table
timestamp: 2021-08-07 14:16:29
sql:
  CREATE TABLE IF NOT EXISTS `alert_rule` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `title` TEXT NOT NULL
  , `condition` TEXT NOT NULL
  , `data` TEXT NOT NULL
  , `updated` DATETIME NOT NULL
  , `interval_seconds` INTEGER NOT NULL DEFAULT 60
  , `version` INTEGER NOT NULL DEFAULT 0
  , `uid` TEXT NOT NULL DEFAULT 0
  , `namespace_uid` TEXT NOT NULL
  , `rule_group` TEXT NOT NULL
  , `no_data_state` TEXT NOT NULL DEFAULT 'NoData'
  , `exec_err_state` TEXT NOT NULL DEFAULT 'Alerting'
  );


migration_id: add index in alert_rule on org_id, namespace_uid, group_uid columns
timestamp: 2021-08-07 14:16:29
sql:
  CREATE INDEX `IDX_alert_rule_org_id_namespace_uid_rule_group` ON `alert_rule` (`org_id`,`namespace_uid`,`rule_group`);


migration_id: add index in alert_rule on org_id, namespase_uid and title columns
timestamp: 2021-08-07 14:16:29
sql:
  CREATE UNIQUE INDEX `UQE_alert_rule_org_id_namespace_uid_title` ON `alert_rule` (`org_id`,`namespace_uid`,`title`);


migration_id: create alert_rule_version table
timestamp: 2021-08-07 14:16:29
sql:
  CREATE TABLE IF NOT EXISTS `alert_rule_version` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `rule_org_id` INTEGER NOT NULL
  , `rule_uid` TEXT NOT NULL DEFAULT 0
  , `rule_namespace_uid` TEXT NOT NULL
  , `rule_group` TEXT NOT NULL
  , `parent_version` INTEGER NOT NULL
  , `restored_from` INTEGER NOT NULL
  , `version` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `title` TEXT NOT NULL
  , `condition` TEXT NOT NULL
  , `data` TEXT NOT NULL
  , `interval_seconds` INTEGER NOT NULL
  , `no_data_state` TEXT NOT NULL DEFAULT 'NoData'
  , `exec_err_state` TEXT NOT NULL DEFAULT 'Alerting'
  );


migration_id: add index in alert_rule_version table on rule_org_id, rule_uid and version columns
timestamp: 2021-08-07 14:16:29
sql:
  CREATE UNIQUE INDEX `UQE_alert_rule_version_rule_org_id_rule_uid_version` ON `alert_rule_version` (`rule_org_id`,`rule_uid`,`version`);


migration_id: add index in alert_rule_version table on rule_org_id, rule_namespace_uid and rule_group columns
timestamp: 2021-08-07 14:16:29
sql:
  CREATE INDEX `IDX_alert_rule_version_rule_org_id_rule_namespace_uid_rule_group` ON `alert_rule_version` (`rule_org_id`,`rule_namespace_uid`,`rule_group`);


migration_id: create_alert_configuration_table
timestamp: 2021-08-07 14:16:29
sql:
  CREATE TABLE IF NOT EXISTS `alert_configuration` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `alertmanager_configuration` TEXT NOT NULL
  , `configuration_version` TEXT NOT NULL
  , `created_at` INTEGER NOT NULL
  );


migration_id: create_ngalert_configuration_table
timestamp: 2021-08-07 14:16:29
sql:
  CREATE TABLE IF NOT EXISTS `ngalert_configuration` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `alertmanagers` TEXT NULL
  , `created_at` INTEGER NOT NULL
  , `updated_at` INTEGER NOT NULL
  );


migration_id: create library_element table v1
timestamp: 2021-08-07 14:16:29
sql:
  CREATE TABLE IF NOT EXISTS `library_element` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `org_id` INTEGER NOT NULL
  , `folder_id` INTEGER NOT NULL
  , `uid` TEXT NOT NULL
  , `name` TEXT NOT NULL
  , `kind` INTEGER NOT NULL
  , `type` TEXT NOT NULL
  , `description` TEXT NOT NULL
  , `model` TEXT NOT NULL
  , `created` DATETIME NOT NULL
  , `created_by` INTEGER NOT NULL
  , `updated` DATETIME NOT NULL
  , `updated_by` INTEGER NOT NULL
  , `version` INTEGER NOT NULL
  );


migration_id: add index library_element org_id-folder_id-name-kind
timestamp: 2021-08-07 14:16:29
sql:
  CREATE UNIQUE INDEX `UQE_library_element_org_id_folder_id_name_kind` ON `library_element` (`org_id`,`folder_id`,`name`,`kind`);


migration_id: create library_element_connection table v1
timestamp: 2021-08-07 14:16:29
sql:
  CREATE TABLE IF NOT EXISTS `library_element_connection` (
  `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
  , `element_id` INTEGER NOT NULL
  , `kind` INTEGER NOT NULL
  , `connection_id` INTEGER NOT NULL
  , `created` DATETIME NOT NULL
  , `created_by` INTEGER NOT NULL
  );


migration_id: add index library_element_connection element_id-kind-connection_id
timestamp: 2021-08-07 14:16:29
sql:
  CREATE UNIQUE INDEX `UQE_library_element_connection_element_id_kind_connection_id` ON `library_element_connection` (`element_id`,`kind`,`connection_id`);


# user

login: admin
email: admin@localhost
salt: E15YjnlADG
rands: 2U8bgGJpH5
created: 2021-08-07 14:16:29
updated: 2021-08-07 14:16:29
last_seen_at: 2021-08-09 14:22:00
password:
  a69a21d513b399df0f56b54453b9e0ebdb6b2cfe23fa8b79dc09a984ce49d2dda07ee1c6cc4971cea3167857f6e5bbe3eee8


# dashboard

slug: docker-containers
title: Docker Containers
created: 2021-08-07 17:49:47
updated: 2021-08-07 17:49:47
uid: J9LgB-M7k
data:
  {"annotations":{"list":[]},"description":"Containers metrics","editable":true,"gnetId":null,"hideControls":false,"id":null,"links":[],"refresh":"10s","rows":[{"collapse":false,"editable":true,"height":"150px","panels":[{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(50, 172, 45, 0.97)","rgba(237, 129, 40, 0.89)","rgba(245, 54, 54, 0.9)"],"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"format":"percent","gauge":{"maxValue":100,"minValue":0,"show":true,"thresholdLabels":false,"thresholdMarkers":true},"hideTimeOverride":true,"id":4,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"sum(rate(container_cpu_user_seconds_total{image!=\"\"}[1m])) / count(node_cpu_seconds_total{mode=\"user\"}) * 100","interval":"10s","intervalFactor":1,"legendFormat":"","refId":"A","step":10}],"thresholds":"65, 90","timeFrom":"10s","title":"CPU Load","transparent":false,"type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","editable":true,"error":false,"format":"none","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"id":7,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"machine_cpu_cores","interval":"","intervalFactor":2,"legendFormat":"","metric":"machine_cpu_cores","refId":"A","step":20}],"thresholds":"","title":"CPU Cores","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(50, 172, 45, 0.97)","rgba(237, 129, 40, 0.89)","rgba(245, 54, 54, 0.9)"],"datasource":"Prometheus","editable":true,"error":false,"format":"percent","gauge":{"maxValue":100,"minValue":0,"show":true,"thresholdLabels":false,"thresholdMarkers":true},"hideTimeOverride":true,"id":5,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"(sum(node_memory_MemTotal_bytes) - sum(node_memory_MemFree_bytes+node_memory_Buffers_bytes+node_memory_Cached_bytes) ) / sum(node_memory_MemTotal_bytes) * 100","interval":"10s","intervalFactor":2,"legendFormat":"","refId":"A","step":20}],"thresholds":"65, 90","timeFrom":"10s","title":"Memory Load","transparent":false,"type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"format":"bytes","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"hideTimeOverride":true,"id":2,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"sum(container_memory_usage_bytes{image!=\"\"})","interval":"10s","intervalFactor":2,"legendFormat":"","refId":"A","step":20}],"thresholds":"","timeFrom":"10s","title":"Used Memory","transparent":false,"type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(50, 172, 45, 0.97)","rgba(237, 129, 40, 0.89)","rgba(245, 54, 54, 0.9)"],"datasource":"Prometheus","decimals":null,"editable":true,"error":false,"format":"percent","gauge":{"maxValue":100,"minValue":0,"show":true,"thresholdLabels":false,"thresholdMarkers":true},"hideTimeOverride":true,"id":6,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"(node_filesystem_size_bytes{fstype=\"aufs\"} - node_filesystem_free_bytes{fstype=\"aufs\"}) / node_filesystem_size_bytes{fstype=\"aufs\"}  * 100","interval":"30s","intervalFactor":1,"legendFormat":"","refId":"A","step":30}],"thresholds":"65, 90","timeFrom":"10s","title":"Storage Load","transparent":false,"type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"format":"bytes","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"hideTimeOverride":true,"id":3,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"sum(container_fs_usage_bytes)","interval":"30s","intervalFactor":2,"refId":"A","step":60}],"thresholds":"","timeFrom":"10s","title":"Used Storage","transparent":false,"type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"}],"title":"Overview"},{"collapse":false,"editable":true,"height":"150px","panels":[{"aliasColors":{},"bars":true,"datasource":"Prometheus","decimals":0,"editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)","thresholdLine":false},"id":9,"isNew":true,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":false,"total":false,"values":false},"lines":false,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"span":4,"stack":false,"steppedLine":false,"targets":[{"expr":"scalar(count(container_memory_usage_bytes{image!=\"\"}) \u003e 0)","interval":"","intervalFactor":2,"legendFormat":"containers","refId":"A","step":2}],"timeFrom":null,"timeShift":null,"title":"Running Containers","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"none","label":"","logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]},{"aliasColors":{},"bars":true,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":10,"isNew":true,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":false,"total":false,"values":false},"lines":false,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"load 1m","color":"#BF1B00"}],"span":4,"stack":false,"steppedLine":false,"targets":[{"expr":"node_load1","interval":"","intervalFactor":2,"legendFormat":"load 1m","metric":"node_load1","refId":"A","step":2}],"timeFrom":null,"timeShift":null,"title":"System Load","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]},{"aliasColors":{},"bars":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":15,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":false,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"read","yaxis":1},{"alias":"written","yaxis":1},{"alias":"io time","yaxis":2}],"span":4,"stack":false,"steppedLine":false,"targets":[{"expr":"sum(irate(node_disk_read_bytes_total[5m]))","interval":"2s","intervalFactor":4,"legendFormat":"read","metric":"","refId":"A","step":8},{"expr":"sum(irate(node_disk_written_bytes_total[5m]))","interval":"2s","intervalFactor":4,"legendFormat":"written","metric":"","refId":"B","step":8},{"expr":"sum(irate(node_disk_io_time_seconds_total[5m]))","interval":"2s","intervalFactor":4,"legendFormat":"io time","metric":"","refId":"C","step":8}],"timeFrom":null,"timeShift":null,"title":"I/O Usage","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"bytes","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"ms","label":null,"logBase":1,"max":null,"min":null,"show":true}]}],"title":"Host stats"},{"collapse":false,"editable":true,"height":"250px","panels":[{"aliasColors":{},"bars":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":8,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"span":12,"stack":false,"steppedLine":false,"targets":[{"expr":"sum by (name) (rate(container_cpu_usage_seconds_total{image!=\"\",container_label_org_label_schema_group=\"\"}[1m])) / scalar(count(node_cpu_seconds_total{mode=\"user\"})) * 100","intervalFactor":10,"legendFormat":"{{ name }}","metric":"container_cpu_user_seconds_total","refId":"A","step":10}],"timeFrom":null,"timeShift":null,"title":"Container CPU Usage","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"percent","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]}],"title":"CPU"},{"collapse":false,"editable":true,"height":"250px","panels":[{"aliasColors":{},"bars":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":11,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"span":12,"stack":false,"steppedLine":false,"targets":[{"expr":"sum by (name)(container_memory_usage_bytes{image!=\"\",container_label_org_label_schema_group=\"\"})","intervalFactor":1,"legendFormat":"{{ name }}","metric":"container_memory_usage","refId":"A","step":1}],"timeFrom":null,"timeShift":null,"title":"Container Memory Usage","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"bytes","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]},{"aliasColors":{},"bars":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":12,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"span":12,"stack":false,"steppedLine":false,"targets":[{"expr":"sum by (name) (container_memory_cache{image!=\"\",container_label_org_label_schema_group=\"\"})","intervalFactor":2,"legendFormat":"{{name}}","metric":"container_memory_cache","refId":"A","step":2}],"timeFrom":null,"timeShift":null,"title":"Container Cached Memory Usage","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"bytes","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]}],"title":"Memory"},{"collapse":false,"editable":true,"height":"250px","panels":[{"aliasColors":{},"bars":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":13,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"span":12,"stack":false,"steppedLine":false,"targets":[{"expr":"sum by (name) (rate(container_network_receive_bytes_total{image!=\"\",container_label_org_label_schema_group=\"\"}[1m]))","intervalFactor":10,"legendFormat":"{{ name }}","metric":"container_network_receive_bytes_total","refId":"A","step":10}],"timeFrom":null,"timeShift":null,"title":"Container Network Input","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"bytes","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]},{"aliasColors":{},"bars":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":14,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"span":12,"stack":false,"steppedLine":false,"targets":[{"expr":"sum by (name) (rate(container_network_transmit_bytes_total{image!=\"\",container_label_org_label_schema_group=\"\"}[1m]))","intervalFactor":10,"legendFormat":"{{ name }}","metric":"container_network_transmit_bytes_total","refId":"A","step":10}],"timeFrom":null,"timeShift":null,"title":"Container Network Output","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"bytes","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]}],"title":"Network"}],"schemaVersion":12,"sharedCrosshair":true,"style":"dark","tags":["docker"],"templating":{"list":[]},"time":{"from":"now-15m","to":"now"},"timepicker":{"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Docker Containers","uid":"J9LgB-M7k","version":1}


slug: docker-host
title: Docker Host
created: 2021-08-07 17:49:47
updated: 2021-08-07 17:49:47
uid: kgEgBaG7k
data:
  {"annotations":{"list":[]},"description":"Docker host metrics","editable":true,"gnetId":null,"hideControls":false,"id":null,"links":[],"refresh":"10s","rows":[{"collapse":false,"editable":true,"height":"100px","panels":[{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","decimals":1,"editable":true,"error":false,"format":"s","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"hideTimeOverride":true,"id":1,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"s","postfixFontSize":"80%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"node_time_seconds - node_boot_time_seconds","interval":"30s","intervalFactor":1,"refId":"A","step":30}],"thresholds":"","timeFrom":"10s","title":"Uptime","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","editable":true,"error":false,"format":"percent","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"hideTimeOverride":true,"id":13,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"sum(rate(node_cpu_seconds_total{mode=\"idle\"}[1m])) * 100 / scalar(count(node_cpu_seconds_total{mode=\"user\"}))","interval":"10s","intervalFactor":2,"legendFormat":"","refId":"A","step":20}],"thresholds":"","timeFrom":"10s","title":"CPU Idle","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","editable":true,"error":false,"format":"none","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"hideTimeOverride":true,"id":12,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"machine_cpu_cores","intervalFactor":2,"metric":"machine_cpu_cores","refId":"A","step":2}],"thresholds":"","timeFrom":"10s","title":"CPU Cores","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","editable":true,"error":false,"format":"bytes","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"hideTimeOverride":true,"id":2,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"node_memory_MemAvailable_bytes","interval":"30s","intervalFactor":2,"legendFormat":"","refId":"A","step":60}],"thresholds":"","timeFrom":"10s","title":"Available Memory","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","editable":true,"error":false,"format":"bytes","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"hideTimeOverride":true,"id":3,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"node_memory_SwapFree_bytes","interval":"30s","intervalFactor":2,"refId":"A","step":60}],"thresholds":"","timeFrom":"10s","title":"Free Swap","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","editable":true,"error":false,"format":"bytes","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"hideTimeOverride":true,"id":4,"interval":null,"isNew":true,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"span":2,"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"targets":[{"expr":"sum(node_filesystem_free_bytes{fstype=\"aufs\"})","interval":"30s","intervalFactor":1,"legendFormat":"","refId":"A","step":30}],"thresholds":"","timeFrom":"10s","title":"Free Storage","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"}],"title":"Available resources"},{"collapse":false,"editable":true,"height":"150px","panels":[{"aliasColors":{},"bars":true,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":9,"isNew":true,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":false,"total":false,"values":false},"lines":false,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"load 1m","color":"#1F78C1"}],"span":4,"stack":false,"steppedLine":false,"targets":[{"expr":"node_load1","interval":"10s","intervalFactor":1,"legendFormat":"load 1m","refId":"A","step":10}],"timeFrom":null,"timeShift":null,"title":"Load Average 1m","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]},{"aliasColors":{},"bars":true,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":10,"isNew":true,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":false,"total":false,"values":false},"lines":false,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"blocked by I/O","color":"#58140C"}],"span":4,"stack":true,"steppedLine":false,"targets":[{"expr":"node_procs_running","interval":"10s","intervalFactor":1,"legendFormat":"running","metric":"node_procs_running","refId":"A","step":10},{"expr":"node_procs_blocked","interval":"10s","intervalFactor":1,"legendFormat":"blocked by I/O","metric":"node_procs_blocked","refId":"B","step":10}],"timeFrom":null,"timeShift":null,"title":"Processes","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"individual"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]},{"aliasColors":{},"bars":true,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":11,"isNew":true,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":false,"total":false,"values":false},"lines":false,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"interrupts","color":"#806EB7"}],"span":4,"stack":false,"steppedLine":false,"targets":[{"expr":" irate(node_intr_total[5m])","interval":"10s","intervalFactor":1,"legendFormat":"interrupts","metric":"node_intr_total","refId":"A","step":10}],"timeFrom":null,"timeShift":null,"title":"Interrupts","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]}],"title":"Load"},{"collapse":false,"editable":true,"height":"250px","panels":[{"aliasColors":{},"bars":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":4,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":5,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"span":12,"stack":true,"steppedLine":false,"targets":[{"expr":"sum(rate(node_cpu_seconds_total[1m])) by (mode) * 100 / scalar(count(node_cpu_seconds_total{mode=\"user\"}))","intervalFactor":10,"legendFormat":"{{ mode }}","metric":"node_cpu_seconds_total","refId":"A","step":10}],"timeFrom":null,"timeShift":null,"title":"CPU Usage","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"individual"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"percent","label":null,"logBase":1,"max":100,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":0,"show":true}]}],"title":"CPU"},{"collapse":false,"editable":true,"height":"250px","panels":[{"aliasColors":{},"bars":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":4,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":6,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"Used","color":"#BF1B00"},{"alias":"Free","color":"#7EB26D"},{"alias":"Buffers","color":"#6ED0E0"},{"alias":"Cached","color":"#EF843C"}],"span":12,"stack":true,"steppedLine":false,"targets":[{"expr":"node_memory_MemTotal_bytes - (node_memory_MemFree_bytes + node_memory_Buffers_bytes + node_memory_Cached_bytes)","intervalFactor":1,"legendFormat":"Used","refId":"A","step":1},{"expr":"node_memory_MemFree_bytes","intervalFactor":1,"legendFormat":"Free","refId":"B","step":1},{"expr":"node_memory_Buffers_bytes","intervalFactor":1,"legendFormat":"Buffers","refId":"C","step":1},{"expr":"node_memory_Cached_bytes","intervalFactor":1,"legendFormat":"Cached","refId":"D","step":1}],"timeFrom":null,"timeShift":null,"title":"Memory Usage","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"individual"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"bytes","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true}]}],"title":"Memory"},{"collapse":false,"editable":true,"height":"250px","panels":[{"aliasColors":{},"bars":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":7,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"read","yaxis":1},{"alias":"written","yaxis":1},{"alias":"io time","yaxis":2}],"span":12,"stack":false,"steppedLine":false,"targets":[{"expr":"sum(irate(node_disk_read_bytes_total[1m]))","interval":"","intervalFactor":1,"legendFormat":"read","metric":"node_disk_read_bytes_total","refId":"A","step":1},{"expr":"sum(irate(node_disk_written_bytes_total[1m]))","intervalFactor":1,"legendFormat":"written","metric":"node_disk_written_bytes_total","refId":"B","step":1},{"expr":"sum(irate(node_disk_io_time_seconds_total[1m]))","intervalFactor":1,"legendFormat":"io time","metric":"node_disk_io_time_seconds_total","refId":"C","step":1}],"timeFrom":null,"timeShift":null,"title":"I/O Usage","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"Bps","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"ms","label":null,"logBase":1,"max":null,"min":null,"show":true}]}],"title":"I/O"},{"collapse":false,"editable":true,"height":"250px","panels":[{"aliasColors":{},"bars":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":4,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":8,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"span":12,"stack":true,"steppedLine":false,"targets":[{"expr":"irate(node_network_receive_bytes_total{device!=\"lo\"}[1m])","intervalFactor":1,"legendFormat":"In: {{ device }}","metric":"node_network_receive_bytes_total","refId":"A","step":1},{"expr":"irate(node_network_transmit_bytes_total{device!=\"lo\"}[1m])","intervalFactor":1,"legendFormat":"Out: {{ device }}","metric":"node_network_transmit_bytes_total","refId":"B","step":1}],"timeFrom":null,"timeShift":null,"title":"Network Usage","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"individual"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"Bps","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]}],"title":"Network"},{"collapse":false,"editable":true,"height":"250px","panels":[{"aliasColors":{},"bars":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":4,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":14,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":false,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"Used","color":"#890F02"},{"alias":"Free","color":"#7EB26D"}],"span":6,"stack":true,"steppedLine":false,"targets":[{"expr":"node_memory_SwapTotal_bytes - node_memory_SwapFree_bytes","interval":"10s","intervalFactor":1,"legendFormat":"Used","refId":"A","step":10},{"expr":"node_memory_SwapFree_bytes","interval":"10s","intervalFactor":1,"legendFormat":"Free","refId":"B","step":10}],"timeFrom":null,"timeShift":null,"title":"Swap Usage","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"individual"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"bytes","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]},{"aliasColors":{},"bars":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{"threshold1":null,"threshold1Color":"rgba(216, 200, 27, 0.27)","threshold2":null,"threshold2Color":"rgba(234, 112, 112, 0.22)"},"id":15,"isNew":true,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"span":6,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(node_vmstat_pswpin[1m]) * 4096 or irate(node_vmstat_pswpin[5m]) * 4096","interval":"10s","intervalFactor":1,"legendFormat":"In","refId":"A","step":10},{"expr":"rate(node_vmstat_pswpout[1m]) * 4096 or irate(node_vmstat_pswpout[5m]) * 4096","interval":"10s","intervalFactor":1,"legendFormat":"Out","refId":"B","step":10}],"timeFrom":null,"timeShift":null,"title":"Swap I/O","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"show":true},"yaxes":[{"format":"Bps","label":null,"logBase":1,"max":null,"min":0,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}]}],"title":"New row"}],"schemaVersion":12,"sharedCrosshair":true,"style":"dark","tags":["system"],"templating":{"list":[]},"time":{"from":"now-15m","to":"now"},"timepicker":{"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Docker Host","uid":"kgEgBaG7k","version":1}


# data_source

type: influxdb
name: InfluxDB
access: proxy
url: http://influxdb:8086
basic_auth_user: admin
created: 2021-08-08 10:57:33
updated: 2021-08-08 17:13:18
uid: S2xl2LMnk
secure_json_data:
  {"basicAuthPassword":"NXJsU2F2akiieu79pdK30ZWj7XUjq7rbOjGKqbijxvMCooSIU8M=","token":"YjNmN3dDcGz3kPdi+NweFVkGYeatYqfXl671lbCcc7l+wKluxw2KUA=="}


type: prometheus
name: Prometheus
access: proxy
url: http://prometheus:9090
json_data: {"graphiteVersion":"1.1","tlsAuth":false,"tlsAuthWithCACert":false}
created: 2021-08-09 14:15:13
updated: 2021-08-09 14:15:13
uid: 9LI15UG7z
secure_json_data:
  {"tlsCACert":"YjVSTjhFSHZWDNezzR/OU2UJSUz7d2IEmEOS","tlsClientCert":"c0dmOUh2STc4lNR48v78DQNbhv+Z9jGivftm","tlsClientKey":"QmFrN2xZSDABlyoJQXkkZZ9M4epeH5emnlpj"}


# dashboard_version

created: 2021-08-07 14:34:34
data:
  {"__requires":[{"id":"grafana","name":"Grafana","type":"grafana","version":"8.1.0-pre"},{"id":"prometheus","name":"Prometheus","type":"datasource","version":"1.0.0"},{"id":"stat","name":"Stat","type":"panel","version":""},{"id":"timeseries","name":"Time series","type":"panel","version":""}],"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"editable":true,"gnetId":null,"graphTooltip":1,"id":null,"links":[{"icon":"info","tags":[],"targetBlank":true,"title":"Grafana Docs","tooltip":"","type":"link","url":"https://grafana.com/docs/grafana/latest/"},{"icon":"info","tags":[],"targetBlank":true,"title":"Prometheus Docs","type":"link","url":"http://prometheus.io/docs/introduction/overview/"}],"panels":[{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"prometheus"},"properties":[{"id":"color","value":{"fixedColor":"#C15C17","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"{instance=\"localhost:9090\",job=\"prometheus\"}"},"properties":[{"id":"color","value":{"fixedColor":"#CCA300","mode":"fixed"}}]}]},"gridPos":{"h":6,"w":6,"x":0,"y":0},"id":3,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum(irate(prometheus_tsdb_head_samples_appended_total{job=\"prometheus\"}[5m]))","format":"time_series","hide":false,"interval":"","intervalFactor":2,"legendFormat":"samples","metric":"","refId":"A","step":20}],"timeFrom":null,"timeShift":null,"title":"Samples Appended","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":6,"y":0},"id":14,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"topk(5, max(scrape_duration_seconds) by (job))","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{job}}","metric":"","refId":"A","step":20}],"timeFrom":null,"timeShift":null,"title":"Scrape Duration","type":"timeseries"},{"datasource":"Prometheus","description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":12,"y":0},"id":16,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum(process_resident_memory_bytes{job=\"prometheus\"})","format":"time_series","hide":false,"interval":"","intervalFactor":2,"legendFormat":"p8s process resident memory","refId":"D","step":20},{"expr":"process_virtual_memory_bytes{job=\"prometheus\"}","format":"time_series","hide":false,"intervalFactor":2,"legendFormat":"virtual memory","refId":"C","step":20}],"timeFrom":null,"timeShift":null,"title":"Memory Profile","type":"timeseries"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"None"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":0.1},{"color":"rgba(245, 54, 54, 0.9)","value":1}]},"unit":"none"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":18,"y":0},"id":37,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["max"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_tsdb_wal_corruptions_total{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"","refId":"A","step":60}],"title":"WAL Corruptions","type":"stat"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":0,"y":6},"id":29,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum(prometheus_tsdb_head_active_appenders{job=\"prometheus\"})","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"active_appenders","metric":"","refId":"A","step":20},{"expr":"sum(process_open_fds{job=\"prometheus\"})","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"open_fds","refId":"B","step":20}],"timeFrom":null,"timeShift":null,"title":"Active Appenders","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"prometheus"},"properties":[{"id":"color","value":{"fixedColor":"#F9BA8F","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"{instance=\"localhost:9090\",interval=\"5s\",job=\"prometheus\"}"},"properties":[{"id":"color","value":{"fixedColor":"#F9BA8F","mode":"fixed"}}]}]},"gridPos":{"h":6,"w":6,"x":6,"y":6},"id":2,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_tsdb_blocks_loaded{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"blocks","refId":"A","step":20}],"timeFrom":null,"timeShift":null,"title":"Blocks Loaded","type":"timeseries"},{"datasource":"Prometheus","description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":12,"y":6},"id":33,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_tsdb_head_chunks{job=\"prometheus\"}","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"chunks","refId":"A","step":20}],"timeFrom":null,"timeShift":null,"title":"Head Chunks","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"duration-p99"},"properties":[{"id":"unit","value":"s"}]}]},"gridPos":{"h":6,"w":6,"x":18,"y":6},"id":36,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_tsdb_head_gc_duration_seconds{job=\"prometheus\",quantile=\"0.99\"}","format":"time_series","intervalFactor":2,"legendFormat":"duration-p99","refId":"A","step":20},{"expr":"irate(prometheus_tsdb_head_gc_duration_seconds_count{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"collections","refId":"B","step":20}],"timeFrom":null,"timeShift":null,"title":"Head Block GC Activity","type":"timeseries"},{"datasource":"Prometheus","description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"duration-p99"},"properties":[{"id":"unit","value":"s"}]}]},"gridPos":{"h":6,"w":8,"x":0,"y":12},"id":20,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"histogram_quantile(0.99, sum(rate(prometheus_tsdb_compaction_duration_bucket{job=\"prometheus\"}[5m])) by (le))","format":"time_series","hide":false,"interval":"","intervalFactor":2,"legendFormat":"duration-{{p99}}","refId":"A","step":20},{"expr":"irate(prometheus_tsdb_compactions_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"compactions","refId":"B","step":20},{"expr":"irate(prometheus_tsdb_compactions_failed_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"failed","refId":"C","step":20},{"expr":"irate(prometheus_tsdb_compactions_triggered_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"triggered","refId":"D","step":20}],"timeFrom":null,"timeShift":null,"title":"Compaction Activity","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":6,"w":8,"x":8,"y":12},"id":32,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"rate(prometheus_tsdb_reloads_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"reloads","refId":"A","step":20},{"expr":"rate(prometheus_tsdb_reloads_failures_total{job=\"prometheus\"}[5m])","format":"time_series","hide":false,"intervalFactor":2,"legendFormat":"failures","refId":"B","step":20}],"timeFrom":null,"timeShift":null,"title":"Reload Count","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":6,"w":8,"x":16,"y":12},"id":38,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_engine_query_duration_seconds{job=\"prometheus\", quantile=\"0.99\"}","format":"time_series","intervalFactor":2,"legendFormat":"{{slice}}_p99","refId":"A","step":20}],"timeFrom":null,"timeShift":null,"title":"Query Durations","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":7,"w":12,"x":0,"y":18},"id":35,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"max(prometheus_rule_group_duration_seconds{job=\"prometheus\"}) by (quantile)","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{quantile}}","refId":"A","step":10}],"timeFrom":null,"timeShift":null,"title":"Rule Group Eval Duration","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"normal"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":7,"w":12,"x":12,"y":18},"id":39,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"rate(prometheus_rule_group_iterations_missed_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"missed","refId":"B","step":10},{"expr":"rate(prometheus_rule_group_iterations_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"iterations","refId":"A","step":10}],"timeFrom":null,"timeShift":null,"title":"Rule Group Eval Activity","type":"timeseries"}],"refresh":"1m","revision":"1.0","schemaVersion":30,"style":"dark","tags":["prometheus"],"templating":{"list":[]},"time":{"from":"now-1h","to":"now"},"timepicker":{"now":true,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Prometheus 2.0 Stats","uid":"UDdpyzz7z","version":1}


created: 2021-08-07 14:34:35
data:
  {"__requires":[{"id":"grafana","name":"Grafana","type":"grafana","version":"8.1.0-pre"},{"id":"prometheus","name":"Prometheus","type":"datasource","version":"1.0.0"},{"id":"stat","name":"Stat","type":"panel","version":""},{"id":"table-old","name":"Table (old)","type":"panel","version":""},{"id":"timeseries","name":"Time series","type":"panel","version":""}],"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"description":"Metrics about Grafana","editable":true,"gnetId":null,"graphTooltip":0,"id":null,"links":[{"icon":"external link","tags":[],"targetBlank":true,"title":"Available metrics","type":"link","url":"/metrics"},{"icon":"external link","tags":[],"targetBlank":true,"title":"Grafana docs","type":"link","url":"https://grafana.com/docs/grafana/latest/"},{"icon":"external link","tags":[],"targetBlank":true,"title":"Prometheus docs","type":"link","url":"http://prometheus.io/docs/introduction/overview/"}],"panels":[{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"0":{"text":":("}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(222, 3, 3, 0.9)","value":null},{"color":"rgb(234, 245, 234)","value":1},{"color":"rgb(235, 244, 235)","value":10000}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":5,"x":0,"y":0},"id":4,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["mean"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"up{job=\"grafana\"}","format":"time_series","instant":true,"intervalFactor":2,"refId":"A","step":60}],"title":"Active instances","type":"stat"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":5,"x":5,"y":0},"id":8,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["mean"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"grafana_stat_totals_dashboard","format":"time_series","instant":true,"intervalFactor":2,"refId":"A","step":60}],"title":"Dashboard count","type":"stat"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":5,"x":10,"y":0},"id":9,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["mean"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"grafana_stat_total_users","format":"time_series","instant":true,"intervalFactor":2,"refId":"A","step":60}],"title":"User count","type":"stat"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":5,"x":15,"y":0},"id":10,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["mean"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"grafana_stat_total_playlists","format":"time_series","instant":true,"intervalFactor":2,"refId":"A","step":60}],"title":"Playlist count","type":"stat"},{"columns":[],"datasource":"Prometheus","fontSize":"100%","gridPos":{"h":5,"w":4,"x":20,"y":0},"id":17,"links":[],"pageSize":null,"scroll":false,"showHeader":true,"sort":{"col":0,"desc":true},"styles":[{"alias":"Time","align":"auto","dateFormat":"YYYY-MM-DD HH:mm:ss","link":false,"pattern":"Time","type":"hidden"},{"alias":"","align":"auto","colorMode":null,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"decimals":0,"pattern":"/.*/","thresholds":[],"type":"number","unit":"short"}],"targets":[{"expr":"topk(1, grafana_info or grafana_build_info)","format":"time_series","instant":true,"intervalFactor":2,"legendFormat":"{{version}}","refId":"A","step":20}],"title":"Grafana version","transform":"timeseries_to_rows","type":"table-old"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"400"},"properties":[{"id":"color","value":{"fixedColor":"#447EBC","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"500"},"properties":[{"id":"color","value":{"fixedColor":"#BF1B00","mode":"fixed"}}]}]},"gridPos":{"h":10,"w":10,"x":0,"y":5},"id":15,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum by (statuscode) (irate(http_request_total{job='grafana'}[5m]))","format":"time_series","intervalFactor":3,"legendFormat":"{{statuscode}}","refId":"B","step":15,"target":"dev.grafana.cb-office.alerting.active_alerts"}],"timeFrom":null,"timeShift":null,"title":"http status codes","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"400"},"properties":[{"id":"color","value":{"fixedColor":"#447EBC","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"500"},"properties":[{"id":"color","value":{"fixedColor":"#BF1B00","mode":"fixed"}}]}]},"gridPos":{"h":10,"w":10,"x":10,"y":5},"id":11,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum(irate(grafana_api_response_status_total[5m]))","format":"time_series","intervalFactor":4,"legendFormat":"api","refId":"A","step":20},{"expr":"sum(irate(grafana_proxy_response_status_total[5m]))","format":"time_series","intervalFactor":4,"legendFormat":"proxy","refId":"B","step":20},{"expr":"sum(irate(grafana_page_response_status_total[5m]))","format":"time_series","intervalFactor":4,"legendFormat":"web","refId":"C","step":20}],"timeFrom":null,"timeShift":null,"title":"Requests by routing group","type":"timeseries"},{"columns":[],"datasource":"Prometheus","fontSize":"100%","gridPos":{"h":10,"w":4,"x":20,"y":5},"height":"","id":12,"links":[],"pageSize":null,"scroll":true,"showHeader":true,"sort":{"col":0,"desc":true},"styles":[{"alias":"Time","align":"auto","dateFormat":"YYYY-MM-DD HH:mm:ss","link":false,"pattern":"Time","type":"hidden"},{"alias":"","align":"auto","colorMode":null,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"decimals":0,"pattern":"/.*/","thresholds":[],"type":"number","unit":"short"}],"targets":[{"expr":"sort(topk(8, sum by (handler) (http_request_total{job=\"grafana\"})))","format":"time_series","instant":true,"intervalFactor":10,"legendFormat":"{{handler}}","refId":"A","step":100}],"title":"Most used handlers","transform":"timeseries_to_rows","type":"table-old"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"normal"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"alerting"},"properties":[{"id":"color","value":{"fixedColor":"#890F02","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"ok"},"properties":[{"id":"color","value":{"fixedColor":"#7EB26D","mode":"fixed"}}]}]},"gridPos":{"h":5,"w":12,"x":0,"y":15},"id":6,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"increase(grafana_alerting_active_alerts[1m])","format":"time_series","intervalFactor":3,"legendFormat":"{{state}}","refId":"A","step":15}],"timeFrom":null,"timeShift":null,"title":"Grafana active alerts","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"alerting"},"properties":[{"id":"color","value":{"fixedColor":"#890F02","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"alertname"},"properties":[{"id":"color","value":{"fixedColor":"#BF1B00","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"firing alerts"},"properties":[{"id":"color","value":{"fixedColor":"#BF1B00","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"ok"},"properties":[{"id":"color","value":{"fixedColor":"#7EB26D","mode":"fixed"}}]}]},"gridPos":{"h":5,"w":12,"x":12,"y":15},"id":18,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":" sum (ALERTS)","format":"time_series","intervalFactor":3,"legendFormat":"firing alerts","refId":"A","step":15}],"timeFrom":null,"timeShift":null,"title":"Prometheus alerts","type":"timeseries"},{"datasource":"Prometheus","description":"Aggregated over all Grafana nodes.","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"avg gc duration"},"properties":[{"id":"unit","value":"decbytes"}]},{"matcher":{"id":"byName","options":"allocated memory"},"properties":[{"id":"unit","value":"decbytes"}]},{"matcher":{"id":"byName","options":"used memory"},"properties":[{"id":"unit","value":"decbytes"}]},{"matcher":{"id":"byName","options":"memory usage"},"properties":[{"id":"unit","value":"decbytes"}]}]},"gridPos":{"h":7,"w":24,"x":0,"y":20},"id":7,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum(go_goroutines{job=\"grafana\"})","format":"time_series","hide":false,"intervalFactor":4,"legendFormat":"go routines","refId":"A","step":8,"target":"select metric","type":"timeserie"},{"expr":"sum(process_resident_memory_bytes{job=\"grafana\"})","format":"time_series","intervalFactor":4,"legendFormat":"memory usage","refId":"B","step":8}],"timeFrom":null,"timeShift":null,"title":"Grafana performance","type":"timeseries"}],"revision":"1.0","schemaVersion":30,"style":"dark","tags":["grafana","prometheus"],"templating":{"list":[]},"time":{"from":"now-6h","to":"now"},"timepicker":{"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"","title":"Grafana metrics","uid":"isFoa0z7k","version":1}


created: 2021-08-07 14:34:38
data:
  {"__requires":[{"id":"grafana","name":"Grafana","type":"grafana","version":"8.1.0-pre"},{"id":"prometheus","name":"Prometheus","type":"datasource","version":"1.0.0"},{"id":"stat","name":"Stat","type":"panel","version":""},{"id":"text","name":"Text","type":"panel","version":""},{"id":"timeseries","name":"Time series","type":"panel","version":""}],"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"editable":true,"gnetId":null,"graphTooltip":0,"id":null,"iteration":1624859749459,"links":[{"icon":"info","tags":[],"targetBlank":true,"title":"Grafana Docs","tooltip":"","type":"link","url":"https://grafana.com/docs/grafana/latest/"},{"icon":"info","tags":[],"targetBlank":true,"title":"Prometheus Docs","type":"link","url":"http://prometheus.io/docs/introduction/overview/"}],"panels":[{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":5,"w":6,"x":0,"y":0},"id":5,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"(time() - process_start_time_seconds{job=\"prometheus\", instance=~\"$node\"})","intervalFactor":2,"refId":"A"}],"title":"Uptime","type":"stat"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"fixedColor":"rgb(31, 120, 193)","mode":"fixed"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"rgba(245, 54, 54, 0.9)","value":5}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":6,"x":6,"y":0},"id":6,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_local_storage_memory_series{instance=~\"$node\"}","intervalFactor":2,"refId":"A"}],"title":"Local Storage Memory Series","type":"stat"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"Empty"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":500},{"color":"rgba(245, 54, 54, 0.9)","value":4000}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":6,"x":12,"y":0},"id":7,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_local_storage_indexing_queue_length{instance=~\"$node\"}","intervalFactor":2,"refId":"A"}],"title":"Internal Storage Queue Length","type":"stat"},{"datasource":null,"editable":true,"error":false,"gridPos":{"h":5,"w":6,"x":18,"y":0},"id":9,"links":[],"options":{"content":"\u003cspan style=\"font-family: 'Open Sans', 'Helvetica Neue', Helvetica; font-size: 25px;vertical-align: text-top;color: #bbbfc2;margin-left: 10px;\"\u003ePrometheus\u003c/span\u003e\n\n\u003cp style=\"margin-top: 10px;\"\u003eYou're using Prometheus, an open-source systems monitoring and alerting toolkit originally built at SoundCloud. For more information, check out the \u003ca href=\"https://grafana.com/\"\u003eGrafana\u003c/a\u003e and \u003ca href=\"http://prometheus.io/\"\u003ePrometheus\u003c/a\u003e projects.\u003c/p\u003e","mode":"html"},"pluginVersion":"8.1.0-pre","style":{},"transparent":true,"type":"text"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"prometheus"},"properties":[{"id":"color","value":{"fixedColor":"#C15C17","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"{instance=\"localhost:9090\",job=\"prometheus\"}"},"properties":[{"id":"color","value":{"fixedColor":"#C15C17","mode":"fixed"}}]}]},"gridPos":{"h":6,"w":18,"x":0,"y":5},"id":3,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"rate(prometheus_local_storage_ingested_samples_total{instance=~\"$node\"}[5m])","interval":"","intervalFactor":2,"legendFormat":"{{job}}","metric":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Samples ingested (rate-5m)","type":"timeseries"},{"datasource":null,"editable":true,"error":false,"gridPos":{"h":6,"w":4,"x":18,"y":5},"id":8,"links":[],"options":{"content":"#### Samples Ingested\nThis graph displays the count of samples ingested by the Prometheus server, as measured over the last 5 minutes, per time series in the range vector. When troubleshooting an issue on IRC or GitHub, this is often the first stat requested by the Prometheus team. ","mode":"markdown"},"pluginVersion":"8.1.0-pre","style":{},"transparent":true,"type":"text"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"prometheus"},"properties":[{"id":"color","value":{"fixedColor":"#F9BA8F","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"{instance=\"localhost:9090\",interval=\"5s\",job=\"prometheus\"}"},"properties":[{"id":"color","value":{"fixedColor":"#F9BA8F","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":10,"x":0,"y":11},"id":2,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"rate(prometheus_target_interval_length_seconds_count{instance=~\"$node\"}[5m])","intervalFactor":2,"legendFormat":"{{job}}","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Target Scrapes (last 5m)","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":7,"w":8,"x":10,"y":11},"id":14,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_target_interval_length_seconds{quantile!=\"0.01\", quantile!=\"0.05\",instance=~\"$node\"}","interval":"","intervalFactor":2,"legendFormat":"{{quantile}} ({{interval}})","metric":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Scrape Duration","type":"timeseries"},{"datasource":null,"editable":true,"error":false,"gridPos":{"h":7,"w":6,"x":18,"y":11},"id":11,"links":[],"options":{"content":"#### Scrapes\nPrometheus scrapes metrics from instrumented jobs, either directly or via an intermediary push gateway for short-lived jobs. Target scrapes will show how frequently targets are scraped, as measured over the last 5 minutes, per time series in the range vector. Scrape Duration will show how long the scrapes are taking, with percentiles available as series. ","mode":"markdown"},"pluginVersion":"8.1.0-pre","style":{},"transparent":true,"type":"text"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percentunit"},"overrides":[]},"gridPos":{"h":7,"w":18,"x":0,"y":18},"id":12,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_evaluator_duration_seconds{quantile!=\"0.01\", quantile!=\"0.05\",instance=~\"$node\"}","interval":"","intervalFactor":2,"legendFormat":"{{quantile}}","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Rule Eval Duration","type":"timeseries"},{"datasource":null,"editable":true,"error":false,"gridPos":{"h":7,"w":6,"x":18,"y":18},"id":15,"links":[],"options":{"content":"#### Rule Evaluation Duration\nThis graph panel plots the duration for all evaluations to execute. The 50th percentile, 90th percentile and 99th percentile are shown as three separate series to help identify outliers that may be skewing the data.","mode":"markdown"},"pluginVersion":"8.1.0-pre","style":{},"transparent":true,"type":"text"}],"refresh":false,"revision":"1.0","schemaVersion":30,"style":"dark","tags":["prometheus"],"templating":{"list":[{"allValue":null,"current":{},"datasource":"Prometheus","definition":"","description":null,"error":null,"hide":0,"includeAll":false,"label":"HOST:","multi":false,"name":"node","options":[],"query":{"query":"label_values(prometheus_build_info, instance)","refId":"gdev-prometheus-node-Variable-Query"},"refresh":1,"regex":"","skipUrlSync":false,"sort":1,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false}]},"time":{"from":"now-5m","to":"now"},"timepicker":{"now":true,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Prometheus Stats","uid":"rpfmFFz7z","version":1}


created: 2021-08-07 14:37:44
data:
  {"__requires":[{"id":"grafana","name":"Grafana","type":"grafana","version":"6.7.3"},{"id":"graph","name":"Graph","type":"panel","version":""},{"id":"prometheus","name":"Prometheus","type":"datasource","version":"1.0.0"},{"id":"stat","name":"Stat","type":"panel","version":""}],"annotations":{"list":[{"$$hashKey":"object:2075","builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"description":"Monitor Gitea server","editable":true,"gnetId":13192,"graphTooltip":0,"id":null,"links":[],"panels":[{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","fill":1,"fillGradient":5,"gridPos":{"h":6,"w":8,"x":0,"y":0},"hiddenSeries":false,"id":31,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":false,"total":false,"values":false},"lines":true,"linewidth":0,"nullPointMode":"null","options":{"dataLinks":[]},"percentage":false,"pluginVersion":"6.7.3","pointradius":2,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"process_resident_memory_bytes{job=\"gitea\"}","interval":"","legendFormat":"","refId":"A"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Resident memory","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"transparent":true,"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","fill":1,"fillGradient":5,"gridPos":{"h":6,"w":8,"x":8,"y":0},"hiddenSeries":false,"id":32,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":false,"total":false,"values":false},"lines":true,"linewidth":0,"nullPointMode":"null","options":{"dataLinks":[]},"percentage":false,"pluginVersion":"6.7.3","pointradius":2,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"process_cpu_seconds_total{job=\"gitea\"}","instant":false,"interval":"","legendFormat":"","refId":"A"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"CPU time","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"transparent":true,"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","fill":1,"fillGradient":5,"gridPos":{"h":6,"w":8,"x":16,"y":0},"hiddenSeries":false,"id":33,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":false,"total":false,"values":false},"lines":true,"linewidth":0,"nullPointMode":"null","options":{"dataLinks":[]},"percentage":false,"pluginVersion":"6.7.3","pointradius":2,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"process_open_fds{job=\"gitea\"}","format":"time_series","instant":false,"interval":"","intervalFactor":1,"legendFormat":"","refId":"A"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Open FDS","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"transparent":true,"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"datasource":"Prometheus","gridPos":{"h":4,"w":6,"x":0,"y":6},"id":2,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-blue","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_accesses","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Accesses","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":6,"x":6,"y":6},"id":18,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-blue","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_repositories","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Repositories","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":6,"x":12,"y":6},"id":24,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-blue","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_users","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Users","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":6,"x":18,"y":6},"id":5,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-blue","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_issues","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Issues","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":0,"y":10},"id":11,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_actions","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Actions","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":4,"y":10},"id":10,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_labels","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Labels","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":8,"y":10},"id":21,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_organizations","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Organizations","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":12,"y":10},"id":16,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_teams","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Teams","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":16,"y":10},"id":8,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_follows","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Follows","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":20,"y":10},"id":20,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_publickeys","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of PublicKeys","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":0,"y":14},"id":17,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_stars","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Stars","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":4,"y":14},"id":14,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_webhooks","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Webhooks","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":8,"y":14},"id":19,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_releases","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Releases","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":12,"y":14},"id":7,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_comments","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Comments","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":16,"y":14},"id":3,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_milestones","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Milestones","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":20,"y":14},"id":25,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_watches","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Watches","type":"stat"}],"refresh":"1m","schemaVersion":22,"style":"dark","tags":[],"templating":{"list":[]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"browser","title":"Gitea","uid":"vMzkv-Gnk","variables":{"list":[]},"version":1}


created: 2021-08-07 17:49:47
data:
  {"annotations":{"list":[]},"editable":true,"gnetId":null,"hideControls":false,"id":null,"links":[],"panels":[{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","decimals":1,"editable":true,"error":false,"format":"s","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":3,"w":6,"x":0,"y":0},"hideTimeOverride":true,"id":1,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"s","postfixFontSize":"80%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"expr":"(time() - process_start_time_seconds{instance=\"localhost:9090\",job=\"prometheus\"})","interval":"10s","intervalFactor":1,"legendFormat":"","refId":"A","step":10}],"thresholds":"","timeFrom":"10s","timeShift":null,"title":"Prometheus Uptime","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"format":"bytes","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":3,"w":6,"x":6,"y":0},"hideTimeOverride":true,"id":5,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"expr":"sum(container_memory_usage_bytes{container_label_org_label_schema_group=\"monitoring\"})","format":"time_series","interval":"10s","intervalFactor":1,"legendFormat":"","refId":"A","step":10}],"thresholds":"","timeFrom":"10s","timeShift":null,"title":"Memory Usage","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","editable":true,"error":false,"format":"none","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":3,"w":6,"x":12,"y":0},"hideTimeOverride":true,"id":3,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"expr":"prometheus_tsdb_head_chunks","interval":"10s","intervalFactor":1,"refId":"A","step":10}],"thresholds":"","timeFrom":"10s","timeShift":null,"title":"In-Memory Chunks","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","editable":true,"error":false,"format":"none","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":3,"w":6,"x":18,"y":0},"hideTimeOverride":true,"id":2,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"expr":"prometheus_tsdb_head_series","interval":"10s","intervalFactor":1,"refId":"A","step":10}],"thresholds":"","timeFrom":"10s","timeShift":null,"title":"In-Memory Series","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{},"gridPos":{"h":7,"w":24,"x":0,"y":3},"id":6,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"sum by (name) (rate(container_cpu_user_seconds_total{container_label_org_label_schema_group=\"monitoring\"}[1m]) * 100  / scalar(count(node_cpu{mode=\"user\"})))","format":"time_series","hide":true,"intervalFactor":10,"legendFormat":"{{ name }}","refId":"A","step":10},{"expr":"sum by (name) (rate(container_cpu_user_seconds_total{container_label_org_label_schema_group=\"monitoring\"}[1m]) * 100  / scalar(count(node_cpu_seconds_total{mode=\"user\"})))","format":"time_series","intervalFactor":10,"legendFormat":"{{ name }}","refId":"B"}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Container CPU Usage","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"percent","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{},"gridPos":{"h":7,"w":24,"x":0,"y":10},"id":7,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"sum by (name) (container_memory_usage_bytes{container_label_org_label_schema_group=\"monitoring\"})","format":"time_series","interval":"","intervalFactor":10,"legendFormat":"{{ name }}","metric":"container_memory_usage_bytes","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Container Memory Usage","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"bytes","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":true,"dashLength":10,"dashes":false,"datasource":"Prometheus","decimals":0,"editable":true,"error":false,"fill":1,"grid":{},"gridPos":{"h":7,"w":24,"x":0,"y":17},"id":73,"legend":{"alignAsTable":true,"avg":false,"current":true,"max":false,"min":false,"rightSide":true,"show":true,"total":false,"values":true},"lines":false,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":true,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"sum(ALERTS{alertstate=\"firing\"}) by (alertname)","format":"time_series","interval":"30s","intervalFactor":1,"legendFormat":"{{ alertname }}","metric":"container_memory_usage_bytes","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Alerts","tooltip":{"msResolution":true,"shared":false,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":24},"id":22,"panels":[],"repeat":null,"title":"Prometheus Metrics","type":"row"},{"aliasColors":{"Max":"#e24d42","Open":"#508642"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":25},"id":18,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"process_max_fds{job=\"prometheus\"}","format":"time_series","intervalFactor":1,"legendFormat":"Max","refId":"A"},{"expr":"process_open_fds{job=\"prometheus\"}","format":"time_series","intervalFactor":1,"legendFormat":"Open","refId":"B"}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"File Descriptors","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Allocated bytes":"#7EB26D","Allocated bytes - 1m max":"#BF1B00","Allocated bytes - 1m min":"#BF1B00","Allocated bytes - 5m max":"#BF1B00","Allocated bytes - 5m min":"#BF1B00","Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","RSS":"#447EBC"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","decimals":null,"editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":25},"id":58,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"/-/","fill":0}],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"process_resident_memory_bytes{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"RSS","metric":"process_resident_memory_bytes","refId":"B","step":10},{"expr":"prometheus_local_storage_target_heap_size_bytes{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"Target heap size","metric":"go_memstats_alloc_bytes","refId":"D","step":10},{"expr":"go_memstats_next_gc_bytes{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"Next GC","metric":"go_memstats_next_gc_bytes","refId":"C","step":10},{"expr":"go_memstats_alloc_bytes{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"Allocated","metric":"go_memstats_alloc_bytes","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Memory","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"bytes","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Allocated bytes":"#F9BA8F","Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","RSS":"#890F02"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":25},"id":60,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(go_memstats_alloc_bytes_total{job=\"prometheus\"}[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Allocated","metric":"go_memstats_alloc_bytes","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Allocations","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"Bps","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","Time series":"#70dbed"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":32},"id":20,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_tsdb_head_series","format":"time_series","intervalFactor":2,"legendFormat":"Time series","metric":"prometheus_local_storage_memory_series","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Time series","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":32},"id":24,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_tsdb_head_active_appenders","format":"time_series","intervalFactor":2,"legendFormat":"Head Appenders","metric":"prometheus_local_storage_memory_series","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Active Appenders","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"samples/s":"#e5a8e2"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":32},"id":26,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_head_samples_appended_total[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Samples","metric":"prometheus_local_storage_ingested_samples_total","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Samples Appended","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"Bps","label":"","logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","To persist":"#9AC48A"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":39},"id":28,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"/Max.*/","fill":0}],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_tsdb_head_chunks","format":"time_series","intervalFactor":2,"legendFormat":"Chunks","metric":"prometheus_local_storage_memory_chunks","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Chunks","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":39},"id":30,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_head_chunks_created_total[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Created","metric":"prometheus_local_storage_chunk_ops_total","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Chunks Created","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"ops","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","Removed":"#e5ac0e"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":39},"id":32,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":1,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_head_chunks_removed_total[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Removed","metric":"prometheus_local_storage_chunk_ops_total","refId":"B","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Chunks Removed","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"ops","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max":"#447ebc","Max chunks":"#052B51","Max to persist":"#3F6833","Min":"#447ebc","Now":"#7eb26d"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":46},"id":34,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"Max","fillBelowTo":"Min","lines":false}],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_tsdb_head_min_time","format":"time_series","intervalFactor":2,"legendFormat":"Min","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10},{"expr":"time() * 1000","format":"time_series","hide":false,"intervalFactor":2,"legendFormat":"Now","refId":"C"},{"expr":"prometheus_tsdb_head_max_time","format":"time_series","intervalFactor":2,"legendFormat":"Max","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"B","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Time Range","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"decimals":null,"format":"dateTimeAsIso","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":46},"id":36,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_head_gc_duration_seconds_sum[1m])","format":"time_series","intervalFactor":2,"legendFormat":"GC Time","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head GC Time/s","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":46},"id":38,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"Queue length","yaxis":2}],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_tsdb_blocks_loaded","format":"time_series","intervalFactor":2,"legendFormat":"Blocks Loaded","metric":"prometheus_local_storage_indexing_batch_sizes_sum","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Blocks Loaded","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Failed Compactions":"#bf1b00","Failed Reloads":"#bf1b00","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":53},"id":40,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_reloads_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Reloads","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"TSDB Reloads","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"ops","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Failed Compactions":"#bf1b00","Max chunks":"#052B51","Max to persist":"#3F6833","{instance=\"demo.robustperception.io:9090\",job=\"prometheus\"}":"#bf1b00"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":53},"id":44,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_wal_corruptions_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"WAL Corruptions","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10},{"expr":"rate(prometheus_tsdb_reloads_failures_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Reload Failures","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"B","step":10},{"expr":"rate(prometheus_tsdb_head_series_not_found[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Head Series Not Found","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"C","step":10},{"expr":"rate(prometheus_tsdb_compactions_failed_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Compaction Failures","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"D","step":10},{"expr":"rate(prometheus_tsdb_retention_cutoffs_failures_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Retention Cutoff Failures","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"E","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"TSDB Problems","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"none","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Failed Compactions":"#bf1b00","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":53},"id":42,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_wal_fsync_duration_seconds_sum[1m]) / rate(prometheus_tsdb_wal_fsync_duration_seconds_count[1m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Fsync Latency","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10},{"expr":"rate(prometheus_tsdb_wal_truncate_duration_seconds_sum[1m]) / rate(prometheus_tsdb_wal_truncate_duration_seconds_count[1m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Truncate Latency","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"B","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"WAL Latencies","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Failed Compactions":"#bf1b00","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":60},"id":46,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_compactions_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Compactions","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Compactions","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"none","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":60},"id":48,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_compaction_duration_seconds_sum[10m])","format":"time_series","intervalFactor":2,"legendFormat":"Compaction Time","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Compaction Time","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Allocated bytes":"#F9BA8F","Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","RSS":"#890F02"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":60},"id":50,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_retention_cutoffs_total[10m])","format":"time_series","intervalFactor":2,"legendFormat":"Retention Cutoffs","metric":"last","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Retention Cutoffs","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"none","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":67},"id":56,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_compaction_chunk_samples_sum[10m]) / rate(prometheus_tsdb_compaction_chunk_samples_count[10m])","format":"time_series","intervalFactor":2,"legendFormat":"Chunk Samples","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"First Compaction, Avg Chunk Samples","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"none","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"grid":{},"gridPos":{"h":7,"w":8,"x":8,"y":67},"id":10,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_target_interval_length_seconds_count[5m])","format":"time_series","intervalFactor":2,"legendFormat":"{{ interval }}","refId":"A","step":2}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Target Scrapes","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"grid":{},"gridPos":{"h":7,"w":8,"x":16,"y":67},"id":11,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_target_interval_length_seconds{quantile!=\"0.01\", quantile!=\"0.05\"}","format":"time_series","intervalFactor":2,"legendFormat":"{{quantile}} ({{interval}})","refId":"A","step":2}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Scrape Duration","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","description":"","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":74},"id":62,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_http_request_duration_seconds_count[1m])","format":"time_series","intervalFactor":2,"legendFormat":"{{handler}}","metric":"prometheus_local_storage_memory_chunkdescs","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"HTTP requests","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"reqps","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","description":"","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":74},"id":64,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_http_request_duration_seconds_sum[1m]) / rate(prometheus_http_request_duration_seconds_count[1m])","format":"time_series","intervalFactor":2,"legendFormat":"{{handler}}","metric":"prometheus_local_storage_memory_chunkdescs","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"HTTP request latency","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","description":"","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":74},"id":66,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":true,"steppedLine":false,"targets":[{"expr":"rate(prometheus_http_request_duration_seconds_sum[1m])","format":"time_series","intervalFactor":2,"legendFormat":"{{handler}}","metric":"prometheus_local_storage_memory_chunkdescs","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Time spent in HTTP requests","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","description":"Time spent in each mode, per second","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":81},"id":68,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":1,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":true,"steppedLine":false,"targets":[{"expr":"rate(prometheus_engine_query_duration_seconds_sum[1m])","format":"time_series","intervalFactor":2,"legendFormat":"{{slice}}","metric":"prometheus_local_storage_memory_chunkdescs","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Query engine timings","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":81},"id":70,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":true,"steppedLine":false,"targets":[{"expr":"rate(prometheus_rule_group_iterations_missed_total[1m])  ","format":"time_series","intervalFactor":2,"legendFormat":"Rule group missed","metric":"prometheus_local_storage_memory_chunkdescs","refId":"B","step":10},{"expr":"rate(prometheus_rule_evaluation_failures_total[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Rule evals failed","metric":"prometheus_local_storage_memory_chunkdescs","refId":"C","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Rule group evaulation problems","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":81},"id":72,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_rule_group_duration_seconds_sum[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Rule evaluation duration","metric":"prometheus_local_storage_memory_chunkdescs","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Evaluation time of rule groups","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}}],"refresh":"10s","schemaVersion":12,"sharedCrosshair":true,"style":"dark","tags":["prometheus"],"templating":{"list":[]},"time":{"from":"now-15m","to":"now"},"timepicker":{"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Monitor Services","uid":"jZPRfaM7k","version":1}


created: 2021-08-08 17:15:39
data:
  {"__requires":[{"id":"gauge","name":"Gauge","type":"panel","version":""},{"id":"grafana","name":"Grafana","type":"grafana","version":"6.5.3"},{"id":"graph","name":"Graph","type":"panel","version":""},{"id":"influxdb","name":"InfluxDB","type":"datasource","version":"1.0.0"},{"id":"singlestat","name":"Singlestat","type":"panel","version":""},{"id":"table","name":"Table","type":"panel","version":""}],"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"description":"Monitor FRITZ!Box routers.","editable":true,"gnetId":713,"graphTooltip":2,"id":null,"links":[],"panels":[{"cacheTimeout":null,"colorBackground":true,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","#1f78c1"],"datasource":"InfluxDB-QL","format":"none","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"id":10,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"options":{},"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"constatus"}],"target":""}],"thresholds":"1,1","title":"Connection Status","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"},{"op":"=","text":"Disconnected","value":"0"},{"op":"=","text":"Connected","value":"1"}],"valueName":"current"},{"cacheTimeout":null,"colorBackground":true,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","#1f78c1"],"datasource":"InfluxDB-QL","format":"none","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":3,"w":6,"x":6,"y":0},"id":9,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"options":{},"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"dslstatus"}],"target":""}],"thresholds":"1,1","title":"DSL Link Status","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"},{"op":"=","text":"Disconnected","value":"0"},{"op":"=","text":"Connected","value":"1"}],"valueName":"current"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","gridPos":{"h":6,"w":6,"x":12,"y":0},"id":11,"links":[],"options":{"fieldOptions":{"calcs":["lastNotNull"],"defaults":{"decimals":1,"mappings":[{"id":0,"op":"=","text":"N/A","type":1,"value":"null"}],"max":116000000,"min":0,"nullValueMode":"connected","thresholds":[{"color":"green","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":50000000},{"color":"red","value":100000000}],"unit":"bps"},"override":{},"values":false},"orientation":"horizontal","showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"6.5.3","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"receiverate"}],"target":""}],"title":"Current Download","type":"gauge"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","gridPos":{"h":6,"w":6,"x":18,"y":0},"id":12,"links":[],"options":{"fieldOptions":{"calcs":["lastNotNull"],"defaults":{"decimals":1,"mappings":[{"id":0,"op":"=","text":"N/A","type":1,"value":"null"}],"max":40000000,"min":0,"nullValueMode":"connected","thresholds":[{"color":"blue","value":null},{"color":"green","value":5000000},{"color":"rgba(237, 129, 40, 0.89)","value":10000000},{"color":"#e24d42","value":30000000}],"unit":"bps"},"override":{},"values":false},"orientation":"horizontal","showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"6.5.3","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"sendrate"}],"target":""}],"title":"Current Upload","type":"gauge"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"InfluxDB-QL","decimals":1,"format":"dtdurations","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":3,"w":6,"x":0,"y":3},"id":13,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"options":{},"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"uptime"}],"target":""}],"thresholds":"1,1","title":"Uptime","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"current"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"InfluxDB-QL","decimals":1,"format":"dtdurations","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":3,"w":6,"x":6,"y":3},"id":21,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"options":{},"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type","operator":"=","value":"uptime"}],"target":""}],"thresholds":"1,1","title":"Uptime","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"},{"op":"=","text":"Disconnected","value":"0"},{"op":"=","text":"Connected","value":"1"}],"valueName":"current"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"InfluxDB-QL","decimals":1,"format":"decbytes","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":4,"w":6,"x":0,"y":6},"id":3,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"options":{},"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":true},"tableColumn":"","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($__interval)","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"thresholds":"","title":"Total Download","type":"singlestat","valueFontSize":"100%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"total"},{"cacheTimeout":null,"colorBackground":false,"colorPrefix":true,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"InfluxDB-QL","decimals":1,"format":"decbytes","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":4,"w":6,"x":6,"y":6},"id":8,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"options":{},"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(137, 15, 2, 0.18)","full":false,"lineColor":"#e24d42","show":true},"tableColumn":"","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval)","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":""}],"thresholds":"","title":"Total Upload","type":"singlestat","valueFontSize":"100%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"total"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"InfluxDB-QL","decimals":1,"format":"decbytes","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":4,"w":6,"x":12,"y":6},"hideTimeOverride":false,"id":22,"interval":"","links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"options":{},"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":true},"tableColumn":"","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(max(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"thresholds":"","timeFrom":"1d","timeShift":null,"title":"Last 24h Download","type":"singlestat","valueFontSize":"100%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"total"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"InfluxDB-QL","decimals":1,"format":"decbytes","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":4,"w":6,"x":18,"y":6},"id":16,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"options":{},"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(137, 15, 2, 0.18)","full":false,"lineColor":"#e24d42","show":true},"tableColumn":"","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":""}],"thresholds":"","timeFrom":"1d","title":"Last 24h Upload","type":"singlestat","valueFontSize":"100%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"total"},{"aliasColors":{"Download":"#1f78c1","Upload":"#e24d42","fritzbox_value.non_negative_derivative":"#ba43a9","fritzbox_value.non_negative_difference":"#e24d42"},"bars":true,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","fill":1,"fillGradient":0,"gridPos":{"h":7,"w":12,"x":0,"y":10},"hiddenSeries":false,"id":2,"interval":"10s","legend":{"alignAsTable":false,"avg":false,"current":false,"hideEmpty":false,"hideZero":false,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":false},"lines":false,"linewidth":1,"links":[],"nullPointMode":"null","options":{"dataLinks":[]},"percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"alias":"Download","dsType":"influxdb","groupBy":[{"params":["24h"],"type":"time"}],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter\n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"F","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""},{"alias":"Upload","dsType":"influxdb","groupBy":[{"params":["24h"],"type":"time"}],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter \n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Daily Traffic","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"decimals":0,"format":"decbytes","label":"","logBase":1,"max":null,"min":null,"show":true},{"format":"decbytes","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"download":"#1F78C1","upload":"#EA6460"},"annotate":{"enable":false},"bars":true,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","editable":true,"fill":0,"fillGradient":0,"grid":{},"gridPos":{"h":7,"w":12,"x":12,"y":10},"hiddenSeries":false,"id":17,"interval":"1h","legend":{"avg":false,"current":true,"max":false,"min":false,"show":true,"total":false,"values":true},"lines":false,"linewidth":1,"links":[],"nullPointMode":"null","options":{"dataLinks":[]},"percentage":false,"pointradius":5,"points":false,"renderer":"flot","resolution":100,"scale":1,"seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":true,"targets":[{"alias":"download","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(\"value\") FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($interval) fill(null)","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":"alias(summarize(nonNegativeDerivative(collectd.squirrel.fritzbox.bytes-totalbytesreceived, 0), '1h', 'sum'), 'download')"},{"alias":"upload","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"fill":"null","groupBy":[{"params":["$interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval)\n) WHERE $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":true,"refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":"alias(summarize(nonNegativeDerivative(collectd.squirrel.fritzbox.bytes-totalbytessent,0),'1h','sum'),'upload')"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Current Traffic","tooltip":{"msResolution":false,"query_as_alias":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"decbytes","logBase":1,"max":null,"min":0,"show":true},{"format":"short","logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null},"zerofill":true},{"columns":[],"datasource":"InfluxDB-QL","fontSize":"100%","gridPos":{"h":8,"w":12,"x":0,"y":17},"id":14,"links":[],"options":{},"pageSize":null,"scroll":true,"showHeader":true,"sort":{"col":0,"desc":true},"styles":[{"alias":"Time","dateFormat":"MMMM D, YYYY LT","pattern":"Time","type":"date"},{"alias":"","colorMode":null,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"decimals":2,"pattern":"/.*/","thresholds":[],"type":"number","unit":"decbytes"}],"targets":[{"alias":"Download","dsType":"influxdb","groupBy":[{"params":["1d"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter \n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""},{"alias":"Upload","dsType":"influxdb","groupBy":[{"params":["1d"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter\n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"title":"Daily Traffic","transform":"timeseries_to_columns","type":"table"},{"aliasColors":{"downstream":"#1F78C1","downstream max":"#0A437C","upstream":"#EA6460","upstream max":"#890F02"},"annotate":{"enable":false},"bars":false,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","editable":true,"fill":1,"fillGradient":0,"grid":{},"gridPos":{"h":8,"w":12,"x":12,"y":17},"hiddenSeries":false,"id":18,"legend":{"alignAsTable":false,"avg":false,"current":true,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":true},"lines":true,"linewidth":1,"links":[],"nullPointMode":"connected","options":{"dataLinks":[]},"percentage":false,"pointradius":5,"points":false,"renderer":"flot","resolution":100,"scale":1,"seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"alias":"downstream","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'receiverate' AND $timeFilter GROUP BY time($interval)","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"receiverate"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-receiverate,'downstream')"},{"alias":"downstream max","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'downstreammax' AND $timeFilter GROUP BY time($interval)","refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"downstreammax"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-downstreammax,'downstream max')"},{"alias":"upstream","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'sendrate' AND $timeFilter GROUP BY time($interval)","refId":"C","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"sendrate"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-sendrate,'upstream')"},{"alias":"upstream max","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'upstreammax' AND $timeFilter GROUP BY time($interval)","refId":"D","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"upstreammax"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-upstreammax,'upstream max')"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Bandwidth","tooltip":{"msResolution":false,"query_as_alias":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"decimals":null,"format":"bps","label":"","logBase":1,"max":"116000000","min":"0","show":true},{"format":"short","logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null},"zerofill":true}],"refresh":"1m","schemaVersion":21,"style":"dark","tags":[],"templating":{"list":[]},"time":{"from":"now-7d","to":"now"},"timepicker":{"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"","title":"FRITZ!Box Router Status","uid":"EfrhGEM7z","version":1}


created: 2021-08-08 17:57:03
data:
  {"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Monitor FRITZ!Box routers.","editable":true,"gnetId":713,"graphTooltip":2,"id":10,"links":[],"panels":[{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"#1f78c1","value":1}]},"unit":"none"},"overrides":[]},"id":10,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"constatus"}],"target":""}],"title":"Connection Status","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"#1f78c1","value":1}]},"unit":"none"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":6,"y":0},"id":9,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"dslstatus"}],"target":""}],"title":"DSL Link Status","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"id":0,"op":"=","text":"N/A","type":1,"value":"null"}],"max":116000000,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":50000000},{"color":"red","value":100000000}]},"unit":"bps"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":12,"y":0},"id":11,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"receiverate"}],"target":""}],"title":"Current Download","type":"gauge"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"id":0,"op":"=","text":"N/A","type":1,"value":"null"}],"max":40000000,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"blue","value":null},{"color":"green","value":5000000},{"color":"rgba(237, 129, 40, 0.89)","value":10000000},{"color":"#e24d42","value":30000000}]},"unit":"bps"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":18,"y":0},"id":12,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"sendrate"}],"target":""}],"title":"Current Upload","type":"gauge"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"rgba(50, 172, 45, 0.97)","value":1}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":0,"y":3},"id":13,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"uptime"}],"target":""}],"title":"Uptime","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"rgba(50, 172, 45, 0.97)","value":1}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":6,"y":3},"id":21,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type","operator":"=","value":"uptime"}],"target":""}],"title":"Uptime","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"rgb(31, 120, 193)","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":0,"y":6},"id":3,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($__interval)","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"title":"Total Download","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"#e24d42","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":6,"y":6},"id":8,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval)","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":""}],"title":"Total Upload","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"rgb(31, 120, 193)","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":12,"y":6},"hideTimeOverride":false,"id":22,"interval":"","links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(max(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"timeFrom":"1d","timeShift":null,"title":"Last 24h Download","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"#e24d42","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":18,"y":6},"id":16,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":""}],"timeFrom":"1d","title":"Last 24h Upload","type":"stat"},{"aliasColors":{"Download":"#1f78c1","Upload":"#e24d42","fritzbox_value.non_negative_derivative":"#ba43a9","fritzbox_value.non_negative_difference":"#e24d42"},"bars":true,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":1,"fillGradient":0,"gridPos":{"h":7,"w":12,"x":0,"y":10},"hiddenSeries":false,"id":2,"interval":"10s","legend":{"alignAsTable":false,"avg":false,"current":false,"hideEmpty":false,"hideZero":false,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":false},"lines":false,"linewidth":1,"links":[],"nullPointMode":"null","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"alias":"Download","dsType":"influxdb","groupBy":[{"params":["24h"],"type":"time"}],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter\n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"F","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""},{"alias":"Upload","dsType":"influxdb","groupBy":[{"params":["24h"],"type":"time"}],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter \n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Daily Traffic","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"decimals":0,"format":"decbytes","label":"","logBase":1,"max":null,"min":null,"show":true},{"format":"decbytes","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"download":"#1F78C1","upload":"#EA6460"},"annotate":{"enable":false},"bars":true,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","editable":true,"fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":0,"fillGradient":0,"grid":{},"gridPos":{"h":7,"w":12,"x":12,"y":10},"hiddenSeries":false,"id":17,"interval":"1h","legend":{"avg":false,"current":true,"max":false,"min":false,"show":true,"total":false,"values":true},"lines":false,"linewidth":1,"links":[],"nullPointMode":"null","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","resolution":100,"scale":1,"seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":true,"targets":[{"alias":"download","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(\"value\") FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($interval) fill(null)","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":"alias(summarize(nonNegativeDerivative(collectd.squirrel.fritzbox.bytes-totalbytesreceived, 0), '1h', 'sum'), 'download')"},{"alias":"upload","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"fill":"null","groupBy":[{"params":["$interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval)\n) WHERE $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":true,"refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":"alias(summarize(nonNegativeDerivative(collectd.squirrel.fritzbox.bytes-totalbytessent,0),'1h','sum'),'upload')"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Current Traffic","tooltip":{"msResolution":false,"query_as_alias":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"decbytes","logBase":1,"max":null,"min":0,"show":true},{"format":"short","logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null},"zerofill":true},{"columns":[],"datasource":"InfluxDB-QL","fontSize":"100%","gridPos":{"h":8,"w":12,"x":0,"y":17},"id":14,"links":[],"pageSize":null,"scroll":true,"showHeader":true,"sort":{"col":0,"desc":true},"styles":[{"alias":"Time","align":"auto","dateFormat":"MMMM D, YYYY LT","pattern":"Time","type":"date"},{"alias":"","align":"auto","colorMode":null,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"decimals":2,"pattern":"/.*/","thresholds":[],"type":"number","unit":"decbytes"}],"targets":[{"alias":"Download","dsType":"influxdb","groupBy":[{"params":["1d"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter \n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""},{"alias":"Upload","dsType":"influxdb","groupBy":[{"params":["1d"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter\n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"title":"Daily Traffic","transform":"timeseries_to_columns","type":"table-old"},{"aliasColors":{"downstream":"#1F78C1","downstream max":"#0A437C","upstream":"#EA6460","upstream max":"#890F02"},"annotate":{"enable":false},"bars":false,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","editable":true,"fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":1,"fillGradient":0,"grid":{},"gridPos":{"h":8,"w":12,"x":12,"y":17},"hiddenSeries":false,"id":18,"legend":{"alignAsTable":false,"avg":false,"current":true,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":true},"lines":true,"linewidth":1,"links":[],"nullPointMode":"connected","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","resolution":100,"scale":1,"seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"alias":"downstream","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'receiverate' AND $timeFilter GROUP BY time($interval)","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"receiverate"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-receiverate,'downstream')"},{"alias":"downstream max","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'downstreammax' AND $timeFilter GROUP BY time($interval)","refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"downstreammax"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-downstreammax,'downstream max')"},{"alias":"upstream","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'sendrate' AND $timeFilter GROUP BY time($interval)","refId":"C","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"sendrate"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-sendrate,'upstream')"},{"alias":"upstream max","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'upstreammax' AND $timeFilter GROUP BY time($interval)","refId":"D","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"upstreammax"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-upstreammax,'upstream max')"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Bandwidth","tooltip":{"msResolution":false,"query_as_alias":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"decimals":null,"format":"bps","label":"","logBase":1,"max":"116000000","min":"0","show":true},{"format":"short","logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null},"zerofill":true}],"refresh":"1m","schemaVersion":30,"style":"dark","tags":[],"templating":{"list":[]},"time":{"from":"now-7d","to":"now"},"timepicker":{"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"","title":"FRITZ!Box Influx-QL","uid":"EfrhGEM7z","version":2}


created: 2021-08-08 18:16:02
data:
  {"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Monitor FRITZ!Box routers.","editable":true,"gnetId":713,"graphTooltip":2,"id":10,"links":[],"panels":[{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"#1f78c1","value":1}]},"unit":"none"},"overrides":[]},"id":10,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"constatus"}],"target":""}],"title":"Connection Status","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"#1f78c1","value":1}]},"unit":"none"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":6,"y":0},"id":9,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"dslstatus"}],"target":""}],"title":"DSL Link Status","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"id":0,"op":"=","text":"N/A","type":1,"value":"null"}],"max":116000000,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":50000000},{"color":"red","value":100000000}]},"unit":"bps"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":12,"y":0},"id":11,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"receiverate"}],"target":""}],"title":"Current Download","type":"gauge"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"id":0,"op":"=","text":"N/A","type":1,"value":"null"}],"max":40000000,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"blue","value":null},{"color":"green","value":5000000},{"color":"rgba(237, 129, 40, 0.89)","value":10000000},{"color":"#e24d42","value":30000000}]},"unit":"bps"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":18,"y":0},"id":12,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"sendrate"}],"target":""}],"title":"Current Upload","type":"gauge"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"rgba(50, 172, 45, 0.97)","value":1}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":0,"y":3},"id":13,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"uptime"}],"target":""}],"title":"Uptime","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"rgba(50, 172, 45, 0.97)","value":1}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":6,"y":3},"id":21,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type","operator":"=","value":"uptime"}],"target":""}],"title":"Uptime","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"rgb(31, 120, 193)","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":0,"y":6},"id":3,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($__interval)","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"title":"Total Download","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"#e24d42","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":6,"y":6},"id":8,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval)","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":""}],"title":"Total Upload","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"rgb(31, 120, 193)","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":12,"y":6},"hideTimeOverride":false,"id":22,"interval":"","links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(max(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"timeFrom":"1d","timeShift":null,"title":"Last 24h Download","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"#e24d42","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":18,"y":6},"id":16,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":""}],"timeFrom":"1d","title":"Last 24h Upload","type":"stat"},{"aliasColors":{"Download":"#1f78c1","Upload":"#e24d42","fritzbox_value.non_negative_derivative":"#ba43a9","fritzbox_value.non_negative_difference":"#e24d42"},"bars":true,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":1,"fillGradient":0,"gridPos":{"h":7,"w":12,"x":0,"y":10},"hiddenSeries":false,"id":2,"interval":"10s","legend":{"alignAsTable":false,"avg":false,"current":false,"hideEmpty":false,"hideZero":false,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":false},"lines":false,"linewidth":1,"links":[],"nullPointMode":"null","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"alias":"Download","dsType":"influxdb","groupBy":[{"params":["24h"],"type":"time"}],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter\n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"F","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""},{"alias":"Upload","dsType":"influxdb","groupBy":[{"params":["24h"],"type":"time"}],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter \n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Daily Traffic","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"decimals":0,"format":"decbytes","label":"","logBase":1,"max":null,"min":null,"show":true},{"format":"decbytes","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"download":"#1F78C1","upload":"#EA6460"},"annotate":{"enable":false},"bars":true,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","editable":true,"fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":0,"fillGradient":0,"grid":{},"gridPos":{"h":7,"w":12,"x":12,"y":10},"hiddenSeries":false,"id":17,"interval":"1h","legend":{"avg":false,"current":true,"max":false,"min":false,"show":true,"total":false,"values":true},"lines":false,"linewidth":1,"links":[],"nullPointMode":"null","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","resolution":100,"scale":1,"seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":true,"targets":[{"alias":"download","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(\"value\") FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($interval) fill(null)","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":"alias(summarize(nonNegativeDerivative(collectd.squirrel.fritzbox.bytes-totalbytesreceived, 0), '1h', 'sum'), 'download')"},{"alias":"upload","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"fill":"null","groupBy":[{"params":["$interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval)\n) WHERE $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":true,"refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":"alias(summarize(nonNegativeDerivative(collectd.squirrel.fritzbox.bytes-totalbytessent,0),'1h','sum'),'upload')"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Current Traffic","tooltip":{"msResolution":false,"query_as_alias":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"decbytes","logBase":1,"max":null,"min":0,"show":true},{"format":"short","logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null},"zerofill":true},{"columns":[],"datasource":"InfluxDB-QL","fontSize":"100%","gridPos":{"h":8,"w":12,"x":0,"y":17},"id":14,"links":[],"pageSize":null,"scroll":true,"showHeader":true,"sort":{"col":0,"desc":true},"styles":[{"alias":"Time","align":"auto","dateFormat":"MMMM D, YYYY LT","pattern":"Time","type":"date"},{"alias":"","align":"auto","colorMode":null,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"decimals":2,"pattern":"/.*/","thresholds":[],"type":"number","unit":"decbytes"}],"targets":[{"alias":"Download","dsType":"influxdb","groupBy":[{"params":["1d"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter \n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""},{"alias":"Upload","dsType":"influxdb","groupBy":[{"params":["1d"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter\n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"title":"Daily Traffic","transform":"timeseries_to_columns","type":"table-old"},{"aliasColors":{"downstream":"#1F78C1","downstream max":"#0A437C","upstream":"#EA6460","upstream max":"#890F02"},"annotate":{"enable":false},"bars":false,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","editable":true,"fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":1,"fillGradient":0,"grid":{},"gridPos":{"h":8,"w":12,"x":12,"y":17},"hiddenSeries":false,"id":18,"legend":{"alignAsTable":false,"avg":false,"current":true,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":true},"lines":true,"linewidth":1,"links":[],"nullPointMode":"connected","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","resolution":100,"scale":1,"seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"alias":"downstream","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'receiverate' AND $timeFilter GROUP BY time($interval)","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"receiverate"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-receiverate,'downstream')"},{"alias":"downstream max","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'downstreammax' AND $timeFilter GROUP BY time($interval)","refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"downstreammax"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-downstreammax,'downstream max')"},{"alias":"upstream","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'sendrate' AND $timeFilter GROUP BY time($interval)","refId":"C","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"sendrate"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-sendrate,'upstream')"},{"alias":"upstream max","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'upstreammax' AND $timeFilter GROUP BY time($interval)","refId":"D","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"upstreammax"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-upstreammax,'upstream max')"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Bandwidth","tooltip":{"msResolution":false,"query_as_alias":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"decimals":null,"format":"bps","label":"","logBase":1,"max":"116000000","min":"0","show":true},{"format":"short","logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null},"zerofill":true}],"refresh":"1m","schemaVersion":30,"style":"dark","tags":[],"templating":{"list":[]},"time":{"from":"now-7d","to":"now"},"timepicker":{"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"","title":"FRITZ!Box Influx-QL","uid":"EfrhGEM7z","version":3}


created: 2021-08-08 21:23:31
data:
  {"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Monitor FRITZ!Box routers.","editable":true,"gnetId":713,"graphTooltip":2,"id":10,"links":[],"panels":[{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"#1f78c1","value":1}]},"unit":"none"},"overrides":[]},"id":10,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"constatus"}],"target":""}],"title":"Connection Status","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"#1f78c1","value":1}]},"unit":"none"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":6,"y":0},"id":9,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"dslstatus"}],"target":""}],"title":"DSL Link Status","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"id":0,"op":"=","text":"N/A","type":1,"value":"null"}],"max":50000000,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":25000000},{"color":"red","value":36000000}]},"unit":"bps"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":12,"y":0},"id":11,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"receiverate"}],"target":""}],"title":"Current Download","type":"gauge"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"id":0,"op":"=","text":"N/A","type":1,"value":"null"}],"max":30000000,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"blue","value":null},{"color":"green","value":2000000},{"color":"rgba(237, 129, 40, 0.89)","value":10000000},{"color":"#e24d42","value":20000000}]},"unit":"bps"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":18,"y":0},"id":12,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"sendrate"}],"target":""}],"title":"Current Upload","type":"gauge"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"rgba(50, 172, 45, 0.97)","value":1}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":0,"y":3},"id":13,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"uptime"}],"target":""}],"title":"Uptime","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"rgba(50, 172, 45, 0.97)","value":1}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":6,"y":3},"id":21,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type","operator":"=","value":"uptime"}],"target":""}],"title":"Uptime","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"rgb(31, 120, 193)","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":0,"y":6},"id":3,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($__interval)","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"title":"Total Download","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"#e24d42","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":6,"y":6},"id":8,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval)","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":""}],"title":"Total Upload","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"rgb(31, 120, 193)","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":12,"y":6},"hideTimeOverride":false,"id":22,"interval":"","links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(max(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"timeFrom":"1d","timeShift":null,"title":"Last 24h Download","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"#e24d42","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":18,"y":6},"id":16,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":""}],"timeFrom":"1d","title":"Last 24h Upload","type":"stat"},{"aliasColors":{"Download":"#1f78c1","Upload":"#e24d42","fritzbox_value.non_negative_derivative":"#ba43a9","fritzbox_value.non_negative_difference":"#e24d42"},"bars":true,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":1,"fillGradient":0,"gridPos":{"h":7,"w":12,"x":0,"y":10},"hiddenSeries":false,"id":2,"interval":"10s","legend":{"alignAsTable":false,"avg":false,"current":false,"hideEmpty":false,"hideZero":false,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":false},"lines":false,"linewidth":1,"links":[],"nullPointMode":"null","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"alias":"Download","dsType":"influxdb","groupBy":[{"params":["24h"],"type":"time"}],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter\n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"F","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""},{"alias":"Upload","dsType":"influxdb","groupBy":[{"params":["24h"],"type":"time"}],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter \n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Daily Traffic","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"decimals":0,"format":"decbytes","label":"","logBase":1,"max":null,"min":null,"show":true},{"format":"decbytes","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"download":"#1F78C1","upload":"#EA6460"},"annotate":{"enable":false},"bars":true,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","editable":true,"fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":0,"fillGradient":0,"grid":{},"gridPos":{"h":7,"w":12,"x":12,"y":10},"hiddenSeries":false,"id":17,"interval":"1h","legend":{"avg":false,"current":true,"max":false,"min":false,"show":true,"total":false,"values":true},"lines":false,"linewidth":1,"links":[],"nullPointMode":"null","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","resolution":100,"scale":1,"seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":true,"targets":[{"alias":"download","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(\"value\") FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($interval) fill(null)","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":"alias(summarize(nonNegativeDerivative(collectd.squirrel.fritzbox.bytes-totalbytesreceived, 0), '1h', 'sum'), 'download')"},{"alias":"upload","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"fill":"null","groupBy":[{"params":["$interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval)\n) WHERE $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":true,"refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":"alias(summarize(nonNegativeDerivative(collectd.squirrel.fritzbox.bytes-totalbytessent,0),'1h','sum'),'upload')"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Current Traffic","tooltip":{"msResolution":false,"query_as_alias":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"decbytes","logBase":1,"max":null,"min":0,"show":true},{"format":"short","logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null},"zerofill":true},{"columns":[],"datasource":"InfluxDB-QL","fontSize":"100%","gridPos":{"h":8,"w":12,"x":0,"y":17},"id":14,"links":[],"pageSize":null,"scroll":true,"showHeader":true,"sort":{"col":0,"desc":true},"styles":[{"alias":"Time","align":"auto","dateFormat":"MMMM D, YYYY LT","pattern":"Time","type":"date"},{"alias":"","align":"auto","colorMode":null,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"decimals":2,"pattern":"/.*/","thresholds":[],"type":"number","unit":"decbytes"}],"targets":[{"alias":"Download","dsType":"influxdb","groupBy":[{"params":["1d"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter \n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""},{"alias":"Upload","dsType":"influxdb","groupBy":[{"params":["1d"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter\n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"title":"Daily Traffic","transform":"timeseries_to_columns","type":"table-old"},{"aliasColors":{"downstream":"#1F78C1","downstream max":"#0A437C","upstream":"#EA6460","upstream max":"#890F02"},"annotate":{"enable":false},"bars":false,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","editable":true,"fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":1,"fillGradient":0,"grid":{},"gridPos":{"h":8,"w":12,"x":12,"y":17},"hiddenSeries":false,"id":18,"legend":{"alignAsTable":false,"avg":false,"current":true,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":true},"lines":true,"linewidth":1,"links":[],"nullPointMode":"connected","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","resolution":100,"scale":1,"seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"alias":"downstream","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'receiverate' AND $timeFilter GROUP BY time($interval)","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"receiverate"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-receiverate,'downstream')"},{"alias":"downstream max","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'downstreammax' AND $timeFilter GROUP BY time($interval)","refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"downstreammax"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-downstreammax,'downstream max')"},{"alias":"upstream","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'sendrate' AND $timeFilter GROUP BY time($interval)","refId":"C","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"sendrate"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-sendrate,'upstream')"},{"alias":"upstream max","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'upstreammax' AND $timeFilter GROUP BY time($interval)","refId":"D","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"upstreammax"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-upstreammax,'upstream max')"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Bandwidth","tooltip":{"msResolution":false,"query_as_alias":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"$$hashKey":"object:255","decimals":null,"format":"bps","label":"","logBase":1,"max":null,"min":"0","show":true},{"$$hashKey":"object:256","format":"short","logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null},"zerofill":true},{"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"fillOpacity":70,"lineWidth":1},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[]},"gridPos":{"h":8,"w":12,"x":5,"y":25},"id":24,"options":{"colWidth":0.9,"legend":{"displayMode":"hidden","placement":"bottom"},"rowHeight":0.9,"showValue":"auto","tooltip":{"mode":"single"}},"pluginVersion":"8.1.0","targets":[{"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["none"],"type":"fill"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"dslstatus"}]}],"title":"DSL Status History","type":"status-history"}],"refresh":"1m","schemaVersion":30,"style":"dark","tags":[],"templating":{"list":[]},"time":{"from":"now-7d","to":"now"},"timepicker":{"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"","title":"FRITZ!Box Influx-QL","uid":"EfrhGEM7z","version":4}


created: 2021-08-08 23:13:46
data:
  {"__requires":[{"id":"grafana","name":"Grafana","type":"grafana","version":"8.1.0-pre"},{"id":"prometheus","name":"Prometheus","type":"datasource","version":"1.0.0"},{"id":"stat","name":"Stat","type":"panel","version":""},{"id":"table-old","name":"Table (old)","type":"panel","version":""},{"id":"timeseries","name":"Time series","type":"panel","version":""}],"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"description":"Metrics about Grafana","editable":true,"gnetId":null,"graphTooltip":0,"id":2,"links":[{"icon":"external link","tags":[],"targetBlank":true,"title":"Available metrics","type":"link","url":"/metrics"},{"icon":"external link","tags":[],"targetBlank":true,"title":"Grafana docs","type":"link","url":"https://grafana.com/docs/grafana/latest/"},{"icon":"external link","tags":[],"targetBlank":true,"title":"Prometheus docs","type":"link","url":"http://prometheus.io/docs/introduction/overview/"}],"panels":[{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"0":{"text":":("}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(222, 3, 3, 0.9)","value":null},{"color":"rgb(234, 245, 234)","value":1},{"color":"rgb(235, 244, 235)","value":10000}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":5,"x":0,"y":0},"id":4,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["mean"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"up{job=\"grafana\"}","format":"time_series","instant":true,"intervalFactor":2,"refId":"A","step":60}],"title":"Active instances","type":"stat"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":5,"x":5,"y":0},"id":8,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["mean"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"grafana_stat_totals_dashboard","format":"time_series","instant":true,"intervalFactor":2,"refId":"A","step":60}],"title":"Dashboard count","type":"stat"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":5,"x":10,"y":0},"id":9,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["mean"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"grafana_stat_total_users","format":"time_series","instant":true,"intervalFactor":2,"refId":"A","step":60}],"title":"User count","type":"stat"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":5,"x":15,"y":0},"id":10,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["mean"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"grafana_stat_total_playlists","format":"time_series","instant":true,"intervalFactor":2,"refId":"A","step":60}],"title":"Playlist count","type":"stat"},{"columns":[],"datasource":"Prometheus","fontSize":"100%","gridPos":{"h":5,"w":4,"x":20,"y":0},"id":17,"links":[],"pageSize":null,"scroll":false,"showHeader":true,"sort":{"col":0,"desc":true},"styles":[{"alias":"Time","align":"auto","dateFormat":"YYYY-MM-DD HH:mm:ss","link":false,"pattern":"Time","type":"hidden"},{"alias":"","align":"auto","colorMode":null,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"decimals":0,"pattern":"/.*/","thresholds":[],"type":"number","unit":"short"}],"targets":[{"expr":"topk(1, grafana_info or grafana_build_info)","format":"time_series","instant":true,"intervalFactor":2,"legendFormat":"{{version}}","refId":"A","step":20}],"title":"Grafana version","transform":"timeseries_to_rows","type":"table-old"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"400"},"properties":[{"id":"color","value":{"fixedColor":"#447EBC","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"500"},"properties":[{"id":"color","value":{"fixedColor":"#BF1B00","mode":"fixed"}}]}]},"gridPos":{"h":10,"w":10,"x":0,"y":5},"id":15,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum by (statuscode) (irate(http_request_total{job='grafana'}[5m]))","format":"time_series","intervalFactor":3,"legendFormat":"{{statuscode}}","refId":"B","step":15,"target":"dev.grafana.cb-office.alerting.active_alerts"}],"timeFrom":null,"timeShift":null,"title":"http status codes","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"400"},"properties":[{"id":"color","value":{"fixedColor":"#447EBC","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"500"},"properties":[{"id":"color","value":{"fixedColor":"#BF1B00","mode":"fixed"}}]}]},"gridPos":{"h":10,"w":10,"x":10,"y":5},"id":11,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum(irate(grafana_api_response_status_total[5m]))","format":"time_series","intervalFactor":4,"legendFormat":"api","refId":"A","step":20},{"expr":"sum(irate(grafana_proxy_response_status_total[5m]))","format":"time_series","intervalFactor":4,"legendFormat":"proxy","refId":"B","step":20},{"expr":"sum(irate(grafana_page_response_status_total[5m]))","format":"time_series","intervalFactor":4,"legendFormat":"web","refId":"C","step":20}],"timeFrom":null,"timeShift":null,"title":"Requests by routing group","type":"timeseries"},{"columns":[],"datasource":"Prometheus","fontSize":"100%","gridPos":{"h":10,"w":4,"x":20,"y":5},"height":"","id":12,"links":[],"pageSize":null,"scroll":true,"showHeader":true,"sort":{"col":0,"desc":true},"styles":[{"alias":"Time","align":"auto","dateFormat":"YYYY-MM-DD HH:mm:ss","link":false,"pattern":"Time","type":"hidden"},{"alias":"","align":"auto","colorMode":null,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"decimals":0,"pattern":"/.*/","thresholds":[],"type":"number","unit":"short"}],"targets":[{"expr":"sort(topk(8, sum by (handler) (http_request_total{job=\"grafana\"})))","format":"time_series","instant":true,"intervalFactor":10,"legendFormat":"{{handler}}","refId":"A","step":100}],"title":"Most used handlers","transform":"timeseries_to_rows","type":"table-old"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"normal"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"alerting"},"properties":[{"id":"color","value":{"fixedColor":"#890F02","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"ok"},"properties":[{"id":"color","value":{"fixedColor":"#7EB26D","mode":"fixed"}}]}]},"gridPos":{"h":5,"w":12,"x":0,"y":15},"id":6,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"increase(grafana_alerting_active_alerts[1m])","format":"time_series","intervalFactor":3,"legendFormat":"{{state}}","refId":"A","step":15}],"timeFrom":null,"timeShift":null,"title":"Grafana active alerts","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"alerting"},"properties":[{"id":"color","value":{"fixedColor":"#890F02","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"alertname"},"properties":[{"id":"color","value":{"fixedColor":"#BF1B00","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"firing alerts"},"properties":[{"id":"color","value":{"fixedColor":"#BF1B00","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"ok"},"properties":[{"id":"color","value":{"fixedColor":"#7EB26D","mode":"fixed"}}]}]},"gridPos":{"h":5,"w":12,"x":12,"y":15},"id":18,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":" sum (ALERTS)","format":"time_series","intervalFactor":3,"legendFormat":"firing alerts","refId":"A","step":15}],"timeFrom":null,"timeShift":null,"title":"Prometheus alerts","type":"timeseries"},{"datasource":"Prometheus","description":"Aggregated over all Grafana nodes.","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"avg gc duration"},"properties":[{"id":"unit","value":"decbytes"}]},{"matcher":{"id":"byName","options":"allocated memory"},"properties":[{"id":"unit","value":"decbytes"}]},{"matcher":{"id":"byName","options":"used memory"},"properties":[{"id":"unit","value":"decbytes"}]},{"matcher":{"id":"byName","options":"memory usage"},"properties":[{"id":"unit","value":"decbytes"}]}]},"gridPos":{"h":7,"w":24,"x":0,"y":20},"id":7,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum(go_goroutines{job=\"grafana\"})","format":"time_series","hide":false,"intervalFactor":4,"legendFormat":"go routines","refId":"A","step":8,"target":"select metric","type":"timeserie"},{"expr":"sum(process_resident_memory_bytes{job=\"grafana\"})","format":"time_series","intervalFactor":4,"legendFormat":"memory usage","refId":"B","step":8}],"timeFrom":null,"timeShift":null,"title":"Grafana performance","type":"timeseries"}],"revision":"1.0","schemaVersion":30,"style":"dark","tags":["grafana","prometheus"],"templating":{"list":[]},"time":{"from":"now-6h","to":"now"},"timepicker":{"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"","title":"Grafana metrics","uid":"isFoa0z7k","version":2}


created: 2021-08-08 23:13:46
data:
  {"annotations":{"list":[]},"editable":true,"gnetId":null,"hideControls":false,"id":7,"links":[],"panels":[{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","decimals":1,"editable":true,"error":false,"format":"s","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":3,"w":6,"x":0,"y":0},"hideTimeOverride":true,"id":1,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"s","postfixFontSize":"80%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"expr":"(time() - process_start_time_seconds{instance=\"localhost:9090\",job=\"prometheus\"})","interval":"10s","intervalFactor":1,"legendFormat":"","refId":"A","step":10}],"thresholds":"","timeFrom":"10s","timeShift":null,"title":"Prometheus Uptime","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"format":"bytes","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":3,"w":6,"x":6,"y":0},"hideTimeOverride":true,"id":5,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"expr":"sum(container_memory_usage_bytes{container_label_org_label_schema_group=\"monitoring\"})","format":"time_series","interval":"10s","intervalFactor":1,"legendFormat":"","refId":"A","step":10}],"thresholds":"","timeFrom":"10s","timeShift":null,"title":"Memory Usage","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","editable":true,"error":false,"format":"none","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":3,"w":6,"x":12,"y":0},"hideTimeOverride":true,"id":3,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"expr":"prometheus_tsdb_head_chunks","interval":"10s","intervalFactor":1,"refId":"A","step":10}],"thresholds":"","timeFrom":"10s","timeShift":null,"title":"In-Memory Chunks","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"cacheTimeout":null,"colorBackground":false,"colorValue":false,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource":"Prometheus","editable":true,"error":false,"format":"none","gauge":{"maxValue":100,"minValue":0,"show":false,"thresholdLabels":false,"thresholdMarkers":true},"gridPos":{"h":3,"w":6,"x":18,"y":0},"hideTimeOverride":true,"id":2,"interval":null,"links":[],"mappingType":1,"mappingTypes":[{"name":"value to text","value":1},{"name":"range to text","value":2}],"maxDataPoints":100,"nullPointMode":"connected","nullText":null,"postfix":"","postfixFontSize":"50%","prefix":"","prefixFontSize":"50%","rangeMaps":[{"from":"null","text":"N/A","to":"null"}],"sparkline":{"fillColor":"rgba(31, 118, 189, 0.18)","full":false,"lineColor":"rgb(31, 120, 193)","show":false},"tableColumn":"","targets":[{"expr":"prometheus_tsdb_head_series","interval":"10s","intervalFactor":1,"refId":"A","step":10}],"thresholds":"","timeFrom":"10s","timeShift":null,"title":"In-Memory Series","type":"singlestat","valueFontSize":"80%","valueMaps":[{"op":"=","text":"N/A","value":"null"}],"valueName":"avg"},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{},"gridPos":{"h":7,"w":24,"x":0,"y":3},"id":6,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"sum by (name) (rate(container_cpu_user_seconds_total{container_label_org_label_schema_group=\"monitoring\"}[1m]) * 100  / scalar(count(node_cpu{mode=\"user\"})))","format":"time_series","hide":true,"intervalFactor":10,"legendFormat":"{{ name }}","refId":"A","step":10},{"expr":"sum by (name) (rate(container_cpu_user_seconds_total{container_label_org_label_schema_group=\"monitoring\"}[1m]) * 100  / scalar(count(node_cpu_seconds_total{mode=\"user\"})))","format":"time_series","intervalFactor":10,"legendFormat":"{{ name }}","refId":"B"}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Container CPU Usage","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"percent","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","decimals":2,"editable":true,"error":false,"fill":1,"grid":{},"gridPos":{"h":7,"w":24,"x":0,"y":10},"id":7,"legend":{"alignAsTable":true,"avg":true,"current":false,"max":true,"min":true,"rightSide":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"sum by (name) (container_memory_usage_bytes{container_label_org_label_schema_group=\"monitoring\"})","format":"time_series","interval":"","intervalFactor":10,"legendFormat":"{{ name }}","metric":"container_memory_usage_bytes","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Container Memory Usage","tooltip":{"msResolution":true,"shared":true,"sort":2,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"bytes","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":true,"dashLength":10,"dashes":false,"datasource":"Prometheus","decimals":0,"editable":true,"error":false,"fill":1,"grid":{},"gridPos":{"h":7,"w":24,"x":0,"y":17},"id":73,"legend":{"alignAsTable":true,"avg":false,"current":true,"max":false,"min":false,"rightSide":true,"show":true,"total":false,"values":true},"lines":false,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":true,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"sum(ALERTS{alertstate=\"firing\"}) by (alertname)","format":"time_series","interval":"30s","intervalFactor":1,"legendFormat":"{{ alertname }}","metric":"container_memory_usage_bytes","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Alerts","tooltip":{"msResolution":true,"shared":false,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":24},"id":22,"panels":[],"repeat":null,"title":"Prometheus Metrics","type":"row"},{"aliasColors":{"Max":"#e24d42","Open":"#508642"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":25},"id":18,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"process_max_fds{job=\"prometheus\"}","format":"time_series","intervalFactor":1,"legendFormat":"Max","refId":"A"},{"expr":"process_open_fds{job=\"prometheus\"}","format":"time_series","intervalFactor":1,"legendFormat":"Open","refId":"B"}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"File Descriptors","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Allocated bytes":"#7EB26D","Allocated bytes - 1m max":"#BF1B00","Allocated bytes - 1m min":"#BF1B00","Allocated bytes - 5m max":"#BF1B00","Allocated bytes - 5m min":"#BF1B00","Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","RSS":"#447EBC"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","decimals":null,"editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":25},"id":58,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"/-/","fill":0}],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"process_resident_memory_bytes{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"RSS","metric":"process_resident_memory_bytes","refId":"B","step":10},{"expr":"prometheus_local_storage_target_heap_size_bytes{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"Target heap size","metric":"go_memstats_alloc_bytes","refId":"D","step":10},{"expr":"go_memstats_next_gc_bytes{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"Next GC","metric":"go_memstats_next_gc_bytes","refId":"C","step":10},{"expr":"go_memstats_alloc_bytes{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"Allocated","metric":"go_memstats_alloc_bytes","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Memory","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"bytes","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Allocated bytes":"#F9BA8F","Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","RSS":"#890F02"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":25},"id":60,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(go_memstats_alloc_bytes_total{job=\"prometheus\"}[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Allocated","metric":"go_memstats_alloc_bytes","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Allocations","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"Bps","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","Time series":"#70dbed"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":32},"id":20,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_tsdb_head_series","format":"time_series","intervalFactor":2,"legendFormat":"Time series","metric":"prometheus_local_storage_memory_series","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Time series","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":32},"id":24,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_tsdb_head_active_appenders","format":"time_series","intervalFactor":2,"legendFormat":"Head Appenders","metric":"prometheus_local_storage_memory_series","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Active Appenders","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"samples/s":"#e5a8e2"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":32},"id":26,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_head_samples_appended_total[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Samples","metric":"prometheus_local_storage_ingested_samples_total","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Samples Appended","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"Bps","label":"","logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","To persist":"#9AC48A"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":39},"id":28,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"/Max.*/","fill":0}],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_tsdb_head_chunks","format":"time_series","intervalFactor":2,"legendFormat":"Chunks","metric":"prometheus_local_storage_memory_chunks","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Chunks","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":39},"id":30,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_head_chunks_created_total[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Created","metric":"prometheus_local_storage_chunk_ops_total","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Chunks Created","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"ops","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","Removed":"#e5ac0e"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":39},"id":32,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":1,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_head_chunks_removed_total[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Removed","metric":"prometheus_local_storage_chunk_ops_total","refId":"B","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Chunks Removed","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"ops","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max":"#447ebc","Max chunks":"#052B51","Max to persist":"#3F6833","Min":"#447ebc","Now":"#7eb26d"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":46},"id":34,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"Max","fillBelowTo":"Min","lines":false}],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_tsdb_head_min_time","format":"time_series","intervalFactor":2,"legendFormat":"Min","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10},{"expr":"time() * 1000","format":"time_series","hide":false,"intervalFactor":2,"legendFormat":"Now","refId":"C"},{"expr":"prometheus_tsdb_head_max_time","format":"time_series","intervalFactor":2,"legendFormat":"Max","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"B","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head Time Range","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"decimals":null,"format":"dateTimeAsIso","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":46},"id":36,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_head_gc_duration_seconds_sum[1m])","format":"time_series","intervalFactor":2,"legendFormat":"GC Time","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Head GC Time/s","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":46},"id":38,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[{"alias":"Queue length","yaxis":2}],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_tsdb_blocks_loaded","format":"time_series","intervalFactor":2,"legendFormat":"Blocks Loaded","metric":"prometheus_local_storage_indexing_batch_sizes_sum","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Blocks Loaded","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Failed Compactions":"#bf1b00","Failed Reloads":"#bf1b00","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":53},"id":40,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_reloads_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Reloads","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"TSDB Reloads","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"ops","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Failed Compactions":"#bf1b00","Max chunks":"#052B51","Max to persist":"#3F6833","{instance=\"demo.robustperception.io:9090\",job=\"prometheus\"}":"#bf1b00"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":53},"id":44,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_wal_corruptions_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"WAL Corruptions","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10},{"expr":"rate(prometheus_tsdb_reloads_failures_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Reload Failures","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"B","step":10},{"expr":"rate(prometheus_tsdb_head_series_not_found[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Head Series Not Found","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"C","step":10},{"expr":"rate(prometheus_tsdb_compactions_failed_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Compaction Failures","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"D","step":10},{"expr":"rate(prometheus_tsdb_retention_cutoffs_failures_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Retention Cutoff Failures","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"E","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"TSDB Problems","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"none","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Failed Compactions":"#bf1b00","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":53},"id":42,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_wal_fsync_duration_seconds_sum[1m]) / rate(prometheus_tsdb_wal_fsync_duration_seconds_count[1m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Fsync Latency","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10},{"expr":"rate(prometheus_tsdb_wal_truncate_duration_seconds_sum[1m]) / rate(prometheus_tsdb_wal_truncate_duration_seconds_count[1m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Truncate Latency","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"B","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"WAL Latencies","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Failed Compactions":"#bf1b00","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":60},"id":46,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_compactions_total[10m])","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"Compactions","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Compactions","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"none","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":60},"id":48,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_compaction_duration_seconds_sum[10m])","format":"time_series","intervalFactor":2,"legendFormat":"Compaction Time","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Compaction Time","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Allocated bytes":"#F9BA8F","Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833","RSS":"#890F02"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":60},"id":50,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_retention_cutoffs_total[10m])","format":"time_series","intervalFactor":2,"legendFormat":"Retention Cutoffs","metric":"last","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Retention Cutoffs","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"none","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":67},"id":56,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_tsdb_compaction_chunk_samples_sum[10m]) / rate(prometheus_tsdb_compaction_chunk_samples_count[10m])","format":"time_series","intervalFactor":2,"legendFormat":"Chunk Samples","metric":"prometheus_local_storage_series_chunks_persisted_count","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"First Compaction, Avg Chunk Samples","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"none","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"grid":{},"gridPos":{"h":7,"w":8,"x":8,"y":67},"id":10,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_target_interval_length_seconds_count[5m])","format":"time_series","intervalFactor":2,"legendFormat":"{{ interval }}","refId":"A","step":2}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Target Scrapes","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"grid":{},"gridPos":{"h":7,"w":8,"x":16,"y":67},"id":11,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"connected","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"prometheus_target_interval_length_seconds{quantile!=\"0.01\", quantile!=\"0.05\"}","format":"time_series","intervalFactor":2,"legendFormat":"{{quantile}} ({{interval}})","refId":"A","step":2}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Scrape Duration","tooltip":{"msResolution":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","description":"","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":74},"id":62,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_http_request_duration_seconds_count[1m])","format":"time_series","intervalFactor":2,"legendFormat":"{{handler}}","metric":"prometheus_local_storage_memory_chunkdescs","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"HTTP requests","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"reqps","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","description":"","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":74},"id":64,"legend":{"alignAsTable":false,"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_http_request_duration_seconds_sum[1m]) / rate(prometheus_http_request_duration_seconds_count[1m])","format":"time_series","intervalFactor":2,"legendFormat":"{{handler}}","metric":"prometheus_local_storage_memory_chunkdescs","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"HTTP request latency","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","description":"","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":74},"id":66,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":true,"total":false,"values":false},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":true,"steppedLine":false,"targets":[{"expr":"rate(prometheus_http_request_duration_seconds_sum[1m])","format":"time_series","intervalFactor":2,"legendFormat":"{{handler}}","metric":"prometheus_local_storage_memory_chunkdescs","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Time spent in HTTP requests","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","description":"Time spent in each mode, per second","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":0,"y":81},"id":68,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":1,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":true,"steppedLine":false,"targets":[{"expr":"rate(prometheus_engine_query_duration_seconds_sum[1m])","format":"time_series","intervalFactor":2,"legendFormat":"{{slice}}","metric":"prometheus_local_storage_memory_chunkdescs","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Query engine timings","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":8,"y":81},"id":70,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":true,"steppedLine":false,"targets":[{"expr":"rate(prometheus_rule_group_iterations_missed_total[1m])  ","format":"time_series","intervalFactor":2,"legendFormat":"Rule group missed","metric":"prometheus_local_storage_memory_chunkdescs","refId":"B","step":10},{"expr":"rate(prometheus_rule_evaluation_failures_total[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Rule evals failed","metric":"prometheus_local_storage_memory_chunkdescs","refId":"C","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Rule group evaulation problems","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"Chunks":"#1F78C1","Chunks to persist":"#508642","Max chunks":"#052B51","Max to persist":"#3F6833"},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","editable":true,"error":false,"fill":1,"gridPos":{"h":7,"w":8,"x":16,"y":81},"id":72,"legend":{"alignAsTable":true,"avg":true,"current":true,"max":true,"min":true,"show":true,"total":false,"values":true},"lines":true,"linewidth":2,"links":[],"nullPointMode":"null","percentage":false,"pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"rate(prometheus_rule_group_duration_seconds_sum[1m])","format":"time_series","intervalFactor":2,"legendFormat":"Rule evaluation duration","metric":"prometheus_local_storage_memory_chunkdescs","refId":"A","step":10}],"thresholds":[],"timeFrom":null,"timeShift":null,"title":"Evaluation time of rule groups","tooltip":{"msResolution":false,"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"s","label":null,"logBase":1,"max":null,"min":"0","show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":false}],"yaxis":{"align":false,"alignLevel":null}}],"refresh":"10s","schemaVersion":12,"sharedCrosshair":true,"style":"dark","tags":["prometheus"],"templating":{"list":[]},"time":{"from":"now-15m","to":"now"},"timepicker":{"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Monitor Services","uid":"jZPRfaM7k","version":2}


created: 2021-08-08 23:13:46
data:
  {"__requires":[{"id":"grafana","name":"Grafana","type":"grafana","version":"8.1.0-pre"},{"id":"prometheus","name":"Prometheus","type":"datasource","version":"1.0.0"},{"id":"stat","name":"Stat","type":"panel","version":""},{"id":"timeseries","name":"Time series","type":"panel","version":""}],"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"editable":true,"gnetId":null,"graphTooltip":1,"id":1,"links":[{"icon":"info","tags":[],"targetBlank":true,"title":"Grafana Docs","tooltip":"","type":"link","url":"https://grafana.com/docs/grafana/latest/"},{"icon":"info","tags":[],"targetBlank":true,"title":"Prometheus Docs","type":"link","url":"http://prometheus.io/docs/introduction/overview/"}],"panels":[{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"prometheus"},"properties":[{"id":"color","value":{"fixedColor":"#C15C17","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"{instance=\"localhost:9090\",job=\"prometheus\"}"},"properties":[{"id":"color","value":{"fixedColor":"#CCA300","mode":"fixed"}}]}]},"gridPos":{"h":6,"w":6,"x":0,"y":0},"id":3,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum(irate(prometheus_tsdb_head_samples_appended_total{job=\"prometheus\"}[5m]))","format":"time_series","hide":false,"interval":"","intervalFactor":2,"legendFormat":"samples","metric":"","refId":"A","step":20}],"timeFrom":null,"timeShift":null,"title":"Samples Appended","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":6,"y":0},"id":14,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"topk(5, max(scrape_duration_seconds) by (job))","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{job}}","metric":"","refId":"A","step":20}],"timeFrom":null,"timeShift":null,"title":"Scrape Duration","type":"timeseries"},{"datasource":"Prometheus","description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":12,"y":0},"id":16,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum(process_resident_memory_bytes{job=\"prometheus\"})","format":"time_series","hide":false,"interval":"","intervalFactor":2,"legendFormat":"p8s process resident memory","refId":"D","step":20},{"expr":"process_virtual_memory_bytes{job=\"prometheus\"}","format":"time_series","hide":false,"intervalFactor":2,"legendFormat":"virtual memory","refId":"C","step":20}],"timeFrom":null,"timeShift":null,"title":"Memory Profile","type":"timeseries"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"None"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":0.1},{"color":"rgba(245, 54, 54, 0.9)","value":1}]},"unit":"none"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":18,"y":0},"id":37,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["max"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_tsdb_wal_corruptions_total{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"","refId":"A","step":60}],"title":"WAL Corruptions","type":"stat"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":0,"y":6},"id":29,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"sum(prometheus_tsdb_head_active_appenders{job=\"prometheus\"})","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"active_appenders","metric":"","refId":"A","step":20},{"expr":"sum(process_open_fds{job=\"prometheus\"})","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"open_fds","refId":"B","step":20}],"timeFrom":null,"timeShift":null,"title":"Active Appenders","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"prometheus"},"properties":[{"id":"color","value":{"fixedColor":"#F9BA8F","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"{instance=\"localhost:9090\",interval=\"5s\",job=\"prometheus\"}"},"properties":[{"id":"color","value":{"fixedColor":"#F9BA8F","mode":"fixed"}}]}]},"gridPos":{"h":6,"w":6,"x":6,"y":6},"id":2,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_tsdb_blocks_loaded{job=\"prometheus\"}","format":"time_series","intervalFactor":2,"legendFormat":"blocks","refId":"A","step":20}],"timeFrom":null,"timeShift":null,"title":"Blocks Loaded","type":"timeseries"},{"datasource":"Prometheus","description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":12,"y":6},"id":33,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_tsdb_head_chunks{job=\"prometheus\"}","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"chunks","refId":"A","step":20}],"timeFrom":null,"timeShift":null,"title":"Head Chunks","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"duration-p99"},"properties":[{"id":"unit","value":"s"}]}]},"gridPos":{"h":6,"w":6,"x":18,"y":6},"id":36,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_tsdb_head_gc_duration_seconds{job=\"prometheus\",quantile=\"0.99\"}","format":"time_series","intervalFactor":2,"legendFormat":"duration-p99","refId":"A","step":20},{"expr":"irate(prometheus_tsdb_head_gc_duration_seconds_count{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"collections","refId":"B","step":20}],"timeFrom":null,"timeShift":null,"title":"Head Block GC Activity","type":"timeseries"},{"datasource":"Prometheus","description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"duration-p99"},"properties":[{"id":"unit","value":"s"}]}]},"gridPos":{"h":6,"w":8,"x":0,"y":12},"id":20,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"histogram_quantile(0.99, sum(rate(prometheus_tsdb_compaction_duration_bucket{job=\"prometheus\"}[5m])) by (le))","format":"time_series","hide":false,"interval":"","intervalFactor":2,"legendFormat":"duration-{{p99}}","refId":"A","step":20},{"expr":"irate(prometheus_tsdb_compactions_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"compactions","refId":"B","step":20},{"expr":"irate(prometheus_tsdb_compactions_failed_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"failed","refId":"C","step":20},{"expr":"irate(prometheus_tsdb_compactions_triggered_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"triggered","refId":"D","step":20}],"timeFrom":null,"timeShift":null,"title":"Compaction Activity","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":6,"w":8,"x":8,"y":12},"id":32,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"rate(prometheus_tsdb_reloads_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"reloads","refId":"A","step":20},{"expr":"rate(prometheus_tsdb_reloads_failures_total{job=\"prometheus\"}[5m])","format":"time_series","hide":false,"intervalFactor":2,"legendFormat":"failures","refId":"B","step":20}],"timeFrom":null,"timeShift":null,"title":"Reload Count","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":6,"w":8,"x":16,"y":12},"id":38,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_engine_query_duration_seconds{job=\"prometheus\", quantile=\"0.99\"}","format":"time_series","intervalFactor":2,"legendFormat":"{{slice}}_p99","refId":"A","step":20}],"timeFrom":null,"timeShift":null,"title":"Query Durations","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":7,"w":12,"x":0,"y":18},"id":35,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"max(prometheus_rule_group_duration_seconds{job=\"prometheus\"}) by (quantile)","format":"time_series","interval":"","intervalFactor":2,"legendFormat":"{{quantile}}","refId":"A","step":10}],"timeFrom":null,"timeShift":null,"title":"Rule Group Eval Duration","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":true,"stacking":{"group":"A","mode":"normal"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":7,"w":12,"x":12,"y":18},"id":39,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"rate(prometheus_rule_group_iterations_missed_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"missed","refId":"B","step":10},{"expr":"rate(prometheus_rule_group_iterations_total{job=\"prometheus\"}[5m])","format":"time_series","intervalFactor":2,"legendFormat":"iterations","refId":"A","step":10}],"timeFrom":null,"timeShift":null,"title":"Rule Group Eval Activity","type":"timeseries"}],"refresh":"1m","revision":"1.0","schemaVersion":30,"style":"dark","tags":["prometheus"],"templating":{"list":[]},"time":{"from":"now-1h","to":"now"},"timepicker":{"now":true,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Prometheus 2.0 Stats","uid":"UDdpyzz7z","version":2}


created: 2021-08-08 23:13:46
data:
  {"__requires":[{"id":"grafana","name":"Grafana","type":"grafana","version":"8.1.0-pre"},{"id":"prometheus","name":"Prometheus","type":"datasource","version":"1.0.0"},{"id":"stat","name":"Stat","type":"panel","version":""},{"id":"text","name":"Text","type":"panel","version":""},{"id":"timeseries","name":"Time series","type":"panel","version":""}],"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"editable":true,"gnetId":null,"graphTooltip":0,"id":3,"iteration":1624859749459,"links":[{"icon":"info","tags":[],"targetBlank":true,"title":"Grafana Docs","tooltip":"","type":"link","url":"https://grafana.com/docs/grafana/latest/"},{"icon":"info","tags":[],"targetBlank":true,"title":"Prometheus Docs","type":"link","url":"http://prometheus.io/docs/introduction/overview/"}],"panels":[{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":5,"w":6,"x":0,"y":0},"id":5,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"(time() - process_start_time_seconds{job=\"prometheus\", instance=~\"$node\"})","intervalFactor":2,"refId":"A"}],"title":"Uptime","type":"stat"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"fixedColor":"rgb(31, 120, 193)","mode":"fixed"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"rgba(245, 54, 54, 0.9)","value":5}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":6,"x":6,"y":0},"id":6,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_local_storage_memory_series{instance=~\"$node\"}","intervalFactor":2,"refId":"A"}],"title":"Local Storage Memory Series","type":"stat"},{"cacheTimeout":null,"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"Empty"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":500},{"color":"rgba(245, 54, 54, 0.9)","value":4000}]},"unit":"none"},"overrides":[]},"gridPos":{"h":5,"w":6,"x":12,"y":0},"id":7,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_local_storage_indexing_queue_length{instance=~\"$node\"}","intervalFactor":2,"refId":"A"}],"title":"Internal Storage Queue Length","type":"stat"},{"datasource":null,"editable":true,"error":false,"gridPos":{"h":5,"w":6,"x":18,"y":0},"id":9,"links":[],"options":{"content":"\u003cspan style=\"font-family: 'Open Sans', 'Helvetica Neue', Helvetica; font-size: 25px;vertical-align: text-top;color: #bbbfc2;margin-left: 10px;\"\u003ePrometheus\u003c/span\u003e\n\n\u003cp style=\"margin-top: 10px;\"\u003eYou're using Prometheus, an open-source systems monitoring and alerting toolkit originally built at SoundCloud. For more information, check out the \u003ca href=\"https://grafana.com/\"\u003eGrafana\u003c/a\u003e and \u003ca href=\"http://prometheus.io/\"\u003ePrometheus\u003c/a\u003e projects.\u003c/p\u003e","mode":"html"},"pluginVersion":"8.1.0-pre","style":{},"transparent":true,"type":"text"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"prometheus"},"properties":[{"id":"color","value":{"fixedColor":"#C15C17","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"{instance=\"localhost:9090\",job=\"prometheus\"}"},"properties":[{"id":"color","value":{"fixedColor":"#C15C17","mode":"fixed"}}]}]},"gridPos":{"h":6,"w":18,"x":0,"y":5},"id":3,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"rate(prometheus_local_storage_ingested_samples_total{instance=~\"$node\"}[5m])","interval":"","intervalFactor":2,"legendFormat":"{{job}}","metric":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Samples ingested (rate-5m)","type":"timeseries"},{"datasource":null,"editable":true,"error":false,"gridPos":{"h":6,"w":4,"x":18,"y":5},"id":8,"links":[],"options":{"content":"#### Samples Ingested\nThis graph displays the count of samples ingested by the Prometheus server, as measured over the last 5 minutes, per time series in the range vector. When troubleshooting an issue on IRC or GitHub, this is often the first stat requested by the Prometheus team. ","mode":"markdown"},"pluginVersion":"8.1.0-pre","style":{},"transparent":true,"type":"text"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[{"matcher":{"id":"byName","options":"prometheus"},"properties":[{"id":"color","value":{"fixedColor":"#F9BA8F","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"{instance=\"localhost:9090\",interval=\"5s\",job=\"prometheus\"}"},"properties":[{"id":"color","value":{"fixedColor":"#F9BA8F","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":10,"x":0,"y":11},"id":2,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"rate(prometheus_target_interval_length_seconds_count{instance=~\"$node\"}[5m])","intervalFactor":2,"legendFormat":"{{job}}","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Target Scrapes (last 5m)","type":"timeseries"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":7,"w":8,"x":10,"y":11},"id":14,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_target_interval_length_seconds{quantile!=\"0.01\", quantile!=\"0.05\",instance=~\"$node\"}","interval":"","intervalFactor":2,"legendFormat":"{{quantile}} ({{interval}})","metric":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Scrape Duration","type":"timeseries"},{"datasource":null,"editable":true,"error":false,"gridPos":{"h":7,"w":6,"x":18,"y":11},"id":11,"links":[],"options":{"content":"#### Scrapes\nPrometheus scrapes metrics from instrumented jobs, either directly or via an intermediary push gateway for short-lived jobs. Target scrapes will show how frequently targets are scraped, as measured over the last 5 minutes, per time series in the range vector. Scrape Duration will show how long the scrapes are taking, with percentiles available as series. ","mode":"markdown"},"pluginVersion":"8.1.0-pre","style":{},"transparent":true,"type":"text"},{"datasource":"Prometheus","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":10,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":2,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percentunit"},"overrides":[]},"gridPos":{"h":7,"w":18,"x":0,"y":18},"id":12,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom"},"tooltip":{"mode":"single"}},"pluginVersion":"8.1.0-pre","targets":[{"expr":"prometheus_evaluator_duration_seconds{quantile!=\"0.01\", quantile!=\"0.05\",instance=~\"$node\"}","interval":"","intervalFactor":2,"legendFormat":"{{quantile}}","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Rule Eval Duration","type":"timeseries"},{"datasource":null,"editable":true,"error":false,"gridPos":{"h":7,"w":6,"x":18,"y":18},"id":15,"links":[],"options":{"content":"#### Rule Evaluation Duration\nThis graph panel plots the duration for all evaluations to execute. The 50th percentile, 90th percentile and 99th percentile are shown as three separate series to help identify outliers that may be skewing the data.","mode":"markdown"},"pluginVersion":"8.1.0-pre","style":{},"transparent":true,"type":"text"}],"refresh":false,"revision":"1.0","schemaVersion":30,"style":"dark","tags":["prometheus"],"templating":{"list":[{"allValue":null,"current":{},"datasource":"Prometheus","definition":"","description":null,"error":null,"hide":0,"includeAll":false,"label":"HOST:","multi":false,"name":"node","options":[],"query":{"query":"label_values(prometheus_build_info, instance)","refId":"gdev-prometheus-node-Variable-Query"},"refresh":1,"regex":"","skipUrlSync":false,"sort":1,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false}]},"time":{"from":"now-5m","to":"now"},"timepicker":{"now":true,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Prometheus Stats","uid":"rpfmFFz7z","version":2}


created: 2021-08-08 23:14:05
data:
  {"__requires":[{"id":"grafana","name":"Grafana","type":"grafana","version":"6.7.3"},{"id":"graph","name":"Graph","type":"panel","version":""},{"id":"prometheus","name":"Prometheus","type":"datasource","version":"1.0.0"},{"id":"stat","name":"Stat","type":"panel","version":""}],"annotations":{"list":[{"$$hashKey":"object:2075","builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"description":"Monitor Gitea server","editable":true,"gnetId":13192,"graphTooltip":0,"id":4,"links":[],"panels":[{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","fill":1,"fillGradient":5,"gridPos":{"h":6,"w":8,"x":0,"y":0},"hiddenSeries":false,"id":31,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":false,"total":false,"values":false},"lines":true,"linewidth":0,"nullPointMode":"null","options":{"dataLinks":[]},"percentage":false,"pluginVersion":"6.7.3","pointradius":2,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"process_resident_memory_bytes{job=\"gitea\"}","interval":"","legendFormat":"","refId":"A"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Resident memory","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"transparent":true,"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","fill":1,"fillGradient":5,"gridPos":{"h":6,"w":8,"x":8,"y":0},"hiddenSeries":false,"id":32,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":false,"total":false,"values":false},"lines":true,"linewidth":0,"nullPointMode":"null","options":{"dataLinks":[]},"percentage":false,"pluginVersion":"6.7.3","pointradius":2,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"process_cpu_seconds_total{job=\"gitea\"}","instant":false,"interval":"","legendFormat":"","refId":"A"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"CPU time","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"transparent":true,"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{},"bars":false,"dashLength":10,"dashes":false,"datasource":"Prometheus","fill":1,"fillGradient":5,"gridPos":{"h":6,"w":8,"x":16,"y":0},"hiddenSeries":false,"id":33,"legend":{"avg":false,"current":false,"max":false,"min":false,"show":false,"total":false,"values":false},"lines":true,"linewidth":0,"nullPointMode":"null","options":{"dataLinks":[]},"percentage":false,"pluginVersion":"6.7.3","pointradius":2,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"expr":"process_open_fds{job=\"gitea\"}","format":"time_series","instant":false,"interval":"","intervalFactor":1,"legendFormat":"","refId":"A"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Open FDS","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"transparent":true,"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true},{"format":"short","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"datasource":"Prometheus","gridPos":{"h":4,"w":6,"x":0,"y":6},"id":2,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-blue","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_accesses","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Accesses","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":6,"x":6,"y":6},"id":18,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-blue","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_repositories","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Repositories","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":6,"x":12,"y":6},"id":24,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-blue","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_users","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Users","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":6,"x":18,"y":6},"id":5,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-blue","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_issues","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Issues","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":0,"y":10},"id":11,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_actions","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Actions","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":4,"y":10},"id":10,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_labels","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Labels","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":8,"y":10},"id":21,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_organizations","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Organizations","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":12,"y":10},"id":16,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_teams","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Teams","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":16,"y":10},"id":8,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_follows","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Follows","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":20,"y":10},"id":20,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-yellow","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_publickeys","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of PublicKeys","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":0,"y":14},"id":17,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_stars","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Stars","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":4,"y":14},"id":14,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_webhooks","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Webhooks","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":8,"y":14},"id":19,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_releases","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Releases","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":12,"y":14},"id":7,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_comments","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Comments","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":16,"y":14},"id":3,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_milestones","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Milestones","type":"stat"},{"datasource":"Prometheus","gridPos":{"h":4,"w":4,"x":20,"y":14},"id":25,"options":{"colorMode":"value","fieldOptions":{"calcs":["lastNotNull"],"defaults":{"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"dark-purple","value":null}]}},"overrides":[],"values":false},"graphMode":"none","justifyMode":"center","orientation":"auto"},"pluginVersion":"6.7.3","targets":[{"expr":"gitea_watches","interval":"","legendFormat":"","refId":"A"}],"timeFrom":null,"timeShift":null,"title":"Number of Watches","type":"stat"}],"refresh":"1m","schemaVersion":22,"style":"dark","tags":[],"templating":{"list":[]},"time":{"from":"now-1h","to":"now"},"timepicker":{"refresh_intervals":["30s","1m","5m","15m","30m","1h","2h","1d"]},"timezone":"browser","title":"Gitea","uid":"vMzkv-Gnk","variables":{"list":[]},"version":2}


created: 2021-08-08 23:19:01
data:
  {"annotations":{"list":[{"builtIn":1,"datasource":"-- Grafana --","enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Monitor FRITZ!Box routers.","editable":true,"gnetId":713,"graphTooltip":2,"id":10,"links":[],"panels":[{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"#1f78c1","value":1}]},"unit":"none"},"overrides":[]},"id":10,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"constatus"}],"target":""}],"title":"Connection Status","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"#1f78c1","value":1}]},"unit":"none"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":6,"y":0},"id":9,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"dslstatus"}],"target":""}],"title":"DSL Link Status","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"id":0,"op":"=","text":"N/A","type":1,"value":"null"}],"max":50000000,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":25000000},{"color":"red","value":36000000}]},"unit":"bps"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":12,"y":0},"id":11,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"receiverate"}],"target":""}],"title":"Current Download","type":"gauge"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"id":0,"op":"=","text":"N/A","type":1,"value":"null"}],"max":30000000,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"blue","value":null},{"color":"green","value":2000000},{"color":"rgba(237, 129, 40, 0.89)","value":10000000},{"color":"#e24d42","value":20000000}]},"unit":"bps"},"overrides":[]},"gridPos":{"h":6,"w":6,"x":18,"y":0},"id":12,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"text":{}},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"sendrate"}],"target":""}],"title":"Current Upload","type":"gauge"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"rgba(50, 172, 45, 0.97)","value":1}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":0,"y":3},"id":13,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"uptime"}],"target":""}],"title":"Uptime","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"0":{"text":"Disconnected"},"1":{"text":"Connected"}},"type":"value"},{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"rgba(245, 54, 54, 0.9)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":1},{"color":"rgba(50, 172, 45, 0.97)","value":1}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":6,"y":3},"id":21,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[{"params":["$__interval"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type","operator":"=","value":"uptime"}],"target":""}],"title":"Uptime","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"rgb(31, 120, 193)","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":0,"y":6},"id":3,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($__interval)","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"title":"Total Download","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"#e24d42","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":6,"y":6},"id":8,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval)","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":""}],"title":"Total Upload","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"rgb(31, 120, 193)","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":12,"y":6},"hideTimeOverride":false,"id":22,"interval":"","links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(max(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"timeFrom":"1d","timeShift":null,"title":"Last 24h Download","type":"stat"},{"cacheTimeout":null,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"fixedColor":"#e24d42","mode":"fixed"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"decbytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":18,"y":6},"id":16,"interval":null,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["sum"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"8.1.0","targets":[{"dsType":"influxdb","groupBy":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":false,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"non_negative_difference"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":""}],"timeFrom":"1d","title":"Last 24h Upload","type":"stat"},{"aliasColors":{"Download":"#1f78c1","Upload":"#e24d42","fritzbox_value.non_negative_derivative":"#ba43a9","fritzbox_value.non_negative_difference":"#e24d42"},"bars":true,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":1,"fillGradient":0,"gridPos":{"h":7,"w":12,"x":0,"y":10},"hiddenSeries":false,"id":2,"interval":"10s","legend":{"alignAsTable":false,"avg":false,"current":false,"hideEmpty":false,"hideZero":false,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":false},"lines":false,"linewidth":1,"links":[],"nullPointMode":"null","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"alias":"Download","dsType":"influxdb","groupBy":[{"params":["24h"],"type":"time"}],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter\n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"F","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""},{"alias":"Upload","dsType":"influxdb","groupBy":[{"params":["24h"],"type":"time"}],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter \n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Daily Traffic","tooltip":{"shared":true,"sort":0,"value_type":"individual"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"decimals":0,"format":"decbytes","label":"","logBase":1,"max":null,"min":null,"show":true},{"format":"decbytes","label":null,"logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null}},{"aliasColors":{"download":"#1F78C1","upload":"#EA6460"},"annotate":{"enable":false},"bars":true,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","editable":true,"fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":0,"fillGradient":0,"grid":{},"gridPos":{"h":7,"w":12,"x":12,"y":10},"hiddenSeries":false,"id":17,"interval":"1h","legend":{"avg":false,"current":true,"max":false,"min":false,"show":true,"total":false,"values":true},"lines":false,"linewidth":1,"links":[],"nullPointMode":"null","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","resolution":100,"scale":1,"seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":true,"targets":[{"alias":"download","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(\"value\") FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter GROUP BY time($interval) fill(null)","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":"alias(summarize(nonNegativeDerivative(collectd.squirrel.fritzbox.bytes-totalbytesreceived, 0), '1h', 'sum'), 'download')"},{"alias":"upload","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"fill":"null","groupBy":[{"params":["$interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"hide":false,"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(last(\"value\"))) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter GROUP BY time($__interval)\n) WHERE $timeFilter GROUP BY time($__interval) tz('Europe/Berlin')","rawQuery":true,"refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytessent"}],"target":"alias(summarize(nonNegativeDerivative(collectd.squirrel.fritzbox.bytes-totalbytessent,0),'1h','sum'),'upload')"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Current Traffic","tooltip":{"msResolution":false,"query_as_alias":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"format":"decbytes","logBase":1,"max":null,"min":0,"show":true},{"format":"short","logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null},"zerofill":true},{"columns":[],"datasource":"InfluxDB-QL","fontSize":"100%","gridPos":{"h":8,"w":12,"x":0,"y":17},"id":14,"links":[],"pageSize":null,"scroll":true,"showHeader":true,"sort":{"col":0,"desc":true},"styles":[{"alias":"Time","align":"auto","dateFormat":"MMMM D, YYYY LT","pattern":"Time","type":"date"},{"alias":"","align":"auto","colorMode":null,"colors":["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"decimals":2,"pattern":"/.*/","thresholds":[],"type":"number","unit":"decbytes"}],"targets":[{"alias":"Download","dsType":"influxdb","groupBy":[{"params":["1d"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter \n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""},{"alias":"Upload","dsType":"influxdb","groupBy":[{"params":["1d"],"type":"time"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter\n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')","rawQuery":true,"refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"max"},{"params":["10s"],"type":"non_negative_derivative"}]],"tags":[{"key":"type_instance","operator":"=","value":"totalbytesreceived"}],"target":""}],"title":"Daily Traffic","transform":"timeseries_to_columns","type":"table-old"},{"aliasColors":{"downstream":"#1F78C1","downstream max":"#0A437C","upstream":"#EA6460","upstream max":"#890F02"},"annotate":{"enable":false},"bars":false,"dashLength":10,"dashes":false,"datasource":"InfluxDB-QL","editable":true,"fieldConfig":{"defaults":{"links":[]},"overrides":[]},"fill":1,"fillGradient":0,"grid":{},"gridPos":{"h":8,"w":12,"x":12,"y":17},"hiddenSeries":false,"id":18,"legend":{"alignAsTable":false,"avg":false,"current":true,"max":false,"min":false,"rightSide":false,"show":true,"total":false,"values":true},"lines":true,"linewidth":1,"links":[],"nullPointMode":"connected","options":{"alertThreshold":true},"percentage":false,"pluginVersion":"8.1.0","pointradius":5,"points":false,"renderer":"flot","resolution":100,"scale":1,"seriesOverrides":[],"spaceLength":10,"stack":false,"steppedLine":false,"targets":[{"alias":"downstream","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'receiverate' AND $timeFilter GROUP BY time($interval)","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"receiverate"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-receiverate,'downstream')"},{"alias":"downstream max","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'downstreammax' AND $timeFilter GROUP BY time($interval)","refId":"B","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"downstreammax"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-downstreammax,'downstream max')"},{"alias":"upstream","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'sendrate' AND $timeFilter GROUP BY time($interval)","refId":"C","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"sendrate"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-sendrate,'upstream')"},{"alias":"upstream max","dsType":"influxdb","fields":[{"func":"mean","name":"value"}],"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["null"],"type":"fill"}],"groupByTags":[],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","query":"SELECT mean(value) FROM \"fritzbox_value\" WHERE \"type_instance\" = 'upstreammax' AND $timeFilter GROUP BY time($interval)","refId":"D","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"mean"}]],"tags":[{"key":"type_instance","operator":"=","value":"upstreammax"}],"target":"alias(collectd.squirrel.fritzbox.bitrate-upstreammax,'upstream max')"}],"thresholds":[],"timeFrom":null,"timeRegions":[],"timeShift":null,"title":"Bandwidth","tooltip":{"msResolution":false,"query_as_alias":true,"shared":true,"sort":0,"value_type":"cumulative"},"type":"graph","xaxis":{"buckets":null,"mode":"time","name":null,"show":true,"values":[]},"yaxes":[{"$$hashKey":"object:255","decimals":null,"format":"bps","label":"","logBase":1,"max":null,"min":"0","show":true},{"$$hashKey":"object:256","format":"short","logBase":1,"max":null,"min":null,"show":true}],"yaxis":{"align":false,"alignLevel":null},"zerofill":true},{"datasource":"InfluxDB-QL","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"fillOpacity":70,"lineWidth":1},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[]},"gridPos":{"h":8,"w":12,"x":5,"y":25},"id":24,"options":{"colWidth":0.9,"legend":{"displayMode":"hidden","placement":"bottom"},"rowHeight":0.9,"showValue":"auto","tooltip":{"mode":"single"}},"pluginVersion":"8.1.0","targets":[{"groupBy":[{"params":["$__interval"],"type":"time"},{"params":["none"],"type":"fill"}],"measurement":"fritzbox_value","orderByTime":"ASC","policy":"default","refId":"A","resultFormat":"time_series","select":[[{"params":["value"],"type":"field"},{"params":[],"type":"last"}]],"tags":[{"key":"type_instance","operator":"=","value":"dslstatus"}]}],"title":"DSL Status History","type":"status-history"}],"refresh":"1m","schemaVersion":30,"style":"dark","tags":[],"templating":{"list":[]},"time":{"from":"now-7d","to":"now"},"timepicker":{"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"","title":"FRITZ!Box Influx-QL","uid":"EfrhGEM7z","version":5}


