INSERT INTO public.tenant_info (id, name, in_used, created_date, modified_date, contract_id) VALUES ('DEFAULT_TENANT', 'admin', true, now(), now(), 0);

INSERT INTO public.auth_resource2 (id, access_type, name, parent_id, type) VALUES (-1, 4, 'null', NULL,                                                           'null');

INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Infrastructure',        -1 , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Workloads',             -1 , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Services',              -1 , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Diagnosis',             -1 , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Statistics & Analysis', -1 , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Reports',                -1 , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Settings',              -1 , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Hosts',                 -1,  'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Dashboards',             -1 , 'menu');
--INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Health Check',           -1, 'menu');

INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Topology',              (select id from auth_resource2 where type='menu' and name='Infrastructure')  , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Overview',              (select id from auth_resource2 where type='menu' and name='Infrastructure')  , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Namespace',             (select id from auth_resource2 where type='menu' and name='Infrastructure')  , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Nodes',                 (select id from auth_resource2 where type='menu' and name='Infrastructure')  , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Node Details',           (select id from auth_resource2 where type='menu' and name='Infrastructure') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Resource Usage',        (select id from auth_resource2 where type='menu' and name='Infrastructure') , 'menu');
-- INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Persistent Volume',     (select id from auth_resource2 where type='menu' and name='Infrastructure') , 'menu');

INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Overview',              (select id from auth_resource2 where type='menu' and name='Workloads') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Pods',                  (select id from auth_resource2 where type='menu' and name='Workloads') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Jobs',                  (select id from auth_resource2 where type='menu' and name='Workloads') , 'menu');
-- INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Cron Jobs',             (select id from auth_resource2 where type='menu' and name='Workloads') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Deploy List',            (select id from auth_resource2 where type='menu' and name='Workloads'), 'menu');

INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Topology',              (select id from auth_resource2 where type='menu' and name='Services') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Structure',             (select id from auth_resource2 where type='menu' and name='Services') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Overview',              (select id from auth_resource2 where type='menu' and name='Services'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Detail',                (select id from auth_resource2 where type='menu' and name='Services'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'List',                  (select id from auth_resource2 where type='menu' and name='Services'), 'menu');

INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Anomaly Score',         (select id from auth_resource2 where type='menu' and name='Diagnosis'), 'menu');
-- INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Troubleshooting',       (select id from auth_resource2 where type='menu' and name='Diagnosis') , 'menu');

INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Performance Trends',     (select id from auth_resource2 where type='menu' and name='Statistics & Analysis'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Alert History',         (select id from auth_resource2 where type='menu' and name='Statistics & Analysis'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Anomaly Score',         (select id from auth_resource2 where type='menu' and name='Statistics & Analysis'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Job History',           (select id from auth_resource2 where type='menu' and name='Statistics & Analysis'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Log Viewer',            (select id from auth_resource2 where type='menu' and name='Statistics & Analysis'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Sparse Logs',            (select id from auth_resource2 where type='menu' and name='Statistics & Analysis'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Event Logs',             (select id from auth_resource2 where type='menu' and name='Statistics & Analysis') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Alert Analysis',        (select id from auth_resource2 where type='menu' and name='Statistics & Analysis') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Container Life Cycle',   (select id from auth_resource2 where type='menu' and name='Statistics & Analysis'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Service Traces',          (select id from auth_resource2 where type='menu' and name='Statistics & Analysis'), 'menu');
-- INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Resource Used Trends',   (select id from auth_resource2 where type='menu' and name='Statistics & Analysis'), 'menu');

INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Documents',              (select id from auth_resource2 where type='menu' and name='Reports'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Templates',              (select id from auth_resource2 where type='menu' and name='Reports'), 'menu');

INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'User & Group',          (select id from auth_resource2 where type='menu' and name='Settings') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Alerts',                 (select id from auth_resource2 where type='menu' and name='Settings') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Sparse Logs',            (select id from auth_resource2 where type='menu' and name='Settings') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'General',               (select id from auth_resource2 where type='menu' and name='Settings') , 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Metric Meta',           (select id from auth_resource2 where type='menu' and name='Settings'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Notification',          (select id from auth_resource2 where type='menu' and name='Settings'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Host Alerts',            (select id from auth_resource2 where type='menu' and name='Settings'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'License',               (select id from auth_resource2 where type='menu' and name='Settings'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Agent',                 (select id from auth_resource2 where type='menu' and name='Settings'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Alias',                 (select id from auth_resource2 where type='menu' and name='Settings'), 'menu');

INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'My List',              (select id from auth_resource2 where type='menu' and name='Dashboards'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Shared List',              (select id from auth_resource2 where type='menu' and name='Dashboards'), 'menu');

INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Topology',              (select id from auth_resource2 where type='menu' and name='Hosts'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Overview',              (select id from auth_resource2 where type='menu' and name='Hosts'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'List',                  (select id from auth_resource2 where type='menu' and name='Hosts'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Detail',                (select id from auth_resource2 where type='menu' and name='Hosts'), 'menu');
INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Group',                 (select id from auth_resource2 where type='menu' and name='Hosts'), 'menu');

--INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'CloudMOA - Nodes Resource', NULL, 'dashboard');
--INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Service Detail', NULL, 'dashboard');
--INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES (4, 'Postgres', NULL, 'dashboard');
--INSERT INTO public.auth_resource2 (access_type, name, parent_id, type) VALUES(4, 'Check Script',            (select id from auth_resource2 where type='menu' and name='Health Check'), 'menu');

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Infrastructure', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Workloads', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Services', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Diagnosis', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Reports', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Hosts', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Dashboards', false, null);
--INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Health Check', false, null);

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Infrastructure|Topology', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Infrastructure|Overview', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Infrastructure|Namespace', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Infrastructure|Nodes', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Infrastructure|Node Details', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Infrastructure|Resource Usage', false, null);

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Workloads|Overview', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Workloads|Pods', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Workloads|Jobs', false, null);
-- NSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Workloads|Cron Jobs', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Workloads|Deploy List', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Workloads|Deploy List|List', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Workloads|Deploy List|Scale', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Workloads|Deploy List|Yaml', false, null);

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Services|Topology', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Services|Structure', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Services|Overview', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Services|Detail', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Services|List', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Services|Active Transaction', false, null);

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Diagnosis|Anomaly Score', false, null);

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Performance Trends', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Alert History', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Anomaly Score', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Job History', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Log Viewer', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Sparse Logs', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Event Logs', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Alert Analysis', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Container Life Cycle', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Service Traces', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Log Viewer|Node', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Statistics & Analysis|Log Viewer|Pod', false, null);

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Reports|Documents', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Reports|Templates', false, null);

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|User & Group', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|Alerts', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|Sparse Logs', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|General', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|Metric Meta', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|Notification', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|Host Alerts', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|License', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|Agent', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|Alias', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|Agent Installation', false, NULL);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|Sparse Logs|Node', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Settings|Sparse Logs|Container', false, null);

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Dashboards|My List', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Dashboards|Shared List', false, null);

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Hosts|Topology', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Hosts|Overview', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Hosts|List', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Hosts|Detail', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Hosts|Group', false, null);

--INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('menu|Health Check|Check Script', false, null);

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('user|admin', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('userGroup|admin|default', false, null);

--INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('user|admin|owner', false, 'DEFAULT_TENANT');

INSERT INTO public.cloud_user (user_id, email, is_admin, phone, user_nm, user_pw, created_date, modified_date, company, department, last_log_in_date, "position", use_ldap, auth_method, log_in_count, user_lock, user_lock_date, tenant_id, is_tenant_owner, auth_resource_id) VALUES ('admin', NULL, true, NULL, 'admin', '$2a$10$a0XPdet9RCL8uF8ZVZ2Yzu4y0po5RWCesyB0e03MhrTIfG.0Y6xfS',now() , now() , NULL , NULL , NULL , NULL, false, 'default', 0, false, null, 'DEFAULT_TENANT', true, (select id from auth_resource3 where name='user|admin'));
INSERT INTO public.cloud_group (id, created_date, modified_date, name, description) VALUES ((select id from auth_resource3 where name='userGroup|admin|default'), now(), now(), 'default', '기본그룹정의');

--INSERT INTO public.cloud_user (user_id, email, is_admin, phone, user_nm, user_pw, created_date, modified_date, company, department, last_log_in_date, "position", use_ldap, auth_method, log_in_count, user_lock, user_lock_date, tenant_id, is_tenant_owner, auth_resource_id) VALUES ('owner', NULL, false, NULL, 'owner', '$2a$10$a0XPdet9RCL8uF8ZVZ2Yzu4y0po5RWCesyB0e03MhrTIfG.0Y6xfS',now() , now() , NULL , NULL , NULL , NULL, false, 'default', 0, false, null, 'DEFAULT_TENANT', true, (select id from auth_resource3 where name='user|admin|owner'));

INSERT INTO public.cloud_user_setting
(user_id, lang, theme, access_token, refresh_token, error_msg, alert_sound, session_persistence, gpu_acc_topology, created_date, modified_date)
VALUES('admin', null, null, null, null, false, false, true, true, now(), null);

--INSERT INTO public.cloud_user_setting
--(user_id, lang, theme, access_token, refresh_token, error_msg, alert_sound, session_persistence, gpu_acc_topology, created_date, modified_date)
--VALUES('owner', null, null, null, null, false, false, true, true, now(), null);

-- Dashboard 추가 (Nodes Resource , Service Detail , Postgres , Redis , Traefik , MySQL / MariaDB , Nginx-Ingress)
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('dashboard|admin|Nodes Resource', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('dashboard|admin|Service Detail', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('dashboard|admin|Postgres', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('dashboard|admin|Redis', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('dashboard|admin|Traefik', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('dashboard|admin|MySQL / MariaDB', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('dashboard|admin|Nginx-Ingress', false, null);
INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('dashboard|admin|Nginx', false, null);

INSERT INTO public.auth_resource3 (name, is_deleted, tenant_id) VALUES ('cluster|cloudmoa', false, 'DEFAULT_TENANT');

INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (0, 'Infrastructure', '01.Infrastructure', 0, NULL, (select id from auth_resource3 where name='menu|Infrastructure'), 3);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (1, 'Topology', NULL, 0, 'topologyInfra', (select id from auth_resource3 where name='menu|Infrastructure|Topology'), 3);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (2, 'Overview', NULL, 1, 'overViewInfra', (select id from auth_resource3 where name='menu|Infrastructure|Overview'), 3);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (3, 'Resource Usage', NULL, 2, 'resourceUsageInfra', (select id from auth_resource3 where name='menu|Infrastructure|Resource Usage'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (4, 'Namespace', NULL, 3, 'namespaceInfra', (select id from auth_resource3 where name='menu|Infrastructure|Namespace'), 3);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (5, 'Nodes', NULL, 4, 'nodesInfra', (select id from auth_resource3 where name='menu|Infrastructure|Nodes'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (6, 'Node Details', NULL, 5, 'nodeDetailInfra', (select id from auth_resource3 where name='menu|Infrastructure|Node Details'), 3);

INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (10, 'Workloads', '02.Workload', 1, NULL, (select id from auth_resource3 where name='menu|Workloads'), 3);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (11, 'Overview', NULL, 0, 'overviewWorkloads', (select id from auth_resource3 where name='menu|Workloads|Overview'), 3);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (12, 'deployList', NULL, 1, 'deployListWorkloads', (select id from auth_resource3 where name='menu|Workloads|Deploy List'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (13, 'deployList(List)', NULL, 2, '', (select id from auth_resource3 where name='menu|Workloads|Deploy List|List'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (14, 'deployList(Scale)', NULL, 3, '', (select id from auth_resource3 where name='menu|Workloads|Deploy List|Scale'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (15, 'deployList(Yaml)', NULL, 4, '', (select id from auth_resource3 where name='menu|Workloads|Deploy List|Yaml'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (17, 'Jobs', NULL, 6, 'jobsWorkloads', (select id from auth_resource3 where name='menu|Workloads|Jobs'), 2);
-- INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (18, 'Cron Jobs', NULL, 7, 'cronJobsWorkloads', (select id from auth_resource3 where name='menu|Workloads|Cron Jobs'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (19, 'Pods', NULL, 8, 'podsWorkloads', (select id from auth_resource3 where name='menu|Workloads|Pods'), 3);

INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (20, 'Services', '03.Service', 2, NULL, (select id from auth_resource3 where name='menu|Services'), 3);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (21, 'DataCenter Service', NULL, 0, 'topologyServices', (select id from auth_resource3 where name='menu|Services|Topology'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (22, 'ServiceOverview', NULL, 1, 'overviewServices', (select id from auth_resource3 where name='menu|Services|Overview'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (23, 'Cluster Service', NULL, 2, 'detailServices', (select id from auth_resource3 where name='menu|Services|Structure'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (24, 'List', NULL, 3, 'serviceList', (select id from auth_resource3 where name='menu|Services|List'), 3);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (25, 'Detail', NULL, 4, 'slasServices', (select id from auth_resource3 where name='menu|Services|Detail'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (26, 'Active Transaction', NULL, 5, 'overviewServiceJSPD', (select id from auth_resource3 where name='menu|Services|Active Transaction'), 2);

INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (30, 'Diagnosis', '05.Diagnosis', 4, NULL, (select id from auth_resource3 where name='menu|Diagnosis'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (31, 'Anomaly Score Detail', NULL, 0, 'anomalyScoreDiagnosis', (select id from auth_resource3 where name='menu|Diagnosis|Anomaly Score'), 0);

INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (40, 'Statistics & Analysis', '06.Statistics&Analysis', 5, NULL, (select id from auth_resource3 where name='menu|Statistics & Analysis'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (41, 'Performance Trends', NULL, 0, 'performanceTrendSA', (select id from auth_resource3 where name='menu|Statistics & Analysis|Performance Trends'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (42, 'Alert Analysis', NULL, 2, 'alertAnalysisSA', (select id from auth_resource3 where name='menu|Statistics & Analysis|Alert Analysis'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (43, 'Alert History', NULL, 3, 'alertHistorySA', (select id from auth_resource3 where name='menu|Statistics & Analysis|Alert History'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (44, 'Anomaly Score Analysis', NULL, 4, 'anomalyScoreSA', (select id from auth_resource3 where name='menu|Statistics & Analysis|Anomaly Score'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (45, 'Job History', NULL, 5, 'jobHistorySA', (select id from auth_resource3 where name='menu|Statistics & Analysis|Job History'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (46, 'Sparse Log Analysis', NULL, 6, 'sparseLogSA', (select id from auth_resource3 where name='menu|Statistics & Analysis|Sparse Logs'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (47, 'Log Viewer', NULL, 7, 'logViewerSA', (select id from auth_resource3 where name='menu|Statistics & Analysis|Log Viewer'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (48, 'eventLog Analysis', NULL, 8, 'eventLogSA', (select id from auth_resource3 where name='menu|Statistics & Analysis|Event Logs'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (49, 'Container Life Cycle', NULL, 9, 'containerLifecycleSA', (select id from auth_resource3 where name='menu|Statistics & Analysis|Container Life Cycle'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (50, 'Service Trace Analysis', NULL, 10, 'serviceTraceSA', (select id from auth_resource3 where name='menu|Statistics & Analysis|Service Traces'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (51, 'Log Viewer(Node)', NULL, 11, '', (select id from auth_resource3 where name='menu|Statistics & Analysis|Log Viewer|Node'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (52, 'Log Viewer(Pod)', NULL, 12, '', (select id from auth_resource3 where name='menu|Statistics & Analysis|Log Viewer|Pod'), 0);

INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (60, 'Reports', '07.Report', 6, NULL, (select id from auth_resource3 where name='menu|Reports'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (61, 'Documents', NULL, 0, 'documentReport', (select id from auth_resource3 where name='menu|Reports|Documents'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (62, 'Templates', NULL, 1, 'templateReport', (select id from auth_resource3 where name='menu|Reports|Templates'), 2);

INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (65, 'Dashboards', '10.Dashboard', 7, NULL, (select id from auth_resource3 where name='menu|Dashboards'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (66, 'My List', NULL, 0, 'documentDashboard', (select id from auth_resource3 where name='menu|Dashboards|My List'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (67, 'Shared List', NULL, 1, 'templateDashboard', (select id from auth_resource3 where name='menu|Dashboards|Shared List'), 2);


INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (80, 'Hosts', '12.Hosts', 10, NULL, (select id from auth_resource3 where name='menu|Hosts'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (81, 'Topology', null, 0, 'topologyHost', (select id from auth_resource3 where name='menu|Hosts|Topology'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (82, 'Overview', NULL, 1, 'overviewHost', (select id from auth_resource3 where name='menu|Hosts|Overview'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (83, 'List', NULL, 2, 'listHost', (select id from auth_resource3 where name='menu|Hosts|List'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (84, 'Detail', NULL, 3, 'detailHost', (select id from auth_resource3 where name='menu|Hosts|Detail'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (85, 'Group', NULL, 4, 'groupHost', (select id from auth_resource3 where name='menu|Hosts|Group'), 0);

INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (90, 'Settings', '08.Setting', 99, NULL, (select id from auth_resource3 where name='menu|Settings'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (91, 'User', NULL, 0, 'userGroupSettings', (select id from auth_resource3 where name='menu|Settings|User & Group'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (92, 'Alerts', NULL, 1, 'alertSettings', (select id from auth_resource3 where name='menu|Settings|Alerts'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (93, 'Host Alerts', NULL, 2, 'hostAlertSettings', (select id from auth_resource3 where name='menu|Settings|Host Alerts'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (94, 'Sparse Logs', NULL, 3, 'sparseLogSettings', (select id from auth_resource3 where name='menu|Settings|Sparse Logs'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (96, 'Metric Meta', NULL, 5, 'metricMetaSettings', (select id from auth_resource3 where name='menu|Settings|Metric Meta'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (97, 'Appearance', NULL, 6, 'appearanceSettings', (select id from auth_resource3 where name='menu|Settings|General'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (98, 'Notification', NULL, 7, 'notificationsSettings', (select id from auth_resource3 where name='menu|Settings|Notification'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (99, 'Agent', NULL, 8, 'agentSettings', (select id from auth_resource3 where name='menu|Settings|Agent'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (100, 'Alias', NULL, 9, 'aliasSettings', (select id from auth_resource3 where name='menu|Settings|Alias'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (101, 'License', NULL, 10, 'validationLicense', (select id from auth_resource3 where name='menu|Settings|License'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (102, 'agent Installation', NULL, 11, 'agentInstallationSettings', (select id from auth_resource3 where name='menu|Settings|Agent Installation'), 2);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (103, 'Sparse Logs(Node)', NULL, 12, '', (select id from auth_resource3 where name='menu|Settings|Sparse Logs|Node'), 0);
INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (104, 'Sparse Logs(Container)', NULL, 13, '', (select id from auth_resource3 where name='menu|Settings|Sparse Logs|Container'), 0);

-- INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (121, 'Health Check', '09.HealthCheck', 9, 'healthCHeck', (select id from auth_resource3 where name='menu|Health Check'), 0);
-- INSERT INTO public.menu_meta (id, description, icon, "position", url, auth_resource3_id, scope_level) VALUES (122, 'Check Script', NULL, 0, 'checkScript', (select id from auth_resource3 where name='menu|Health Check|Check Script'), 0);

--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Infrastructure'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Infrastructure|Topology'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Infrastructure|Overview'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Infrastructure|Resource Usage'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Infrastructure|Namespace'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Infrastructure|Nodes'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Infrastructure|Node Details'), 'owner');
--
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Workloads'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Workloads|Overview'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Workloads|Deploy List'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Workloads|Jobs'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Workloads|Cron Jobs'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Workloads|Pods'), 'owner');
--
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Services'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Services|Topology'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Services|Overview'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Services|Structure'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Services|List'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Services|Detail'), 'owner');
--
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Diagnosis'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Diagnosis|Anomaly Score'), 'owner');
--
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Statistics & Analysis'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Statistics & Analysis|Performance Trends'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Statistics & Analysis|Alert Analysis'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Statistics & Analysis|Alert History'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Statistics & Analysis|Anomaly Score'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Statistics & Analysis|Job History'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Statistics & Analysis|Sparse Logs'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Statistics & Analysis|Log Viewer'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Statistics & Analysis|Event Logs'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Statistics & Analysis|Container Life Cycle'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Statistics & Analysis|Service Traces'), 'owner');
--
--
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Reports'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Reports|Documents'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Reports|Templates'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Dashboards'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Dashboards|My List'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Dashboards|Shared List'), 'owner');
--
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Settings'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Settings|User & Group'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Settings|Alerts'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Settings|Sparse Logs'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Settings|Metric Meta'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Settings|General'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Settings|Notification'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Settings|Agent'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Settings|Alias'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Settings|License'), 'owner');
--INSERT INTO public.user_permission2 VALUES (nextval('hibernate_sequence'), now(), now(), false, 4, (SELECT id FROM auth_resource3 WHERE NAME = 'menu|Settings|Agent Installation'), 'owner');

INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cadvisor_version_info', 'cadvisor', 'A metric with a constant ''1'' value labeled by kernel version, OS version, docker version, cadvisor version & cadvisor revision.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_cpu_cfs_periods_total', 'cadvisor', 'Number of elapsed enforcement period intervals.', 'CPU', 'LOAD', 'Container', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_cpu_cfs_throttled_periods_total', 'cadvisor', 'Number of throttled period intervals.', 'CPU', 'LOAD', 'Container', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_cpu_cfs_throttled_seconds_total', 'cadvisor', 'Total time duration the container has been throttled.', 'CPU', 'LOAD', 'Container', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_cpu_load_average_10s', 'cadvisor', 'Value of container cpu load average over the last 10 seconds.', 'CPU', 'LOAD', 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_cpu_schedstat_run_periods_total', 'cadvisor', 'Number of times processes of the cgroup have run on the cpu', 'CPU', 'LOAD', 'Container', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_cpu_schedstat_run_seconds_total', 'cadvisor', 'Time duration the processes of the container have run on the CPU.', 'CPU', 'LOAD', 'Container', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_cpu_schedstat_runqueue_seconds_total', 'cadvisor', 'Time duration processes of the container have been waiting on a runqueue.', 'CPU', 'LOAD', 'Container', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_cpu_system_seconds_total', 'cadvisor', 'Cumulative system cpu time consumed in seconds.', 'CPU', 'LOAD', 'Container', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_cpu_usage_seconds_total', 'cadvisor', 'Cumulative cpu time consumed in seconds.', 'CPU', 'LOAD', 'Container', 'counter', 'cpu', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_cpu_user_seconds_total', 'cadvisor', 'Cumulative user cpu time consumed in seconds.', 'CPU', 'LOAD', 'Container', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_limit_bytes', 'cadvisor', 'Number of bytes that can be consumed by the container on this filesystem.', NULL, NULL, 'Container', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_last_seen', 'cadvisor', 'Last time a container was seen by the exporter', NULL, NULL, 'Container', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_network_receive_bytes_total', 'cadvisor', 'Cumulative count of bytes received', 'NIC', 'LOAD', 'Container', 'counter', 'interface', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_network_receive_packets_dropped_total', 'cadvisor', 'Cumulative count of packets dropped while receiving', 'NIC', 'LOAD', 'Container', 'counter', 'interface', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_network_receive_packets_total', 'cadvisor', 'Cumulative count of packets received', 'NIC', 'LOAD', 'Container', 'counter', 'interface', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_network_transmit_bytes_total', 'cadvisor', 'Cumulative count of bytes transmitted', 'NIC', 'LOAD', 'Container', 'counter', 'interface', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_network_transmit_errors_total', 'cadvisor', 'Cumulative count of errors encountered while transmitting', 'NIC', 'LOAD', 'Container', 'counter', 'interface', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_network_transmit_packets_dropped_total', 'cadvisor', 'Cumulative count of packets dropped while transmitting', 'NIC', 'LOAD', 'Container', 'counter', 'interface', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_network_transmit_packets_total', 'cadvisor', 'Cumulative count of packets transmitted', 'NIC', 'LOAD', 'Container', 'counter', 'interface', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_scrape_error', 'cadvisor', '1 if there was an error while getting container metrics, 0 otherwise', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_spec_cpu_period', 'cadvisor', 'CPU period of the container', NULL, NULL, 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_spec_cpu_quota', 'cadvisor', 'CPU quota of the container', NULL, NULL, 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_memory_cache', 'cadvisor', 'Number of bytes of page cache memory.', 'Memory', 'LOAD', 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_memory_failcnt', 'cadvisor', 'Number of memory usage hits limits', 'Memory', 'LOAD', 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_memory_failures_total', 'cadvisor', 'Cumulative count of memory allocation failures.', 'Memory', 'LOAD', 'Container', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_memory_max_usage_bytes', 'cadvisor', 'Maximum memory usage recorded in bytes', 'Memory', 'LOAD', 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_memory_rss', 'cadvisor', 'Size of RSS in bytes.', 'Memory', 'LOAD', 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_memory_swap', 'cadvisor', 'Container swap usage in bytes.', 'Memory', 'LOAD', 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_memory_usage_bytes', 'cadvisor', 'Current memory usage in bytes, including all memory regardless of when it was accessed', 'Memory', 'LOAD', 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_memory_working_set_bytes', 'cadvisor', 'Current working set in bytes.', 'Memory', 'LOAD', 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_network_tcp_usage_total', 'cadvisor', 'tcp connection usage statistic for container', 'Network', 'LOAD', 'Container', 'counter', 'tcp_state', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_network_udp_usage_total', 'cadvisor', 'udp connection usage statistic for container', 'Network', 'LOAD', 'Container', 'counter', 'udp_state', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_spec_cpu_shares', 'cadvisor', 'CPU share of the container', NULL, NULL, 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_spec_memory_limit_bytes', 'cadvisor', 'Memory limit for the container.', NULL, NULL, 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_spec_memory_swap_limit_bytes', 'cadvisor', 'Memory swap limit for the container.', NULL, NULL, 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_start_time_seconds', 'cadvisor', 'Start time of the container since unix epoch in seconds.', NULL, NULL, 'Container', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_tasks_state', 'cadvisor', 'Number of tasks in given state', NULL, NULL, 'Container', 'gauge', 'state', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_request_duration_microseconds', 'prometheus', 'The HTTP request latencies in microseconds.', NULL, 'DURATION', 'Node', 'summary', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_request_duration_microseconds_count', 'prometheus', '', NULL, NULL, 'Node', '', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_request_duration_microseconds_sum', 'prometheus', '', NULL, NULL, 'Node', '', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_request_size_bytes_count', 'prometheus', '', NULL, NULL, 'Node', '', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_request_size_bytes_sum', 'prometheus', '', NULL, NULL, 'Node', '', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_requests_total', 'prometheus', 'Total number of scrapes by HTTP status code.', NULL, 'ERROR', 'Node', 'counter', 'code,method', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_ebsread_bytes_average', 'cloudwatch', 'Bytes read from all EBS volumes attached to the instance in a specified period of time.', 'EBS', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_response_size_bytes_count', 'prometheus', '', NULL, NULL, 'Node', '', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_response_size_bytes_sum', 'prometheus', '', NULL, NULL, 'Node', '', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_server_requests_seconds', 'micrometer', 'Server Response in second', NULL, 'RATE', 'Service', 'summary', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_server_requests_seconds_count', 'micrometer', 'the total number of requests.', NULL, NULL, 'Service', '', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_server_requests_seconds_sum', 'micrometer', 'the total time taken to serve the requests', NULL, NULL, 'Service', '', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_server_requests_seconds_max', 'micrometer', 'the max number of requests.', NULL, 'RATE', 'Service', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_ebswrite_bytes_average', 'cloudwatch', 'Bytes written to all EBS volumes attached to the instance in a specified period of time.', 'EBS', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_classes_loaded', 'micrometer', 'jvm info', 'GC', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_classes_unloaded_total', 'micrometer', 'jvm info', 'GC', 'LOAD', 'Process', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_gc_live_data_size_bytes', 'micrometer', 'jvm info', 'GC', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_gc_max_data_size_bytes', 'micrometer', 'jvm info', 'GC', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_gc_memory_allocated_bytes_total', 'micrometer', 'jvm info', 'GC', 'LOAD', 'Process', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_gc_memory_promoted_bytes_total', 'micrometer', 'jvm info', 'GC', 'LOAD', 'Process', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_gc_pause_seconds', 'micrometer', 'jvm info', 'GC', 'LOAD', 'Process', 'summary', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_gc_pause_seconds_count', 'micrometer', 'jvm info', NULL, NULL, 'Process', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_gc_pause_seconds_max', 'micrometer', 'jvm info', 'GC', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_gc_pause_seconds_sum', 'micrometer', 'jvm info', NULL, NULL, 'Process', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_arp_entries', 'node_exporter', 'ARP entries by device', 'OS', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_boot_time_seconds', 'node_exporter', 'Node boot time, in unixtime.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_context_switches_total', 'node_exporter', 'Total number of context switches.', 'OS', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_cpu_core_throttles_total', 'node_exporter', 'Number of times this cpu core has been throttled.', 'CPU', 'LOAD', 'Node', 'counter', 'core', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_cpu_frequency_hertz', 'node_exporter', 'Current cpu thread frequency in hertz.', 'CPU', 'LOAD', 'Node', 'gauge', 'cpu', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_cpu_frequency_max_hertz', 'node_exporter', 'Maximum cpu thread frequency in hertz.', NULL, NULL, 'Node', 'gauge', 'cpu', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_cpu_frequency_min_hertz', 'node_exporter', 'Minimum cpu thread frequency in hertz.', NULL, NULL, 'Node', 'gauge', 'cpu', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_cpu_guest_seconds_total', 'node_exporter', 'Seconds the cpus spent in guests (VMs) for each mode.', 'CPU', 'LOAD', 'Node', 'counter', 'cpu', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_cpu_package_throttles_total', 'node_exporter', 'Number of times this cpu package has been throttled.', 'CPU', 'LOAD', 'Node', 'counter', 'package', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_cpu_seconds_total', 'node_exporter', 'Seconds the cpus spent in each mode.', 'CPU', 'LOAD', 'Node', 'counter', 'cpu,mode', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_entropy_available_bits', 'node_exporter', 'Bits of available entropy.', 'OS', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_exporter_build_info', 'node_exporter', 'A metric with a constant ''1'' value labeled by version, revision, branch, and goversion from which node_exporter was built.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_cpuutilization_average', 'cloudwatch', 'The percentage of allocated EC2 compute units that are currently in use on the instance.', 'CPU', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_disk_read_ops_average', 'cloudwatch', 'Completed read operations from all instance store volumes available to the instance in a specified period of time.', 'Disk', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_disk_write_ops_average', 'cloudwatch', 'Completed write operations to all instance store volumes available to the instance in a specified period of time.', 'Disk', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_disk_read_bytes_average', 'cloudwatch', 'Bytes read from all instance store volumes available to the instance.', 'Disk', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_disk_write_bytes_average', 'cloudwatch', 'Bytes written to all instance store volumes available to the instance.', 'Disk', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_network_in_average', 'cloudwatch', 'The number of bytes received on all network interfaces by the instance.', 'Network', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_network_out_average', 'cloudwatch', 'The number of bytes sent out on all network interfaces by the instance.', 'Network', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_filesystem_readonly', 'node_exporter', 'Filesystem read-only status.', NULL, NULL, 'Node', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_network_packets_in_average', 'cloudwatch', 'The number of packets received on all network interfaces by the instance.', 'Network', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_forks_total', 'node_exporter', 'Total number of forks.', 'OS', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_hwmon_chip_names', 'node_exporter', 'Annotation metric for human-readable chip names', 'CPU', 'LOAD', 'Node', 'gauge', 'chip', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_hwmon_fan_rpm', 'node_exporter', 'Hardware monitor for fan revolutions per minute (input)', 'CPU', 'LOAD', 'Node', 'gauge', 'chip,sensor', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_hwmon_pwm', 'node_exporter', 'Hardware monitor pwm element ', 'CPU', 'LOAD', 'Node', 'gauge', 'chip,sensor', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_hwmon_sensor_label', 'node_exporter', 'Label for given chip and sensor', 'CPU', 'LOAD', 'Node', 'gauge', 'chip,sensor', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_hwmon_temp_celsius', 'node_exporter', 'Hardware monitor for temperature (input)', 'CPU', 'LOAD', 'Node', 'gauge', 'chip,sensor', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_hwmon_temp_crit_alarm_celsius', 'node_exporter', 'Hardware monitor for temperature (crit_alarm)', 'CPU', 'LOAD', 'Node', 'gauge', 'chip,sensor', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_hwmon_temp_crit_celsius', 'node_exporter', 'Hardware monitor for temperature (crit)', 'CPU', 'LOAD', 'Node', 'gauge', 'chip,sensor', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_hwmon_temp_max_celsius', 'node_exporter', 'Hardware monitor for temperature (max)', NULL, NULL, 'Node', 'gauge', 'chip,sensor', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_intr_total', 'node_exporter', 'Total number of interrupts serviced.', 'OS', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_network_packets_out_average', 'cloudwatch', 'The number of packets sent out on all network interfaces by the instance.', 'Network', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_ebsread_ops_average', 'cloudwatch', 'Completed read operations from all Amazon EBS volumes attached to the instance in a specified period of time.', 'EBS', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('aws_ec2_ebswrite_ops_average', 'cloudwatch', 'Completed write operations to all EBS volumes attached to the instance in a specified period of time.', 'EBS', 'LOAD', 'AWS/EC2', 'gauge', 'instance_id', '2019-07-24 15:23:37.148501', '2019-07-24 15:23:37.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_load1', 'node_exporter', '1m load average.', 'CPU', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_load15', 'node_exporter', '15m load average.', 'CPU', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_load5', 'node_exporter', '5m load average.', 'CPU', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_disk_reads_completed_total', 'node_exporter', 'The total number of reads completed successfully.', 'Disk', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_disk_reads_merged_total', 'node_exporter', 'The total number of reads merged.', 'Disk', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_disk_write_time_seconds_total', 'node_exporter', 'This is the total number of seconds spent by all writes.', 'Disk', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_disk_writes_completed_total', 'node_exporter', 'The total number of writes completed successfully.', 'Disk', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_disk_writes_merged_total', 'node_exporter', 'The number of writes merged.', 'Disk', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_disk_written_bytes_total', 'node_exporter', 'The total number of bytes written successfully.', 'Disk', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_nf_conntrack_entries', 'node_exporter', 'Number of currently allocated flow entries for connection tracking.', 'OS', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_nf_conntrack_entries_limit', 'node_exporter', 'Maximum size of connection tracking table.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_scrape_collector_duration_seconds', 'node_exporter', 'node_exporter: Duration of a collector scrape.', NULL, NULL, 'Node', 'gauge', 'collector', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_scrape_collector_success', 'node_exporter', 'node_exporter: Whether a collector succeeded.', NULL, NULL, 'Node', 'gauge', 'collector', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_textfile_scrape_error', 'node_exporter', '1 if there was an error opening or reading a file, 0 otherwise', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_time_seconds', 'node_exporter', 'System time in seconds since epoch (1970).', NULL, NULL, 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_estimated_error_seconds', 'node_exporter', 'Estimated error in seconds.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_frequency_adjustment_ratio', 'node_exporter', 'Local clock frequency adjustment.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_loop_time_constant', 'node_exporter', 'Phase-locked loop time constant.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_maxerror_seconds', 'node_exporter', 'Maximum error in seconds.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_offset_seconds', 'node_exporter', 'Time offset in between local system and reference clock.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_pps_calibration_total', 'node_exporter', 'Pulse per second count of calibration intervals.', NULL, NULL, 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_pps_error_total', 'node_exporter', 'Pulse per second count of calibration errors.', NULL, NULL, 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_pps_frequency_hertz', 'node_exporter', 'Pulse per second frequency.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_pps_jitter_seconds', 'node_exporter', 'Pulse per second jitter.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_pps_jitter_total', 'node_exporter', 'Pulse per second count of jitter limit exceeded events.', NULL, NULL, 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_pps_shift_seconds', 'node_exporter', 'Pulse per second interval duration.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_pps_stability_exceeded_total', 'node_exporter', 'Pulse per second count of stability limit exceeded events.', NULL, NULL, 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_pps_stability_hertz', 'node_exporter', 'Pulse per second stability, average of recent frequency changes.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_status', 'node_exporter', 'Value of the status array bits.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_sync_status', 'node_exporter', 'Is clock synchronized to a reliable server (1 = yes, 0 = no).', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_tai_offset_seconds', 'node_exporter', 'International Atomic Time (TAI) offset.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_timex_tick_seconds', 'node_exporter', 'Seconds between clock ticks.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_uname_info', 'node_exporter', 'Labeled system information as provided by the uname system call.', NULL, NULL, 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_vmstat_oom_kill', 'node_exporter', '/proc/vmstat information field oom_kill.', NULL, 'ERROR', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('process_cpu_usage', 'micrometer', 'The "recent cpu usage" for the Java Virtual Machine process', 'CPU', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('process_uptime_seconds', 'micrometer', 'Process uptime in seconds.', NULL, NULL, 'Process', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('service_elapsed_seconds', 'micrometer', 'custom service', NULL, 'DURATION', 'Service', 'summary', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('service_elapsed_seconds_count', 'micrometer', 'custom service', NULL, NULL, 'Service', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('service_elapsed_seconds_max', 'micrometer', 'custom service', NULL, 'DURATION', 'Service', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('service_elapsed_seconds_sum', 'micrometer', 'custom service', NULL, NULL, 'Service', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('system_cpu_usage', 'micrometer', 'The "recent cpu usage" for the whole system', 'CPU', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('system_load_average_1m', 'micrometer', 'The sum of the number of runnable entities queued to available processors and the number of runnable entities running on the available processors averaged over a period of time', 'CPU', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('up', 'prometheus', '1 if the instance is healthy, i.e. reachable, or 0 if the scrape failed.', NULL, 'ERROR', 'Any', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('go_threads', 'prometheus', 'Number of OS threads created.', 'Thread', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_request_size_bytes', 'prometheus', 'The HTTP request sizes in bytes.', 'Network', 'LOAD', 'Node', 'summary', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('http_response_size_bytes', 'prometheus', 'The HTTP response sizes in bytes.', 'Network', 'LOAD', 'Node', 'summary', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_buffer_count', 'micrometer', 'jvm info', 'Memory', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_buffer_memory_used_bytes', 'micrometer', 'jvm info', 'Memory', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_buffer_total_capacity_bytes', 'micrometer', 'jvm info', 'Memory', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_memory_committed_bytes', 'micrometer', 'jvm info', 'Memory', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_memory_max_bytes', 'micrometer', 'jvm info', 'Memory', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_memory_used_bytes', 'micrometer', 'jvm info', 'Memory', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_threads_daemon', 'micrometer', 'jvm info', 'Thread', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_threads_live', 'micrometer', 'jvm info', 'Thread', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('jvm_threads_peak', 'micrometer', 'jvm info', 'Thread', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_disk_io_now', 'node_exporter', 'The number of I/Os currently in progress.', 'Disk', 'LOAD', 'Node', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_disk_io_time_seconds_total', 'node_exporter', 'Total seconds spent doing I/Os.', 'Disk', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_disk_io_time_weighted_seconds_total', 'node_exporter', 'The weighted # of seconds spent doing I/Os.', 'Disk', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_disk_read_bytes_total', 'node_exporter', 'The total number of bytes read successfully.', 'Disk', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_disk_read_time_seconds_total', 'node_exporter', 'The total number of seconds spent by all reads.', 'Disk', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_filefd_allocated', 'node_exporter', 'File descriptor statistics: allocated.', 'File', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_filefd_maximum', 'node_exporter', 'File descriptor statistics: maximum.', 'File', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_ipvs_connections_total', 'node_exporter', 'The total number of connections made.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_ipvs_incoming_bytes_total', 'node_exporter', 'The total amount of incoming data.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_ipvs_incoming_packets_total', 'node_exporter', 'The total number of incoming packets.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_ipvs_outgoing_bytes_total', 'node_exporter', 'The total amount of outgoing data.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_ipvs_outgoing_packets_total', 'node_exporter', 'The total number of outgoing packets.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Active_anon_bytes', 'node_exporter', 'Memory information field Active_anon_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Active_bytes', 'node_exporter', 'Memory information field Active_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Active_file_bytes', 'node_exporter', 'Memory information field Active_file_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_AnonHugePages_bytes', 'node_exporter', 'Memory information field AnonHugePages_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_AnonPages_bytes', 'node_exporter', 'Memory information field AnonPages_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Bounce_bytes', 'node_exporter', 'Memory information field Bounce_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Buffers_bytes', 'node_exporter', 'Memory information field Buffers_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Cached_bytes', 'node_exporter', 'Memory information field Cached_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_CmaFree_bytes', 'node_exporter', 'Memory information field CmaFree_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_CmaTotal_bytes', 'node_exporter', 'Memory information field CmaTotal_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_CommitLimit_bytes', 'node_exporter', 'Memory information field CommitLimit_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Committed_AS_bytes', 'node_exporter', 'Memory information field Committed_AS_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_DirectMap1G_bytes', 'node_exporter', 'Memory information field DirectMap1G_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_DirectMap2M_bytes', 'node_exporter', 'Memory information field DirectMap2M_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_DirectMap4k_bytes', 'node_exporter', 'Memory information field DirectMap4k_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Dirty_bytes', 'node_exporter', 'Memory information field Dirty_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_HardwareCorrupted_bytes', 'node_exporter', 'Memory information field HardwareCorrupted_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_HugePages_Free', 'node_exporter', 'Memory information field HugePages_Free.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_HugePages_Rsvd', 'node_exporter', 'Memory information field HugePages_Rsvd.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_HugePages_Surp', 'node_exporter', 'Memory information field HugePages_Surp.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_HugePages_Total', 'node_exporter', 'Memory information field HugePages_Total.', 'Memory', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Hugepagesize_bytes', 'node_exporter', 'Memory information field Hugepagesize_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Inactive_anon_bytes', 'node_exporter', 'Memory information field Inactive_anon_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Inactive_bytes', 'node_exporter', 'Memory information field Inactive_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Inactive_file_bytes', 'node_exporter', 'Memory information field Inactive_file_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_KernelStack_bytes', 'node_exporter', 'Memory information field KernelStack_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Mapped_bytes', 'node_exporter', 'Memory information field Mapped_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_MemAvailable_bytes', 'node_exporter', 'Memory information field MemAvailable_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_MemFree_bytes', 'node_exporter', 'Memory information field MemFree_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_MemTotal_bytes', 'node_exporter', 'Memory information field MemTotal_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Mlocked_bytes', 'node_exporter', 'Memory information field Mlocked_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_NFS_Unstable_bytes', 'node_exporter', 'Memory information field NFS_Unstable_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_PageTables_bytes', 'node_exporter', 'Memory information field PageTables_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Shmem_bytes', 'node_exporter', 'Memory information field Shmem_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_ShmemHugePages_bytes', 'node_exporter', 'Memory information field ShmemHugePages_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_ShmemPmdMapped_bytes', 'node_exporter', 'Memory information field ShmemPmdMapped_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Slab_bytes', 'node_exporter', 'Memory information field Slab_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_SReclaimable_bytes', 'node_exporter', 'Memory information field SReclaimable_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_SUnreclaim_bytes', 'node_exporter', 'Memory information field SUnreclaim_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_SwapCached_bytes', 'node_exporter', 'Memory information field SwapCached_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_SwapFree_bytes', 'node_exporter', 'Memory information field SwapFree_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_SwapTotal_bytes', 'node_exporter', 'Memory information field SwapTotal_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Unevictable_bytes', 'node_exporter', 'Memory information field Unevictable_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_VmallocChunk_bytes', 'node_exporter', 'Memory information field VmallocChunk_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_VmallocTotal_bytes', 'node_exporter', 'Memory information field VmallocTotal_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_VmallocUsed_bytes', 'node_exporter', 'Memory information field VmallocUsed_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_Writeback_bytes', 'node_exporter', 'Memory information field Writeback_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_memory_WritebackTmp_bytes', 'node_exporter', 'Memory information field WritebackTmp_bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Icmp_InErrors', 'node_exporter', 'Statistic IcmpInErrors.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Icmp_InMsgs', 'node_exporter', 'Statistic IcmpInMsgs.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Icmp_OutMsgs', 'node_exporter', 'Statistic IcmpOutMsgs.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Icmp6_InErrors', 'node_exporter', 'Statistic Icmp6InErrors.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Icmp6_InMsgs', 'node_exporter', 'Statistic Icmp6InMsgs.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Icmp6_OutMsgs', 'node_exporter', 'Statistic Icmp6OutMsgs.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Ip_Forwarding', 'node_exporter', 'Statistic IpForwarding.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Ip6_InOctets', 'node_exporter', 'Statistic Ip6InOctets.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Ip6_OutOctets', 'node_exporter', 'Statistic Ip6OutOctets.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_IpExt_InOctets', 'node_exporter', 'Statistic IpExtInOctets.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_IpExt_OutOctets', 'node_exporter', 'Statistic IpExtOutOctets.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Tcp_ActiveOpens', 'node_exporter', 'Statistic TcpActiveOpens.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Tcp_CurrEstab', 'node_exporter', 'Statistic TcpCurrEstab.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Tcp_InErrs', 'node_exporter', 'Statistic TcpInErrs.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Tcp_PassiveOpens', 'node_exporter', 'Statistic TcpPassiveOpens.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Tcp_RetransSegs', 'node_exporter', 'Statistic TcpRetransSegs.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_TcpExt_ListenDrops', 'node_exporter', 'Statistic TcpExtListenDrops.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_TcpExt_ListenOverflows', 'node_exporter', 'Statistic TcpExtListenOverflows.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_TcpExt_SyncookiesFailed', 'node_exporter', 'Statistic TcpExtSyncookiesFailed.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_TcpExt_SyncookiesRecv', 'node_exporter', 'Statistic TcpExtSyncookiesRecv.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_TcpExt_SyncookiesSent', 'node_exporter', 'Statistic TcpExtSyncookiesSent.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Udp_InDatagrams', 'node_exporter', 'Statistic UdpInDatagrams.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Udp_InErrors', 'node_exporter', 'Statistic UdpInErrors.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Udp_NoPorts', 'node_exporter', 'Statistic UdpNoPorts.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Udp_OutDatagrams', 'node_exporter', 'Statistic UdpOutDatagrams.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Udp6_InDatagrams', 'node_exporter', 'Statistic Udp6InDatagrams.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Udp6_InErrors', 'node_exporter', 'Statistic Udp6InErrors.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Udp6_NoPorts', 'node_exporter', 'Statistic Udp6NoPorts.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_Udp6_OutDatagrams', 'node_exporter', 'Statistic Udp6OutDatagrams.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_UdpLite_InErrors', 'node_exporter', 'Statistic UdpLiteInErrors.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_netstat_UdpLite6_InErrors', 'node_exporter', 'Statistic UdpLite6InErrors.', 'Network', 'LOAD', 'Node', 'counter', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_receive_bytes_total', 'node_exporter', 'Network device statistic receive_bytes.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_receive_compressed_total', 'node_exporter', 'Network device statistic receive_compressed.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_receive_drop_total', 'node_exporter', 'Network device statistic receive_drop.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_receive_errs_total', 'node_exporter', 'Network device statistic receive_errs.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_receive_fifo_total', 'node_exporter', 'Network device statistic receive_fifo.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_receive_frame_total', 'node_exporter', 'Network device statistic receive_frame.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_receive_multicast_total', 'node_exporter', 'Network device statistic receive_multicast.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_receive_packets_total', 'node_exporter', 'Network device statistic receive_packets.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_transmit_bytes_total', 'node_exporter', 'Network device statistic transmit_bytes.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_transmit_carrier_total', 'node_exporter', 'Network device statistic transmit_carrier.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_transmit_colls_total', 'node_exporter', 'Network device statistic transmit_colls.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_transmit_compressed_total', 'node_exporter', 'Network device statistic transmit_compressed.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_transmit_drop_total', 'node_exporter', 'Network device statistic transmit_drop.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_transmit_errs_total', 'node_exporter', 'Network device statistic transmit_errs.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_transmit_fifo_total', 'node_exporter', 'Network device statistic transmit_fifo.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_network_transmit_packets_total', 'node_exporter', 'Network device statistic transmit_packets.', 'Network', 'LOAD', 'Node', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_procs_blocked', 'node_exporter', 'Number of processes blocked waiting for I/O to complete.', 'Process', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_procs_running', 'node_exporter', 'Number of processes in runnable state.', 'Process', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_FRAG_inuse', 'node_exporter', 'Number of FRAG sockets in state inuse.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_FRAG_memory', 'node_exporter', 'Number of FRAG sockets in state memory.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_RAW_inuse', 'node_exporter', 'Number of RAW sockets in state inuse.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_sockets_used', 'node_exporter', 'Number of sockets sockets in state used.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_TCP_alloc', 'node_exporter', 'Number of TCP sockets in state alloc.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_TCP_inuse', 'node_exporter', 'Number of TCP sockets in state inuse.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_TCP_mem', 'node_exporter', 'Number of TCP sockets in state mem.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_TCP_mem_bytes', 'node_exporter', 'Number of TCP sockets in state mem_bytes.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_TCP_orphan', 'node_exporter', 'Number of TCP sockets in state orphan.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_TCP_tw', 'node_exporter', 'Number of TCP sockets in state tw.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_UDP_inuse', 'node_exporter', 'Number of UDP sockets in state inuse.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_UDP_mem', 'node_exporter', 'Number of UDP sockets in state mem.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_UDP_mem_bytes', 'node_exporter', 'Number of UDP sockets in state mem_bytes.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_sockstat_UDPLITE_inuse', 'node_exporter', 'Number of UDPLITE sockets in state inuse.', 'Network', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_tcp_connection_states', 'node_exporter', 'Number of connection states.', 'Network', 'LOAD', 'Node', 'gauge', 'state', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_vmstat_pgfault', 'node_exporter', '/proc/vmstat information field pgfault.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_vmstat_pgmajfault', 'node_exporter', '/proc/vmstat information field pgmajfault.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_vmstat_pgpgin', 'node_exporter', '/proc/vmstat information field pgpgin.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_vmstat_pgpgout', 'node_exporter', '/proc/vmstat information field pgpgout.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_vmstat_pswpin', 'node_exporter', '/proc/vmstat information field pswpin.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_vmstat_pswpout', 'node_exporter', '/proc/vmstat information field pswpout.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('process_files_open', 'micrometer', 'The open file descriptor count', 'File', 'LOAD', 'Process', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('process_open_fds', 'micrometer', 'Number of open file descriptors.', 'File', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('process_resident_memory_bytes', 'micrometer', 'Resident memory size in bytes.', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('process_virtual_memory_bytes', 'micrometer', '-', 'Memory', 'LOAD', 'Node', 'gauge', NULL, '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_inodes_free', 'cadvisor', 'Number of available Inodes', 'Filesystem', 'LOAD', 'Container', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_inodes_total', 'cadvisor', 'Number of Inodes', 'Filesystem', 'LOAD', 'Container', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_io_current', 'cadvisor', 'Number of I/Os currently in progress', 'Filesystem', 'LOAD', 'Container', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_io_time_seconds_total', 'cadvisor', 'Cumulative count of seconds spent doing I/Os', 'Filesystem', 'LOAD', 'Container', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_io_time_weighted_seconds_total', 'cadvisor', 'Cumulative weighted I/O time in seconds', 'Filesystem', 'LOAD', 'Container', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_read_seconds_total', 'cadvisor', 'Cumulative count of seconds spent reading', 'Filesystem', 'LOAD', 'Container', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_reads_bytes_total', 'cadvisor', 'Cumulative count of bytes read', 'Filesystem', 'LOAD', 'Container', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_reads_merged_total', 'cadvisor', 'Cumulative count of reads merged', 'Filesystem', 'LOAD', 'Container', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_reads_total', 'cadvisor', 'Cumulative count of reads completed', 'Filesystem', 'LOAD', 'Container', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_sector_reads_total', 'cadvisor', 'Cumulative count of sector reads completed', 'Filesystem', 'LOAD', 'Container', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_sector_writes_total', 'cadvisor', 'Cumulative count of sector writes completed', 'Filesystem', 'LOAD', 'Container', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_usage_bytes', 'cadvisor', 'Number of bytes that are consumed by the container on this filesystem.', 'Filesystem', 'LOAD', 'Container', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_write_seconds_total', 'cadvisor', 'Cumulative count of seconds spent writing', 'Filesystem', 'LOAD', 'Container', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_writes_bytes_total', 'cadvisor', 'Cumulative count of bytes written', 'Filesystem', 'LOAD', 'Container', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('container_fs_writes_total', 'cadvisor', 'Cumulative count of writes completed', 'Filesystem', 'LOAD', 'Container', 'counter', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_filesystem_avail_bytes', 'node_exporter', 'Filesystem space available to non-root users in bytes.', 'Filesystem', 'LOAD', 'Node', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_filesystem_device_error', 'node_exporter', 'Whether an error occurred while getting statistics for the given device.', 'Filesystem', 'LOAD', 'Node', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_filesystem_files', 'node_exporter', 'Filesystem total file nodes.', 'Filesystem', 'LOAD', 'Node', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_filesystem_files_free', 'node_exporter', 'Filesystem total free file nodes.', 'Filesystem', 'LOAD', 'Node', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_filesystem_free_bytes', 'node_exporter', 'Filesystem free space in bytes.', 'Filesystem', 'LOAD', 'Node', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('node_filesystem_size_bytes', 'node_exporter', 'Filesystem size in bytes.', 'Filesystem', 'LOAD', 'Node', 'gauge', 'device', '2019-05-15 01:08:44.148501', '2019-05-15 01:08:44.148501');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_cache_hitrate', 'cassandra_exporter', 'All time cache hit rate', 'Cache', 'LOAD', 'Cassandra', 'gauge', 'cache', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_cache_hits_count', 'cassandra_exporter', 'Total number of cache hits', 'Cache', 'LOAD', 'Cassandra', 'counter', 'cache', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_cache_requests_count', 'cassandra_exporter', 'Total number of cache requests', 'Cache', 'LOAD', 'Cassandra', 'counter', 'cache', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_client_connectednativeclients', 'cassandra_exporter', 'Number of clients connected to this nodes native protocol server', 'Connection', 'LOAD', 'Cassandra', 'gauge', NULL, '2019-10-01 16:45:21', '2019-10-01 16:45:21');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_clientrequest_failures_count', 'cassandra_exporter', 'Number of transaction failures encountered', 'Request', 'LOAD', 'Cassandra', 'counter', 'clientrequest', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_clientrequest_latency_seconds_count', 'cassandra_exporter', 'Number of client requests latency seconds', 'Request', 'LOAD', 'Cassandra', 'counter', 'clientrequest', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_clientrequest_timeouts_count', 'cassandra_exporter', 'Number of timeouts encountered', 'Request', 'LOAD', 'Cassandra', 'counter', 'clientrequest', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_clientrequest_unavailables_count', 'cassandra_exporter', 'Number of unavailable exceptions encountered', 'Request', 'LOAD', 'Cassandra', 'counter', 'clientrequest', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_commitlog_completedtasks', 'cassandra_exporter', 'Total number of commit log messages written', 'Log', 'LOAD', 'Cassandra', 'counter', NULL, '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_commitlog_totalcommitlogsize', 'cassandra_exporter', 'Current size, in bytes, used by all the commit log segments', 'Log', 'LOAD', 'Cassandra', 'counter', NULL, '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_keyspace_rangelatency_seconds', 'cassandra_exporter', 'Local range scan latency seconds for this keyspace', 'Disk', 'LOAD', 'Cassandra', 'gauge', 'keyspace,quantile', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_keyspace_rangelatency_seconds_count', 'cassandra_exporter', 'Local range scan count for this keyspace', 'Disk', 'LOAD', 'Cassandra', 'counter', 'keyspace', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_keyspace_readlatency_seconds', 'cassandra_exporter', 'Local read latency seconds for this keyspace', 'Disk', 'LOAD', 'Cassandra', 'gauge', 'keyspace,quantile', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_keyspace_readlatency_seconds_count', 'cassandra_exporter', 'Local read count for this keyspace', 'Disk', 'LOAD', 'Cassandra', 'counter', 'keyspace', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_keyspace_totaldiskspaceused', 'cassandra_exporter', 'Total disk space used belonging to this keyspace', 'Disk', 'LOAD', 'Cassandra', 'gauge', 'keyspace', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_keyspace_writelatency_seconds', 'cassandra_exporter', 'Local write latency seconds for this keyspace', 'Disk', 'LOAD', 'Cassandra', 'gauge', 'keyspace,quantile', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_keyspace_writelatency_seconds_count', 'cassandra_exporter', 'Local write count for this keyspace', 'Disk', 'LOAD', 'Cassandra', 'counter', 'keyspace', '2019-10-02 10:17:01', '2019-10-02 10:17:01');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_threadpools_activetasks', 'cassandra_exporter', 'Number of tasks being actively worked on', 'Task', 'LOAD', 'Cassandra', 'gauge', 'path,threadpools', '2019-10-01 16:45:21', '2019-10-01 16:45:21');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_threadpools_completedtasks', 'cassandra_exporter', 'Number of tasks completed', 'Task', 'LOAD', 'Cassandra', 'counter', 'path,threadpools', '2019-10-01 16:45:21', '2019-10-01 16:45:21');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_threadpools_pendingtasks', 'cassandra_exporter', 'Number of queued tasks queued up', 'Task', 'LOAD', 'Cassandra', 'gauge', 'path,threadpools', '2019-10-01 16:45:21', '2019-10-01 16:45:21');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cassandra_threadpools_totalblockedtasks_count', 'cassandra_exporter', 'Number of tasks that were blocked due to queue saturation', 'Task', 'LOAD', 'Cassandra', 'counter', 'path,threadpools', '2019-10-01 16:45:21', '2019-10-01 16:45:21');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('cloudwatch_requests_total', 'cloudwatch', 'API requests made to CloudWatch', 'API', 'LOAD', 'AWS/Usage', 'counter', 'NULL', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('imxc_service_errors_count', 'imxc_api_server', 'the number of error counts in 5s', NULL, 'ERROR', 'Service', 'gauge', 'protocol', '2019-10-15 09:37:44', '2019-10-15 09:37:44');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('imxc_service_errors_total', 'imxc_api_server', 'the total number of errors', NULL, 'ERROR', 'Service', 'counter', 'protocol', '2019-12-20 16:30:00', '2019-12-20 16:30:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('imxc_service_request_milliseconds_total', 'imxc_api_server', 'the total time taken to serve the requests', NULL, 'DURATION', 'Service', 'counter', 'protocol', '2019-12-20 16:30:00', '2019-12-20 16:30:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('imxc_service_requests_count', 'imxc_api_server', 'the number of requests counts in 5s', NULL, 'LOAD', 'Service', 'gauge', 'protocol', '2019-10-15 09:37:44', '2019-10-15 09:37:44');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('imxc_service_requests_milliseconds_total', 'imxc_api_server', 'the total time taken to serve the requests', NULL, 'DURATION', 'Service', 'gauge', 'protocol', '2019-12-10 11:22:00', '2019-10-15 09:37:44');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('imxc_service_requests_total', 'imxc_api_server', 'the total number of requests', NULL, 'LOAD', 'Service', 'counter', 'protocol', '2019-12-20 16:30:00', '2019-12-20 16:30:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mongodb_connections', 'mongodb_exporter', 'The number of incoming connections from clients to the database server', 'Connection', 'LOAD', 'MongoDB', 'gauge', 'state', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mongodb_global_lock_client', 'mongodb_exporter', 'The number of the active client connections performing read or write operations', 'Lock', 'LOAD', 'MongoDB', 'gauge', 'type', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mongodb_global_lock_current_queue', 'mongodb_exporter', 'The number of operations that are currently queued and waiting for the read or write lock', 'Lock', 'LOAD', 'MongoDB', 'gauge', 'type', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mongodb_instance_uptime_seconds', 'mongodb_exporter', 'The number of seconds that the current MongoDB process has been active', 'Server', 'DURATION', 'MongoDB', 'gauge', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mongodb_memory', 'mongodb_exporter', 'The amount of memory, in mebibyte (MiB), currently used by the database process', 'Memory', 'LOAD', 'MongoDB', 'gauge', 'type', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mongodb_metrics_document_total', 'mongodb_exporter', 'The total number of documents processed', 'Row', 'LOAD', 'MongoDB', 'counter', 'state', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mongodb_network_bytes_total', 'mongodb_exporter', 'The number of bytes that reflects the amount of network traffic', 'Network', 'LOAD', 'MongoDB', 'counter', 'state', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mongodb_op_counters_total', 'mongodb_exporter', 'The total number of operations since the mongod instance last started', 'Request', 'LOAD', 'MongoDB', 'counter', 'type', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_aborted_connects', 'mysqld_exporter', 'The number of failed attempts to connect to the MySQL server', 'Connection', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_bytes_received', 'mysqld_exporter', 'The number of bytes received from all clients', 'Network', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_bytes_sent', 'mysqld_exporter', 'The number of bytes sent to all clients', 'Network', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_commands_total', 'mysqld_exporter', 'The number of times each XXX command has been executed', 'Request', 'LOAD', 'MySQL', 'counter', 'command', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_connections', 'mysqld_exporter', 'The number of connection attempts (successful or not) to the MySQL server', 'Connection', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_buffer_pool_read_requests', 'mysqld_exporter', 'The number of logical read requests', 'Block', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_buffer_pool_write_requests', 'mysqld_exporter', 'The number of writes done to the InnoDB buffer pool', 'Block', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_data_read', 'mysqld_exporter', 'The amount of data read since the server was started (in bytes)', 'Disk', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_data_reads', 'mysqld_exporter', 'The total number of data reads (OS file reads)', 'Disk', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_data_writes', 'mysqld_exporter', 'The total number of data writes', 'Disk', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_data_written', 'mysqld_exporter', 'The amount of data written so far, in bytes', 'Disk', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_log_write_requests', 'mysqld_exporter', 'The number of write requests for the InnoDB redo log', 'Log', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_log_writes', 'mysqld_exporter', 'The number of physical writes to the InnoDB redo log file', 'Disk', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_os_log_written', 'mysqld_exporter', 'The number of bytes written to the InnoDB redo log files', 'Disk', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_row_lock_current_waits', 'mysqld_exporter', 'The number of row locks currently being waited for by operations on InnoDB tables', 'Lock', 'LOAD', 'MySQL', 'gauge', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_row_lock_time', 'mysqld_exporter', 'The total time spent in acquiring row locks for InnoDB tables, in milliseconds', 'Lock', 'DURATION', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_row_lock_waits', 'mysqld_exporter', 'The number of times operations on InnoDB tables had to wait for a row lock', 'Lock', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_innodb_row_ops_total', 'mysqld_exporter', 'The number of rows operated in InnoDB tables', 'Row', 'LOAD', 'MySQL', 'counter', 'operation', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_table_locks_immediate', 'mysqld_exporter', 'The number of times that a request for a table lock could be granted immediately', 'Lock', 'LOAD', 'MySQL', 'counter', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_threads_connected', 'mysqld_exporter', 'The number of currently open connections', 'Thread', 'LOAD', 'MySQL', 'gauge', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_threads_running', 'mysqld_exporter', 'The number of threads that are not sleeping', 'Thread', 'LOAD', 'MySQL', 'gauge', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_global_status_uptime', 'mysqld_exporter', 'The number of seconds that the server has been up', 'Server', 'DURATION', 'MySQL', 'gauge', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('mysql_up', 'mysqld_exporter', 'Whether the last scrape of metrics from MySQL was able to connect to the server', 'NULL', 'ERROR', 'MySQL', 'gauge', 'NULL', '2019-12-04 16:45:00', '2019-12-04 16:45:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_locks_count', 'postgres_exporter', 'Number of locks', 'Lock', 'LOAD', 'PostgreSQL', 'gauge', 'datname,mode', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_activity_count', 'postgres_exporter', 'number of connections in this state', 'Connection', 'LOAD', 'PostgreSQL', 'gauge', 'datname,state', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_blk_read_time', 'postgres_exporter', 'Time spent reading data file blocks by backends in this database, in milliseconds', 'Block', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_blk_write_time', 'postgres_exporter', 'Time spent writing data file blocks by backends in this database, in milliseconds', 'Block', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_blks_hit', 'postgres_exporter', 'Number of times disk blocks were found already in the buffer cache', 'Block', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_blks_read', 'postgres_exporter', 'Number of disk blocks read in this database', 'Block', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_temp_bytes', 'postgres_exporter', 'Total amount of data written to temporary files by queries in this database', 'TemporaryFile', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_temp_files', 'postgres_exporter', 'Number of temporary files created by queries in this database', 'TemporaryFile', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_tup_deleted', 'postgres_exporter', 'Number of rows deleted by queries in this database', 'Row', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_tup_fetched', 'postgres_exporter', 'Number of rows fetched by queries in this database', 'Row', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_tup_inserted', 'postgres_exporter', 'Number of rows inserted by queries in this database', 'Row', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_tup_returned', 'postgres_exporter', 'Number of rows returned by queries in this database', 'Row', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_tup_updated', 'postgres_exporter', 'Number of rows updated by queries in this database', 'Row', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_xact_commit', 'postgres_exporter', 'Number of transactions in this database that have been committed', 'Transaction', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_stat_database_xact_rollback', 'postgres_exporter', 'Number of transactions in this database that have been rolled back', 'Transaction', 'LOAD', 'PostgreSQL', 'counter', 'datname', '2019-08-27 14:07:00', '2019-08-27 14:07:00');
INSERT INTO public.metric_base (meta_name, provider, description, resource_type, diag_type, entity_type, metric_type, keys, created_date, modified_date) VALUES ('pg_up', 'postgres_exporter', 'Whether the last scrape of metrics from PostgreSQL was able to connect to the server', 'NULL', 'ERROR', 'PostgreSQL', 'gauge', 'NULL', '2019-08-27 14:07:00', '2019-08-27 14:07:00');

-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816000, '2019-08-19 06:14:22.616', '2019-08-19 06:14:22.616', false, 4,       (select id from auth_resource2 where type='menu' and name='Infrastructure'       )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816001, '2019-08-19 06:14:22.635', '2019-08-19 06:14:22.635', false, 4,       (select id from auth_resource2 where type='menu' and name='Topology' and parent_id=(select id from auth_resource2 where type='menu' and name='Infrastructure')) , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816002, '2019-08-19 06:14:22.638', '2019-08-19 06:14:22.638', false, 4,       (select id from auth_resource2 where type='menu' and name='Overview' and parent_id=(select id from auth_resource2 where type='menu' and name='Infrastructure'))  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816003, '2019-08-19 06:14:22.64', '2019-08-19 06:14:22.64', false, 4,         (select id from auth_resource2 where type='menu' and name='Namespace'            ) , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816004, '2019-08-19 06:14:22.643', '2019-08-19 06:14:22.643', false, 4,       (select id from auth_resource2 where type='menu' and name='Nodes'                )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816005, '2019-08-19 06:14:22.72',  '2019-08-19 06:14:22.72', false, 4,        (select id from auth_resource2 where type='menu' and name='Node Details'       )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816006, '2019-08-19 06:14:22.72', '2019-08-19 06:14:22.72', false, 4,         (select id from auth_resource2 where type='menu' and name='Resource Usage'       )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES     (3816009, '2019-08-19 06:14:22', '2019-08-19 06:14:22', false, 4,               (select id from auth_resource2 where type='menu' and name='Persistent Volume'    )  , 'admin');

-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816100, '2019-08-19 06:14:22.619', '2019-08-19 06:14:22.619', false, 4,       (select id from auth_resource2 where type='menu' and name='Workloads'            )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816105, '2019-08-19 06:14:22.657', '2019-08-19 06:14:22.657', false, 4,       (select id from auth_resource2 where type='menu' and name='Jobs'                 )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816106, '2019-08-19 06:14:22.66', '2019-08-19 06:14:22.66', false, 4,         (select id from auth_resource2 where type='menu' and name='Cron Jobs'            )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816107, '2019-08-19 06:14:22.646', '2019-08-19 06:14:22.646', false, 4,       (select id from auth_resource2 where type='menu' and name='Pods'                 )  , 'admin');

-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816200, '2019-08-19 06:14:22.621', '2019-08-19 06:14:22.621', false, 4,       (select id from auth_resource2 where type='menu' and name='Services'             )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816201, '2019-08-19 06:14:22.698', '2019-08-19 06:14:22.698', false, 4,       (select id from auth_resource2 where type='menu' and name='Topology' and parent_id=(select id from auth_resource2 where type='menu' and name='Services'))  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816202, '2019-08-19 06:14:22.728', '2019-08-19 06:14:22.728', false, 4,       (select id from auth_resource2 where type='menu' and name='Overview' and parent_id=(select id from auth_resource2 where type='menu' and name='Services'))  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816203, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='Detail'   and parent_id=(select id from auth_resource2 where type='menu' and name='Services'))  , 'admin');

-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816300, '2019-08-19 06:14:22.624', '2019-08-19 06:14:22.624', false, 4,       (select id from auth_resource2 where type='menu' and name='Diagnosis'            ) , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816301, '2019-08-19 06:14:22.705', '2019-08-19 06:14:22.705', false, 4,       (select id from auth_resource2 where type='menu' and name='Anomaly Score' and parent_id=(select id from auth_resource2 where type='menu' and name='Diagnosis')  ) , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES     (3816309, '2019-08-19 06:14:22.668', '2019-08-19 06:14:22.668', false, 4,       (select id from auth_resource2 where type='menu' and name='Troubleshooting'      )  , 'admin');

-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816400, '2019-08-19 06:14:22.627', '2019-08-19 06:14:22.627', false, 4,       (select id from auth_resource2 where type='menu' and name='Statistics & Analysis')  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816401, '2019-08-19 06:14:22.671', '2019-08-19 06:14:22.671', false, 4,       (select id from auth_resource2 where type='menu' and name='Performance Trends'    )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816402, '2019-08-19 06:14:22.731', '2019-08-19 06:14:22.731', false, 4,       (select id from auth_resource2 where type='menu' and name='Alert Analysis'       )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816403, '2019-08-19 06:14:22.674', '2019-08-19 06:14:22.674', false, 4,       (select id from auth_resource2 where type='menu' and name='Alert History'        )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816404, '2019-08-19 06:14:22.677', '2019-08-19 06:14:22.677', false, 4,       (select id from auth_resource2 where type='menu' and name='Anomaly Score' and parent_id=(select id from auth_resource2 where type='menu' and name='Statistics & Analysis')) , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816405, '2019-08-19 06:14:22.679', '2019-08-19 06:14:22.679', false, 4,       (select id from auth_resource2 where type='menu' and name='Job History'          )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816406, '2019-08-19 06:14:22.685', '2019-08-19 06:14:22.685', false, 4,       (select id from auth_resource2 where type='menu' and name='Sparse Logs'  and parent_id=(select id from auth_resource2 where type='menu' and name='Statistics & Analysis' )) , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816407, '2019-08-19 06:14:22.682', '2019-08-19 06:14:22.682', false, 4,       (select id from auth_resource2 where type='menu' and name='Log Viewer'           )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816408, '2019-08-19 06:14:22.725', '2019-08-19 06:14:22.725', false, 4,       (select id from auth_resource2 where type='menu' and name='Event Logs'            )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816409, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='Container Life Cycle'     and parent_id=(select id from auth_resource2 where type='menu' and name='Statistics & Analysis'))  , 'admin');

-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816500, '2019-08-19 06:14:22.629', '2019-08-19 06:14:22.629', false, 4,       (select id from auth_resource2 where type='menu' and name='Reports' and parent_id is null) , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816501, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='Documents' and parent_id=(select id from auth_resource2 where type='menu' and name='Reports' and parent_id is null))  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816502, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='Templates' and parent_id=(select id from auth_resource2 where type='menu' and name='Reports' and parent_id is null))  , 'admin');

-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816550, '2019-08-19 06:14:22', '2019-08-19 06:14:22', false, 4,               (select id from auth_resource2 where type='menu' and name='Dashboards'            )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816551, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='My List' and parent_id=(select id from auth_resource2 where type='menu' and name='Dashboards' and parent_id is null))  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816552, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='Shared List' and parent_id=(select id from auth_resource2 where type='menu' and name='Dashboards' and parent_id is null))  , 'admin');

-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816700, '2019-08-19 06:14:22.632', '2019-08-19 06:14:22.632', false, 4,       (select id from auth_resource2 where type='menu' and name='Settings'             )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816701, '2019-08-19 06:14:22.687', '2019-08-19 06:14:22.687', false, 4,       (select id from auth_resource2 where type='menu' and name='User & Group'         )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816702, '2019-08-19 06:14:22.69', '2019-08-19 06:14:22.69', false, 4,         (select id from auth_resource2 where type='menu' and name='Alert'                )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816703, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='Host Alerts'           )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816704, '2019-08-19 06:14:22.693', '2019-08-19 06:14:22.693', false, 4,       (select id from auth_resource2 where type='menu' and name='Sparse Logs' and parent_id=(select id from auth_resource2 where type='menu' and name='Settings' )) , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816706, '2019-08-19 06:14:22.717', '2019-08-19 06:14:22.717', false, 4,       (select id from auth_resource2 where type='menu' and name='Metric Meta'          )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816707, '2019-08-19 06:14:22.696', '2019-08-19 06:14:22.696', false, 4,       (select id from auth_resource2 where type='menu' and name='Notification'              )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816708, '2019-08-19 06:14:22.696', '2019-08-19 06:14:22.696', false, 4,       (select id from auth_resource2 where type='menu' and name='General'              )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816709, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='License'              )  , 'admin');

-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816800, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='Hosts'             )  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816801, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='Topology' and parent_id=(select id from auth_resource2 where type='menu' and name='Hosts'))  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816802, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='Overview' and parent_id=(select id from auth_resource2 where type='menu' and name='Hosts'))  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816803, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='List'     and parent_id=(select id from auth_resource2 where type='menu' and name='Hosts'))  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816804, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='Detail'   and parent_id=(select id from auth_resource2 where type='menu' and name='Hosts'))  , 'admin');
-- INSERT INTO public.user_permission2 (id, created_date, modified_date, all_child, permission, auth_resource_id, user_id) VALUES      (3816805, '2019-08-19 06:14:22.734', '2019-08-19 06:14:22.734', false, 4,       (select id from auth_resource2 where type='menu' and name='Group'    and parent_id=(select id from auth_resource2 where type='menu' and name='Hosts'))  , 'admin');




INSERT INTO public.alert_rule_meta ( id, created_date, modified_date, description, expr, meta_name, target, message ) VALUES (97, '2019-04-02 18:07:31.319', '2019-04-02 18:07:31.319', 'NODE CPU 사용', '(100 - (avg by (xm_clst_id, xm_node_id, xm_entity_type) (rate(node_cpu_seconds_total{ name=''node-agent'', mode=''idle'', xm_entity_type=''Node'', {filter} }[1m])) * 100))', 'Node CPU Usage', 'node', 'Cluster:{{$labels.xm_clst_id}} Node:{{$labels.xm_node_id }} CPU 사용률이 {threshold}%를 초과했습니다. 현재값:{{humanize $value}}%');
INSERT INTO public.alert_rule_meta ( id, created_date, modified_date, description, expr, meta_name, target, message ) VALUES (1, '2019-04-15 02:26:13.826', '2019-04-15 02:26:24.02', 'NODE Disk 사용', '(1- (sum by (xm_clst_id, xm_node_id, xm_entity_type) (node_filesystem_avail_bytes{xm_entity_type=''Node'', {filter} }) / sum by (xm_clst_id, xm_node_id, xm_entity_type) (node_filesystem_size_bytes{xm_entity_type=''Node'', {filter} }))) * 100', 'Node Disk Usage', 'node', 'Cluster:{{$labels.xm_clst_id}} Node:{{$labels.xm_node_id}} Disk 사용률이 {threshold}%를 초과했습니다. 현재값:{{humanize $value}}%');
INSERT INTO public.alert_rule_meta ( id, created_date, modified_date, description, expr, meta_name, target, message ) VALUES (119, '2019-04-02 18:08:50.17', '2019-04-02 18:08:50.17', 'NODE Memory 사용', '(1- ((node_memory_MemFree_bytes{xm_entity_type=''Node'', {filter}} + node_memory_Cached_bytes{xm_entity_type=''Node'', {filter}} + node_memory_Buffers_bytes{xm_entity_type=''Node'', {filter}}) / node_memory_MemTotal_bytes{xm_entity_type=''Node''})) * 100', 'Node Memory Usage', 'node', 'Cluster:{{$labels.xm_clst_id}} Node:{{$labels.xm_node_id}} Memory 사용률이 {threshold}%를 초과했습니다. 현재값 : {{humanize $value}}%');
INSERT INTO public.alert_rule_meta ( id, created_date, modified_date, description, expr, meta_name, target, message ) VALUES (2, '2019-04-15 05:27:56.544', '2019-04-15 05:27:59.924', 'Container CPU 사용', 'sum (rate (container_cpu_usage_seconds_total{ {filter} }[1m])) by (xm_clst_id, xm_namespace, xm_entity_type, xm_pod_id) * 100', 'Container CPU Usage', 'controller', 'Cluster:{{$labels.xm_clst_id }} POD:{{$labels.xm_pod_id}} CPU 사용률이 {threshold}%를 초과했습니다. 현재값:{{humanize $value}}%');


INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_cpu_user','Container CPU User (%)','Container CPU Usage (User)','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (rate(container_cpu_user_seconds_total{xm_entity_type=''Container'',xm_cont_name!=''POD'',{filter}}[1m])) * 100','CPU','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} CPU User:{{humanize $value}}%|{threshold}%.','2019-06-05 09:07:00.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_working_set_bytes','Container Memory Working Set (GiB)','Current working set in GiB, this includes recently accessed memory, dirty memory, and kernel memory','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (container_memory_working_set_bytes{xm_entity_type=''Container'',xm_cont_name!=''POD'',{filter}} / 1024 / 1024 / 1024)','Memory','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Working Set Memory:{{humanize $value}}GiB|{threshold}GiB.','2020-06-04 11:11:11.000','2020-06-04 11:11:11.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_disk_io_seconds','Host io Disk seconds','Host disk io seconds','sum by (instance) (rate(node_disk_io_time_seconds_total{{filter}}[1m]))','Disk','Host',NULL,false,false,'Host:{{$labels.instance}} Disk IO Seconds:{{humanize $value}}|{threshold}.','2020-03-23 04:08:37.359','2020-03-23 04:08:37.359');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_disk_read_write_byte','host disk R/W byte','host disk R/W byte','sum by (data_type, instance) (
label_replace(rate(node_disk_read_bytes_total{{filter}}[1m]) or rate(node_disk_read_bytes_total{{filter}}[5m]), "data_type", "Read", "", "") or 
label_replace(rate(node_disk_written_bytes_total{{filter}}[1m]) or rate(node_disk_written_bytes_total{{filter}}[5m]), "data_type", "Write", "", "") )','Disk','Host',NULL,false,false,'Host:{{$labels.instance}} Read/Write Bytes:{{humanize $value}}KiB|{threshold}KiB.','2020-03-24 05:21:53.915','2020-03-24 05:24:52.674');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_memory_free','Host Memory Free (GiB)','Memory information field MemFree_bytes','(node_memory_MemAvailable_bytes{{filter}} or (node_memory_MemFree_bytes{{filter}} + node_memory_Cached_bytes{{filter}} + node_memory_Buffers_bytes{{filter}}))','Memory','Host',NULL,true,false,'Host:{{$labels.instance}} Free Memory Size:{{humanize $value}}GiB|{threshold}GiB.','2020-03-23 04:08:18.977','2020-03-23 04:08:18.977');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_bytes_sent','Number of Bytes Sent','The number of bytes sent to all clients','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mysql_global_status_bytes_sent[1m]))','Network','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Bytes Sent:{{humanize $value}}KiB|{threshold}KiB.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_sum_by_namespace','Containe memory sum by namespace','Containe memory sum by namespace','sum by(xm_clst_id, xm_namespace, data_type) (
label_replace(imxc_kubernetes_container_resource_limit_memory{{filter}}, "data_type", "limit", "" ,  "") or
label_replace(imxc_kubernetes_container_resource_request_memory{{filter}}, "data_type", "request", "" ,  "") or
label_replace(container_memory_usage_bytes{xm_entity_type=''Container'',{filter}}, "data_type", "used", "" ,  ""))','memory','Namespace',NULL,false,false,'Container memory sum by namespace','2020-07-03 04:31:10.079','2020-07-03 08:38:17.034');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_count','Node Count','node count','count by(xm_clst_id, xm_namespace,xm_node_id) (up{{filter}})','Node','Namespace',NULL,false,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} NODE:{{$labels.xm_node_id}} Node Count:{{humanize $value}}|{threshold}.','2020-08-19 16:45:00.000','2020-08-19 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_restart_count','Container Restart Count','container restart count group by namespace','sum by(xm_clst_id, xm_namespace, pod_name ) (increase(imxc_kubernetes_container_restart_count{{filter}}[10s]))','Pod','Namespace',NULL,false,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Container Restart Count:{{humanize $value}}|{threshold}.','2020-08-19 16:45:00.000','2020-08-19 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_cpu_usage','Node CPU Usage (%)','NODE CPU Usage','(100 - (avg by (xm_clst_id, xm_node_id, xm_entity_type)(clamp_max(rate(node_cpu_seconds_total{ name=''node-agent'', mode=''idle'', xm_entity_type=''Node'', {filter} }[1m]),1.0) * 100)))','CPU','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} CPU Usage:{{humanize $value}}%|{threshold}%.','2019-05-15 01:02:23.000','2020-06-04 11:11:11.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_read_latency_device','Node Disk Read Latency per Device (ms)','Node Disk Read Latency per Device','sum by (xm_clst_id, xm_node_id, xm_entity_type, device, mountpoint) (rate(node_disk_read_time_seconds_total{xm_entity_type=''Node'',{filter}}[1m])) * 1000','Disk','Node','device',true,false,'NODE:{{$labels.xm_node_id}} FS:{{$labels.mountpoint}} Disk Read Latency:{{humanize $value}}ms|{threshold}ms.','2019-08-23 11:26:07.000','2019-08-23 11:26:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_filesystem_usage_per_device','Node Filesystem Usage per device (%)','NODE Filesystem Usage per Device','(1- (sum by (xm_clst_id, xm_node_id, xm_entity_type, device, mountpoint) (node_filesystem_avail_bytes{xm_entity_type=''Node'', device!=''rootfs'', {filter} }) / sum by (xm_clst_id, xm_node_id, xm_entity_type, device, mountpoint) (node_filesystem_size_bytes{xm_entity_type=''Node'', device!=''rootfs'', {filter} }))) * 100','Filesystem','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} FS:{{$labels.mountpoint}} Usage:{{humanize $value}}%|{threshold}%.','2019-05-15 01:02:23.000','2019-05-15 01:02:23.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_memory_usage','Node Memory Usage (%)','Node Memory Usage','sum by (xm_clst_id, xm_node_id)((node_memory_MemTotal_bytes{xm_entity_type="Node"}- (node_memory_MemFree_bytes{xm_entity_type="Node"} + node_memory_Cached_bytes{xm_entity_type="Node"} + node_memory_Buffers_bytes{xm_entity_type="Node"})) >= 0 or node_memory_MemTotal_bytes{xm_entity_type="Node"}- node_memory_MemFree_bytes{xm_entity_type="Node"}) / (sum by (xm_clst_id, xm_node_id) (imxc_kubernetes_node_resource_capacity_memory{{filter}})) * 100','Memory','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Memory Usage:{{humanize $value}}%|{threshold}%.','2019-05-15 01:02:23.000','2020-06-04 11:11:11.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_tablespace_size','Tablespace Size (GiB)','Generic counter metric of tablespaces bytes in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, tablespace, type) (oracledb_tablespace_bytes) / 1073741824','Tablespace','OracleDB','tablespace, type',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Tablespace Size:{{humanize $value}}GiB|{threshold}GiB.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_allocator_allocated_size','Allocated Memory (MiB)','The total amount of memory that the Redis allocator allocated','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (redis_allocator_allocated_bytes) / 1048576','Memory','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Allocated Memory:{{humanize $value}}MiB|{threshold}MiB.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_kubernetes_event_count','Cluster events count','Kubernetes Namespace Events count','sum by (xm_clst_id, type) (imxc_kubernetes_event_in_last_min{{filter}})','Event','Cluster',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Event Count:{{humanize $value}}|{threshold}.','2019-09-26 05:33:37.000','2020-04-27 05:38:47.804');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_memory_limit','cluster_memory_limit (Gib)','Total container limit size in GiB for the given cluster','sum by (xm_clst_id) (imxc_kubernetes_container_resource_limit_memory{{filter}}) / 1024 / 1024 / 1024','Memory','Cluster',NULL,false,false,'CLST:{{$labels.xm_clst_id}} Memory Limits:{{humanize $value}}GiB|{threshold}GiB.','2019-08-23 08:45:47.000','2019-08-23 08:45:47.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_pod_total_count','Cluster Pod Total Count','Cluster Pod Total Count','sum by (xm_clst_id) (imxc_kubernetes_controller_counts{{filter}})','Pod','Cluster',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Total Pod Counts:{{humanize $value}}|{threshold}.','2019-08-23 17:36:00.000','2019-11-28 08:25:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_swap_free','Host Swap Memory Free','Host Swap Free','node_memory_SwapFree_bytes{{filter}}','Memory','Host',NULL,true,false,'Host:{{$labels.instance}} Free Swap Memory Size:{{humanize $value}}KiB|{threshold}KiB.','2020-03-23 04:08:24.594','2020-03-23 04:08:24.594');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_context_switch_count','Host Context','Total number of context switches.','sum by (instance) (node_context_switches_total{{filter}})','CPU','Host',NULL,false,false,'None','2020-03-23 04:08:15.000','2020-03-23 04:08:15.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_fs_used','Host system Filesystem used','Host File system used','sum by (instance) (node_filesystem_size_bytes{{filter}}-node_filesystem_free_bytes{{filter}})','Filesystem','Host',NULL,true,false,'Host:{{$labels.instance}} Filesystem Utillization:{{humanize $value}}%|{threshold}%.','2020-03-23 04:08:30.407','2020-03-23 04:08:30.407');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_io','Node Disk I/O','Total seconds spent doing I/Os','avg by (xm_clst_id, xm_node_id) (rate(node_disk_io_time_seconds_total{{filter}}[1m]))','Disk','Node',NULL,false,false,'None','2020-05-21 01:18:06.000','2020-05-29 09:38:55.992');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_fs_usage','Container Filesystem Usage (%)','Container File System Usage: 100 * (Used Bytes / Limit Bytes) (not contain persistent volume)','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (
container_fs_usage_bytes{xm_entity_type=''Container'',{filter}} / ((container_fs_limit_bytes{xm_entity_type=''Container'',{filter}} * 100) > 0) or
container_fs_usage_bytes{xm_entity_type=''Container'',{filter}} / 1000)','Filesystem','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Filesystem Usage:{{humanize $value}}%|{threshold}%.','2019-06-05 10:27:42.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_fs_reads','Container Filesystem Read Bytes (KiB)','Cumulative count of bytes read / 1024','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (rate(container_fs_reads_bytes_total{xm_entity_type=''Container'',{filter}}[1m])) / 1024','Filesystem','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Filesystem Reads:{{humanize $value}}KiB|{threshold}KiB.','2019-05-20 05:53:42.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_cpu_sum_by_namespace','Container cpu sum by namespace','Container cpu sum by namespace','sum by(xm_clst_id, xm_namespace, data_type) (
label_replace(imxc_kubernetes_container_resource_limit_cpu{{filter}} * 0.001, "data_type", "limit", "" ,  "") or
label_replace(imxc_kubernetes_container_resource_request_cpu{{filter}} * 0.001, "data_type", "request", "" ,  "") or
label_replace(rate(container_cpu_usage_seconds_total{xm_entity_type=''Container'',{filter}}[1m]), "data_type", "used", "" ,  ""))','CPU','Namespace',NULL,false,false,'.','2020-05-30 08:30:10.158','2020-06-09 02:00:50.856');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_filesystem_avail_size','Node Filesystem Available Size (GiB)','Filesystem space available to non-root users in bytes / 1073741824','sum by (xm_clst_id, xm_node_id, xm_entity_type) (node_filesystem_avail_bytes{xm_entity_type=''Node'', device!=''rootfs'', {filter} }) / 1073741824','Filesystem','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Filesystem Avail Size:{{humanize $value}}GiB|{threshold}GiB.','2019-06-04 19:47:00.000','2019-06-04 19:47:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_pod_running_count','Node Pod Running Count','Node Pod Running Count','count by (xm_clst_id, xm_node_id) (sum by (xm_clst_id, xm_node_id, xm_pod_id) (imxc_kubernetes_container_resource_limit_cpu{pod_state="Running", {filter}}))','Pod','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Running Pod Count:{{humanize $value}}|{threshold}.','2019-10-11 00:29:17.000','2019-11-06 08:02:40.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_cpu_user','Pod CPU User (%)','Pod CPU Usage (User)','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (rate(container_cpu_user_seconds_total{xm_entity_type=''Container'',{filter}}[1m])) * 100','CPU','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} CPU User:{{humanize $value}}%|{threshold}%.','2019-06-05 09:07:00.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_fs_reads','Pod Filesystem Read Bytes (KiB)','Cumulative count of bytes read / 1024','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (rate(container_fs_reads_bytes_total{xm_entity_type=''Container'',{filter}}[1m])) / 1024','Filesystem','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Filesystem Read Bytes:{{humanize $value}}KiB|{threshold}KiB.','2019-05-20 05:53:42.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_memory_max_usage_bytes','Pod Memory Max Used (GiB)','Maximum memory usage recorded in bytes / 1073741824','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (container_memory_max_usage_bytes{xm_entity_type=''Container'',{filter}}) / 1073741824','Memory','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Max Used Memory:{{humanize $value}}GiB|{threshold}GiB.','2019-06-05 14:27:36.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_network_receive','Pod Network Receive (KiB)','Network device statistic receive_bytes / 1024','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (rate(container_network_receive_bytes_total{xm_entity_type=''Container'',{filter}}[1m]) ) / 1024','Network','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Network Receive:{{humanize $value}}KiB|{threshold}KiB.','2019-05-21 08:23:36.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_cache_hits_count','Total number of cache hits (count/s)','Total number of cache hits','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, cache) (rate(cassandra_cache_hits_count{{filter}}[1m]))','Cache','Cassandra','cache',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Cache Hit Counts per second:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-11-05 11:24:29.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_clientrequest_failures_count','Number of transaction failures encountered','Number of transaction failures encountered','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, clientrequest) (rate(cassandra_clientrequest_failures_count[1m]))','Request','Cassandra','clientrequest',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Failure Request:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-10-02 10:17:01.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_connections_and_tasks','Cassandra connections & tasks','cassandra connections & tasks','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(cassandra_threadpools_activetasks {{filter}}, "data_type", "Active tasks", "", "") or
label_replace(cassandra_threadpools_pendingtasks {{filter}}, "data_type", "Pending tasks", "", "") or
label_replace(cassandra_client_connectednativeclients {{filter}}, "data_type", "Client connections", "", "") )','Connection','Cassandra','data_type',true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} POD:{{$labels.xm_pod_id}} Cassandra Connections and Tasks:{{humanize $value}}|{threshold}.','2020-01-02 09:11:48.000','2020-02-13 01:24:51.522');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_network_transmit','Pod Network Transmit (KiB)','Network device statistic transmit_bytes / 1024','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (rate(container_network_transmit_bytes_total{xm_entity_type=''Container'',{filter}}[1m]) ) / 1024','Network','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Network Transmit:{{humanize $value}}KiB|{threshold}KiB.','2019-05-21 08:26:35.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_memory_request','cluster_memory_request (Gib)','Total container memory request in GiB for the given cluster','sum by (xm_clst_id) (imxc_kubernetes_container_resource_request_memory{{filter}}) / 1024 / 1024 / 1024','Memory','Cluster',NULL,false,false,'None','2019-08-23 08:45:47.000','2019-08-23 08:45:47.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_keyspace_read_count','Local read count (count/s)','Local read count for this keyspace','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, keyspace) (rate(cassandra_keyspace_readlatency_seconds_count[1m]))','Disk','Cassandra','keyspace',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Read Count:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-10-02 10:17:01.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_cpu_capacity_cores','cluster_cpu_capacity_cores','cluster_cpu_capacity_cores','sum by (xm_clst_id) (imxc_kubernetes_node_resource_capacity_cpu{{filter}})','CPU','Cluster',NULL,false,false,'CLST:{{$labels.xm_clst_id}} Cluster CPU Capacity Cores:{{humanize $value}}|{threshold}.','2019-08-23 08:40:36.000','2019-08-23 08:40:36.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_alerts_received_count','Cluster alerts received count','Alert count by cluster','sum by (xm_clst_id, level) (ceil(increase(imxc_alerts_received_count_total{status=''firing'', {filter}}[10m])))','Alert','Cluster',NULL,false,false,'CLST:{{$labels.xm_clst_id}} Alert Received Counts:{{humanize $value}}|{threshold}.','2019-08-23 04:41:49.000','2020-04-28 08:09:09.429');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_cpu_throttled_time','Container CPU Throttled Time','container cpu_throttled time','sum by(xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) (increase(container_cpu_cfs_throttled_seconds_total{container_name!="POD", image!="", {filter}}[10s]))','CPU','Cluster',NULL,false,false,'CLST:{{$labels.xm_clst_id}} CPU Throttled:{{humanize $value}}|{threshold}.','2020-08-19 16:45:00.000','2020-08-19 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_cache_hitrate','All time cache hit rate','All time cache hit rate','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, cache) (cassandra_cache_hitrate {{filter}} * 100)','Cache','Cassandra','cache',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Cache Hit Rate:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-12-13 01:19:54.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('aws_ec2_disk_read_bytes','Bytes Read from All Instance Store Volumes (KiB)','Bytes read from all instance store volumes available to the instance.','sum by (xm_clst_id, instance_id, instance) (aws_ec2_disk_read_bytes_average{{filter}}) / 1024','Disk','AWS/EC2',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Instance:{{$labels.instance_id}} Disk Read Size:{{humanize $value}}KiB|{threshold}KiB.','2019-08-23 17:38:23.000','2019-08-23 17:38:23.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('aws_ec2_disk_write_bytes','Bytes Written to All Instance Store Volumes (KiB)','Bytes written to all instance store volumes available to the instance.','sum by (xm_clst_id, instance_id, instance) (aws_ec2_disk_write_bytes_average{{filter}}) / 1024','Disk','AWS/EC2',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Instance:{{$labels.instance_id}} Disk Write Size:{{humanize $value}}KiB|{threshold}KiB.','2019-08-23 17:38:23.000','2019-08-23 17:38:23.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('aws_ec2_ebswrite_bytes','Bytes written to all EBS volumes (KiB)','Bytes written to all EBS volumes attached to the instance in a specified period of time.','sum by (xm_clst_id, instance_id, instance) (aws_ec2_ebswrite_bytes_average{{filter}}) / 1024','EBS','AWS/EC2',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Instance:{{$labels.instance_id}} EBS Write Size:{{humanize $value}}KiB|{threshold}KiB.','2019-08-23 17:38:23.000','2019-08-23 17:38:23.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_cache_requests_count','Total number of cache requests (count/s)','Total number of cache requests','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, cache) (rate(cassandra_cache_requests_count[1m]))','Cache','Cassandra','cache',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Cache Request per second:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-10-02 10:17:01.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_keyspace_write_latency','Local write latency (ms)','Local write latency seconds for this keyspace','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, keyspace) (cassandra_keyspace_writelatency_seconds{quantile=''0.99''}) * 1000','Disk','Cassandra','keyspace',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Write Latency:{{humanize $value}}ms|{threshold}ms.','2019-10-02 10:17:01.000','2019-10-02 10:17:01.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_memory_usage','Cluster Memory Usage (%)','All Nodes Memory Usage in cluster.','(1- avg by (xm_clst_id) (((node_memory_MemFree_bytes{xm_entity_type=''Node'', {filter}} + node_memory_Cached_bytes{xm_entity_type=''Node'', {filter}} + node_memory_Buffers_bytes{xm_entity_type=''Node'', {filter}}) <= node_memory_MemTotal_bytes{xm_entity_type=''Node'', {filter}} or node_memory_MemFree_bytes{xm_entity_type=''Node'', {filter}}) / node_memory_MemTotal_bytes{xm_entity_type=''Node'', {filter}})) * 100','Memory','Cluster',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Memory Usage:{{humanize $value}}%|{threshold}%.','2019-07-18 06:12:22.000','2020-04-22 04:59:14.251');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mongodb_connections_metrics_created_total','Incoming Connections Created','Count of all incoming connections created to the server (This number includes connections that have since closed)','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mongodb_connections_metrics_created_total[1m]))','Connection','MongoDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MongoDB Incoming Connections Created Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_disk_io','MySQL Disk I/O','MySQL Disk I/O','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(rate(mysql_global_status_innodb_data_read[1m]), "data_type", "read", "", "") or
label_replace(rate(mysql_global_status_innodb_data_written[1m]), "data_type", "written", "", ""))','Disk','MySQL','data_type',true,false,'CLST:{{$labels.xm_clst_id}} SVC:{{$labels.xm_service_name}} Mysql Disk IO:{{humanize $value}}|{threshold}.','2019-12-05 08:48:30.000','2020-02-13 01:12:05.438');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_pod_capacity_count','Cluster Pod Capacity Count','Cluster Pod Capacity Count','sum by (xm_clst_id) (imxc_kubernetes_node_resource_capacity_pods{{filter}})','Pod','Cluster',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Capacity Pod Counts:{{humanize $value}}|{threshold}.','2019-08-27 04:45:52.000','2019-11-28 08:25:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('namespace_kubernetes_event_count','Namespace events count','Kubernetes Namespace Events count','sum by (xm_clst_id, xm_namespace, type) (imxc_kubernetes_event_in_last_min{{filter}})','Event','Namespace','level',false,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Events:{{humanize $value}}|{threshold}.','2019-09-24 06:42:09.000','2019-09-24 06:42:34.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_cpu_capacity_cores','node_cpu_capacity_cores','node_cpu_capacity_cores','imxc_kubernetes_node_resource_capacity_cpu{{filter}}','CPU','Node',NULL,false,false,'None','2019-08-23 08:40:36.000','2019-08-23 08:40:36.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_cpu_allocatable_cores','node_cpu_allocatable_cores','node_cpu_allocatable_cores','imxc_kubernetes_node_resource_allocatable_cpu{{filter}}','CPU','Node',NULL,false,false,'None','2019-08-23 08:40:36.000','2019-08-23 08:40:36.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_pod_capacity_count','Node Pod Capacity Count','Node Pod Capacity Count','imxc_kubernetes_node_resource_capacity_pods{{filter}}','Pod','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Total Capacity Count of Pods:{{humanize $value}}|{threshold}.','2019-10-11 00:29:17.000','2019-11-26 01:29:10.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_memory_allocatable','node_memory_allocatable (Gib)','imxc_kubernetes_node_resource_allocatable_memory in GiB','imxc_kubernetes_node_resource_allocatable_memory{{filter}} / 1024 / 1024 / 1024','Memory','Node',NULL,false,false,'None','2019-08-23 08:45:47.000','2019-08-23 08:45:47.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_memory_limit','node_memory_limit (Gib)','Total container memory limit for the given cluster, node','sum by (xm_clst_id, xm_node_id) (imxc_kubernetes_container_resource_limit_memory{{filter}}) / 1024 / 1024 / 1024','Memory','Node',NULL,false,false,'None','2019-08-23 08:45:47.000','2019-08-23 08:45:47.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_keyspace_readwritelatency_seconds','Cassandra Read/Write Latency (ms)','Cassandra Read/Write Latency (ms)','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, keyspace) (cassandra_keyspace_readlatency_seconds{quantile=''0.99''}) or (cassandra_keyspace_writelatency_seconds{quantile=''0.99''}) * 1000','Disk','Cassandra','keyspace',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} POD:{{$labels.xm_pod_id}} Cassandra Keyspace Readwritelatency Seconds:{{humanize $value}}ms|{threshold}ms.','2019-10-23 01:46:07.000','2019-11-05 09:03:05.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_cpu_usage','Cluster CPU Usage (%)','All Nodes CPU Usage in cluster.','(100 - (avg by (xm_clst_id)(clamp_max(rate(node_cpu_seconds_total{ name=''node-agent'', mode=''idle'', xm_entity_type=''Node'', {filter} }[1m]),1.0)) * 100))','CPU','Cluster',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CPU Usage:{{humanize $value}}%|{threshold}%','2019-07-18 05:54:39.000','2020-04-22 04:59:14.253');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_bytes_received','Number of Bytes Received','The number of bytes received from all clients','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mysql_global_status_bytes_received[1m]))','Network','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Bytes Received:{{humanize $value}}KiB|{threshold}KiB.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_memory_request','node_memory_request (Gib)','Total container memory request in GiB for the given cluster, node','sum by (xm_clst_id, xm_node_id) (imxc_kubernetes_container_resource_request_memory{{filter}}) / 1024 / 1024 / 1024','Memory','Node',NULL,false,false,'None','2019-08-23 08:45:47.000','2019-08-23 08:45:47.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_threadpools_tasks','Number of tasks','Number of tasks','sum by (task_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(cassandra_threadpools_activetasks {{filter}}, "task_type", "active", "", "") or
label_replace(cassandra_threadpools_pendingtasks {{filter}}, "task_type", "pending", "", "") or
label_replace(cassandra_client_connectednativeclients {{filter}}, "task_type", "connected", "", "") )','Task','Cassandra','task_type',true,false,'Number of tasks','2019-10-24 01:34:25.000','2020-02-13 01:14:23.895');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_latency_seconds','Local latency seconds','Local latency seconds','sum by(type, xm_clst_id, xm_namespace, xm_node_id, instance)
(label_replace(cassandra_keyspace_readlatency_seconds{quantile=''0.99'', {filter}}, "type", "read", "", "") or
label_replace(cassandra_keyspace_writelatency_seconds{quantile=''0.99'', {filter}}, "type", "write", "", "")) * 1000','Disk','Cassandra',NULL,true,true,'Local latency seconds','2019-10-24 02:14:45.000','2020-02-13 01:23:46.608');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_wait_time_concurrency','Wait-Time - Concurrency','Generic counter metric from v$waitclassmetric view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_wait_time_concurrency[1m]))','Wait','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Wait-Time - Concurrency:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_threadpools_pendingtasks','Number of queued tasks queued up','Number of queued tasks queued up','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, path) (cassandra_threadpools_pendingtasks)','Task','Cassandra','path',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Active Task:{{humanize $value}}|{threshold}.','2019-10-01 16:45:21.000','2019-10-01 16:45:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_pod_ready_count','Cluster Pod Ready Count','Cluster Pod Ready Count','sum by (xm_clst_id) (imxc_kubernetes_controller_ready{{filter}})','Pod','Cluster',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Ready Pod Counts:{{humanize $value}}|{threshold}.','2019-08-23 17:36:00.000','2019-11-28 08:25:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_pod_allocatable_count','Node Pod Allocatable Count','Node Pod Allocatable Count','imxc_kubernetes_node_resource_allocatable_pods{{filter}}','Pod','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Allocatable Pod Count:{{humanize $value}}|{threshold}.','2019-10-11 00:29:17.000','2019-11-26 01:29:10.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_sparselog_type_conatiner_count','Container Type Sparselog Count','Container-type sparse log count by xm_clst_id, xm_namespace, xm_node_id, xm_pod_id over last 1 min','sum by (xm_entity_type, xm_clst_id, xm_namespace, xm_node_id, xm_pod_id) (round(increase(imxc_sparselog_count_total{xm_entity_type="Pod",{filter}}[1m])))','SparseLog','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Sparselog Count:{{humanize $value}}|{threshold}.','2020-03-26 15:05:51.828','2020-03-26 15:05:51.828');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_threads_connected','Number of Open Connections','The number of currently open connections','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (mysql_global_status_threads_connected)','Thread','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Open Connections Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('aws_ec2_ebsread_bytes','Bytes read from all EBS volumes (KiB)','Bytes read from all EBS volumes attached to the instance in a specified period of time.','sum by (xm_clst_id, instance_id, instance) (aws_ec2_ebsread_bytes_average{{filter}}) / 1024','EBS','AWS/EC2',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Instance:{{$labels.instance_id}} EBS Read Size:{{humanize $value}}KiB|{threshold}KiB.','2019-08-23 17:38:23.000','2019-08-23 17:38:23.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('namespace_cpu_usage','Namespace CPU Usage (%)','CPU Usage by namespace','sum by (xm_clst_id,xm_entity_type,xm_namespace) (rate(container_cpu_usage_seconds_total{xm_entity_type=''Container'', {filter}}[1m])) * 100','CPU','Namespace',NULL,true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} CPU Utillization:{{humanize $value}}%|{threshold}%','2019-08-23 01:06:05.000','2019-08-23 01:06:05.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('namespace_memory_usage','Namespace memory usage (Gib)','Memory usage by namespace in bytes / 1073741824','sum by (xm_clst_id,xm_entity_type,xm_namespace) (container_memory_usage_bytes{xm_entity_type=''Container'', {filter}}) / 1073741824','Memory','Namespace',NULL,true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Memory Utillization:{{humanize $value}}GiB|{threshold}GiB.','2019-08-23 01:21:31.000','2019-08-23 01:21:31.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_memory_free','Node Memory Free (GiB)','Memory information field MemFree_bytes / 1073741824','node_memory_MemFree_bytes{xm_entity_type=''Node'', {filter}} / 1073741824','Memory','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Free Memory Size:{{humanize $value}}GiB|{threshold}GiB.','2019-06-04 16:03:00.000','2019-06-04 16:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_swap_memory_cached','Node Swap Memory Cached (GiB)','Memory information field SwapCached_bytes / 1073741824','node_memory_SwapCached_bytes{xm_entity_type=''Node'', {filter}} / 1073741824','Memory','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Cached Swap Memory Size:{{humanize $value}}GiB|{threshold}GiB.','2019-06-04 16:03:00.000','2019-06-04 16:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_allocator_active_size','Active Memory (MiB)','The total amount of active memory that the Redis allocator has','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (redis_allocator_active_bytes) / 1048576','Memory','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Active Memory:{{humanize $value}}MiB|{threshold}MiB.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_up','MySQL Up Count','Whether the last scrape of metrics from MySQL was able to connect to the server','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (mysql_up)','Instance','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Up counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_up','Oracle DB Up Count','Whether the Oracle database server is up','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (oracledb_up)','Instance','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle DB Up Count:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_process_count','Process Count','Gauge metric with count of processes','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (oracledb_process_count)','Process','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Process Count Count:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_locks_count','Number of Locks','Number of locks','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname, mode) (pg_locks_count)','Lock','PostgreSQL','datname,mode',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Lock Counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_tup_updated','Number of Rows Updated','Number of rows updated by queries in this database','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_tup_updated[1m]))','Row','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Updated Row Counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_tup_deleted','Number of Rows Deleted','Number of rows deleted by queries in this database','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_tup_deleted[1m]))','Row','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Deleted Row counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_temp_files','Number of Temporary Files Created','Number of temporary files created by queries in this database','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_temp_files[1m]))','TemporaryFile','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Temporary File counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_load15','Node CPU Load 15m Average','Node CPU 15m load average','node_load15{xm_entity_type=''Node'',{filter}}','CPU','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} CPU 15m Load Avg:{{humanize $value}}|{threshold}.','2019-05-15 08:27:39.000','2019-05-15 08:27:39.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_cpu_throttling','Node CPU Throttling','Number of times this cpu package has been throttled.','increase(node_cpu_package_throttles_total{xm_entity_type=''Node'',{filter}}[1m])','CPU','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} CPU Throttling Counts:{{humanize $value}}|{threshold}.','2019-05-15 08:29:24.000','2019-05-15 08:29:24.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_cpu_usage','Pod CPU Usage (%)','Pod CPU Usage','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (clamp_min((rate(container_cpu_usage_seconds_total{xm_entity_type=''Container'',{filter}}[1m] offset 10s)),0)) * 100','CPU','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} CPU Usage:{{humanize $value}}%|{threshold}%.','2019-05-15 01:02:23.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_cpu_system','Pod CPU System (%)','Pod CPU Usage (System)','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (rate(container_cpu_system_seconds_total{xm_entity_type=''Container'',{filter}}[1m])) * 100','CPU','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} CPU System:{{humanize $value}}%|{threshold}%.','2019-06-05 09:07:00.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_fs_usage_bytes','Pod Filesystem Used Bytes (GiB)','Number of bytes that are consumed by the container on this filesystem / 1073741824','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (container_fs_usage_bytes{xm_entity_type=''Container'',{filter}}) / 1073741824','Filesystem','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Filesystem Used Bytes:{{humanize $value}}GiB|{threshold}GiB.','2019-06-05 10:27:42.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_fs_limit_bytes','Pod Filesystem Limit Bytes (GiB)','Number of bytes that can be consumed by the container on this filesystem / 1073741824','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (container_fs_limit_bytes{xm_entity_type=''Container'',{filter}}) / 1073741824','Filesystem','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Filesystem Limit Bytes:{{humanize $value}}GiB|{threshold}GiB.','2019-06-05 10:27:42.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_load5','Node CPU Load 5m Average','Node CPU 5m load average','node_load5{xm_entity_type=''Node'',{filter}}','CPU','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} CPU 5m Load Avg:{{humanize $value}}|{threshold}.','2019-05-15 08:26:07.000','2019-05-15 08:26:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_client_connectednativeclients','Number of Client Connections','Number of clients connected to this nodes native protocol server','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (cassandra_client_connectednativeclients)','Connection','Cassandra',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Connection:{{humanize $value}}|{threshold}.','2019-10-01 16:45:21.000','2019-11-07 11:59:04.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_threadpools_activetasks','Number of tasks being actively worked on','Number of tasks being actively worked on','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, path) (cassandra_threadpools_activetasks)','Task','Cassandra','path',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Connection:{{humanize $value}}|{threshold}.','2019-10-01 16:45:21.000','2019-10-01 16:45:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cloudwatch_requests_count','API requests made to CloudWatch','API requests made to CloudWatch','sum by (xm_clst_id, namespace, action) (rate(cloudwatch_requests_total{{filter}}[10m]))','Request','AWS/Usage',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.namespace}} CloudWatch API Call Volume:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('aws_ec2_network_out','Bytes Sent Out on All Network Interfaces (KiB)','The number of bytes sent out on all network interfaces by the instance.','sum by (xm_clst_id, instance_id, instance) (aws_ec2_network_out_average{{filter}}) / 1024','Network','AWS/EC2',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Instance:{{$labels.instance_id}} Network Transmit Usage:{{humanize $value}}KiB|{threshold}KiB.','2019-08-23 17:38:23.000','2019-08-23 17:38:23.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('aws_ec2_network_in','Bytes Received on All Network Interfaces (KiB)','The number of bytes received on all network interfaces by the instance.','sum by (xm_clst_id, instance_id, instance) (aws_ec2_network_in_average{{filter}}) / 1024','Network','AWS/EC2',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Instance:{{$labels.instance_id}} Network Receive Usage:{{humanize $value}}KiB|{threshold}KiB.','2019-08-23 17:38:23.000','2019-08-23 17:38:23.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('namespace_pod_count','Namespace Pod Count','Pod count by namesapce','count (sum (container_last_seen{{filter}}) by (xm_clst_id, xm_namespace, xm_pod_id)) by (xm_clst_id, xm_namespace)','Pod','Namespace',NULL,true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Pod Counts:{{humanize $value}}|{threshold}.','2019-08-22 16:53:32.000','2019-08-23 01:06:12.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_filesystem_usage','Node Filesystem Usage (%)','NODE Filesystem Usage','(1- (sum by (xm_clst_id, xm_node_id, xm_entity_type) (node_filesystem_avail_bytes{xm_entity_type=''Node'', device!=''rootfs'', {filter} }) / sum by (xm_clst_id, xm_node_id, xm_entity_type) (node_filesystem_size_bytes{xm_entity_type=''Node'', device!=''rootfs'', {filter} }))) * 100','Filesystem','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Filesystem Usage:{{humanize $value}}%|{threshold}%.','2019-05-15 01:02:23.000','2019-05-15 01:02:23.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_memory_available','Node Memory Available (GiB)','Memory information field MemAvailable_bytes / 1073741824','node_memory_MemAvailable_bytes{xm_entity_type=''Node'', {filter}} / 1073741824','Memory','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Avail Memory Size:{{humanize $value}}GiB|{threshold}GiB.','2019-06-04 16:03:00.000','2019-06-04 16:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_memory_total','Node Memory Total (GiB)','Memory information field MemTotal_bytes / 1073741824','node_memory_MemTotal_bytes{xm_entity_type=''Node'', {filter}} / 1073741824','Memory','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Total Memory Size:{{humanize $value}}GiB|{threshold}GiB.','2019-06-04 16:03:00.000','2019-06-04 16:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_network_receive','Node Network Receive (KiB)','Network device statistic receive_bytes / 1024','sum by (xm_clst_id, xm_node_id, xm_entity_type) (rate(node_network_receive_bytes_total{xm_entity_type=''Node'',{filter}}[1m]) ) / 1024','Network','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Network Receive Usage:{{humanize $value}}KiB|{threshold}KiB.','2019-05-20 09:07:46.000','2019-05-31 17:45:22.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_network_transmit','Node Network Transmit (KiB)','Network device statistic transmit_bytes / 1024','sum by (xm_clst_id, xm_node_id, xm_entity_type) (rate(node_network_transmit_bytes_total{xm_entity_type=''Node'',{filter}}[1m]) ) / 1024','Network','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Network Transmit Usage:{{humanize $value}}KiB|{threshold}KiB.','2019-05-20 09:09:05.000','2019-05-31 17:46:06.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_pod_allocated_count','Cluster Pod Allocated Count','Cluster Pod Allocated Count','sum by (xm_clst_id) (imxc_kubernetes_node_resource_allocatable_pods{{filter}})','Pod','Cluster',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Allocated Pod Counts:{{humanize $value}}|{threshold}.','2019-08-23 17:36:00.000','2019-11-28 08:25:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_pod_desired_count','Cluster Pod Desired Count','Cluster pod desired count by controller','sum by (xm_clst_id) (imxc_kubernetes_controller_replicas{{filter}})','Pod','Cluster',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Desired Pod Counts:{{humanize $value}}|{threshold}.','2019-08-23 02:26:55.000','2019-11-28 08:25:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_commands_total','Number of Commands Executed','The number of times each XXX command has been executed','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, command) (rate(mysql_global_status_commands_total[1m]) > 0)','Request','MySQL','command',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Commands Executed Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-12 08:20:06.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_threads_running','Number of Threads Running','The number of threads that are not sleeping','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (mysql_global_status_threads_running)','Thread','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Threads Running Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_count_by_dbname_state','Count by dbname and state in pg','count by dbname and state in pg','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, state) (pg_stat_activity_count)','Connection','PostgreSQL','state',true,false,'count by dbname and state in pg','2020-01-30 06:10:54.000','2020-01-31 11:33:41.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('namespace_alerts_received_count','Namespace alerts received count','Alert count by namespace','sum by (xm_clst_id, xm_namespace, level) (floor(increase(imxc_alerts_received_count_total{status=''firing'', {filter}}[10m])))','Alert','Namespace','level',false,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Alert Count:{{humanize $value}}|{threshold}.','2019-08-23 04:43:29.000','2019-08-23 04:43:29.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_reads_count_device','Node Disk Reads Count per Device (IOPS)','Node Disk Reads Count per Device','sum by (xm_clst_id, xm_node_id, xm_entity_type, device, mountpoint) (rate(node_disk_reads_completed_total{xm_entity_type=''Node'', {filter}}[1m]) )','Disk','Node','device',true,false,'NODE:{{$labels.xm_node_id}} FS:{{$labels.mountpoint}} Disk Reads Count:{{humanize $value}}IOPS|{threshold}IOPS.','2019-08-23 11:26:07.000','2019-08-23 11:26:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_read_latency','Node Disk Read Latency (ms)','Node Disk Read Latency','sum by (xm_clst_id,xm_node_id, xm_entity_type) (rate(node_disk_read_time_seconds_total{xm_entity_type=''Node'',{filter}}[1m])) * 1000','Disk','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Disk Read Latency:{{humanize $value}}ms|{threshold}ms.','2019-05-20 10:59:07.000','2019-05-31 17:46:54.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_write_latency_device','Node Disk Write Latency per Device (ms)','Node Disk Write Latency per Device','sum by (xm_clst_id, xm_node_id, xm_entity_type, device, mountpoint) (rate(node_disk_write_time_seconds_total{xm_entity_type=''Node'',{filter}}[1m])) * 1000','Disk','Node','device',true,false,'NODE:{{$labels.xm_node_id}} FS:{{$labels.mountpoint}} Disk Write Latency:{{humanize $value}}ms|{threshold}ms.','2019-08-23 11:26:07.000','2019-08-23 11:26:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_write_bytes','Node Disk Write Bytes (KiB)','The total number of bytes written successfully / 1024','sum by (xm_clst_id, xm_node_id, xm_entity_type) (rate(node_disk_written_bytes_total{xm_entity_type=''Node'', {filter}}[1m]) ) / 1024','Disk','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Disk Write Size:{{humanize $value}}KiB|{threshold}KiB.','2019-06-04 18:11:00.000','2019-06-04 18:11:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_filesystem_avail_size_device','Node Filesystem Available Size per Device (GiB)','Filesystem space available to non-root users in bytes / 1073741824','sum by (xm_clst_id, xm_node_id, xm_entity_type, device, fs_type, mountpoint) (node_filesystem_avail_bytes{xm_entity_type=''Node'', device!=''rootfs'', {filter} }) / 1073741824','Filesystem','Node','device,fs_type',true,false,'NODE:{{$labels.xm_node_id}} FS:{{$labels.mountpoint}} Avail Size:{{humanize $value}}GiB|{threshold}GiB.','2019-08-23 11:26:07.000','2019-08-23 11:26:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_filesystem_free_size_device','Node Filesystem Free Size per Device (GiB)','Filesystem free space in bytes / 1073741824','sum by (xm_clst_id, xm_node_id, xm_entity_type, device, fs_type, mountpoint) (node_filesystem_free_bytes{xm_entity_type=''Node'', device!=''rootfs'', {filter} }) / 1073741824','Filesystem','Node','device,fs_type',true,false,'NODE:{{$labels.xm_node_id}} FS:{{$labels.mountpoint}} Free Size:{{humanize $value}}GiB|{threshold}GiB.','2019-08-23 11:26:07.000','2019-08-23 11:26:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_filesystem_total_size_device','Node Filesystem Total Size per Device (GiB)','Filesystem size in bytes / 1073741824','sum by (xm_clst_id, xm_node_id, xm_entity_type, device, fs_type, mountpoint) (node_filesystem_size_bytes{xm_entity_type=''Node'', device!=''rootfs'', {filter} }) / 1073741824','Filesystem','Node','device,fs_type',true,false,'NODE:{{$labels.xm_node_id}} FS:{{$labels.mountpoint}} Total Size:{{humanize $value}}GiB|{threshold}GiB.','2019-08-23 11:26:07.000','2019-08-23 11:26:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_swap_memory_free','Node Swap Memory Free (GiB)','Memory information field SwapFree_bytes / 1073741824','node_memory_SwapFree_bytes{xm_entity_type=''Node'', {filter}} / 1073741824','Memory','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Free Swap Memory Size:{{humanize $value}}GiB|{threshold}GiB.','2019-06-04 16:03:00.000','2019-06-04 16:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_swap_memory_total','Node Swap Memory Total (GiB)','Memory information field SwapTotal_bytes / 1073741824','node_memory_SwapTotal_bytes{xm_entity_type=''Node'', {filter}} / 1073741824','Memory','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Total Swap Memory Size:{{humanize $value}}GiB|{threshold}GiB.','2019-06-04 16:03:00.000','2019-06-04 16:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_up','PostgreSQL Up Count','Whether the last scrape of metrics from PostgreSQL was able to connect to the server','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (pg_up)','Instance','PostgreSQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Instance Count:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_innodb_buffer_pool_write_requests','Number of Writes to Buffer Pool','The number of writes done to the InnoDB buffer pool','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mysql_global_status_innodb_buffer_pool_write_requests[1m]))','Block','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Writes to Buffer Pool Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_innodb_buffer_pool_read_requests','Number of Logical Read Requests','The number of logical read requests','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mysql_global_status_innodb_buffer_pool_read_requests[1m]))','Block','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Logical Read Requests Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_innodb_data_read','Amount of Data Read','The amount of data read since the server was started (in bytes)','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mysql_global_status_innodb_data_read[1m]))','Disk','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Amount of Data Read Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_innodb_os_log_written','Number of Bytes Written to Redo Log','The number of bytes written to the InnoDB redo log files','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mysql_global_status_innodb_os_log_written[1m]))','Disk','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Bytes Written to Redo Log Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_innodb_data_written','Amount of Data Written','The amount of data written so far, in bytes','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mysql_global_status_innodb_data_written[1m]))','Disk','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Amount of Data Written Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_sum_by_pod','Container Memory Request/Limits vs Used by Pod','container_memory_sum_by_pod','sum by(xm_clst_id, xm_namespace, xm_node_id, xm_pod_id, xm_cont_name, data_type) (
label_replace(imxc_kubernetes_container_resource_limit_memory{{filter}}, "data_type", "limit", "" ,  "") or
label_replace(imxc_kubernetes_container_resource_request_memory{{filter}}, "data_type", "request", "" ,  "") or
label_replace(container_memory_usage_bytes{xm_entity_type=''Container'',{filter}}, "data_type", "used", "" ,  ""))','Memory','Pod',NULL,true,false,'Container memory sum by pod (limit, request, used)','2020-07-22 21:44:33.000','2020-07-22 21:44:33.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_cache_hit_ratio','Buffer Cache Hit Ratio','Buffer Cache Hit Ratio','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (
(1 - increase(mysql_global_status_innodb_buffer_pool_reads [1h]) / increase(mysql_global_status_innodb_buffer_pool_read_requests [1h])) * 100)','Block','MySQL',NULL,true,false,'.','2019-12-05 07:47:50.000','2019-12-13 01:17:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_cpu_sum_by_cluster','Container CPU Request/Limits vs Used by Cluster','Container cpu sum by cluster (capacity, limit, request, usage)','sum by(xm_clst_id, data_type) (
label_replace(imxc_kubernetes_node_resource_capacity_cpu{{filter}} *0.001, "data_type", "capacity" ,  "", "") or
label_replace(sum by (xm_clst_id) (imxc_kubernetes_container_resource_limit_cpu{{filter}})*0.001, "data_type", "limit", "" ,  "") or
label_replace(sum by (xm_clst_id) (imxc_kubernetes_container_resource_request_cpu{{filter}})*0.001, "data_type", "request", "" ,  "") or
label_replace(sum by(xm_clst_id)(rate(container_cpu_usage_seconds_total{{filter}}[1m])), "data_type", "used", "" ,  ""))','CPU','Cluster',NULL,true,false,'Container cpu sum by cluster','2020-07-22 17:49:53.000','2020-07-22 17:49:53.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_filesystem_total_size','Node Filesystem Total Size (GiB)','Filesystem size in bytes / 1073741824','sum by (xm_clst_id, xm_node_id, xm_entity_type) (node_filesystem_size_bytes{xm_entity_type=''Node'', device!=''rootfs'', {filter} }) / 1073741824','Filesystem','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Filesystem Total Size:{{humanize $value}}GiB|{threshold}GiB.','2019-06-04 19:47:00.000','2019-06-04 19:47:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_filesystem_free_size','Node Filesystem Free Size (GiB)','Filesystem free space in bytes / 1073741824','sum by (xm_clst_id, xm_node_id, xm_entity_type) (node_filesystem_free_bytes{xm_entity_type=''Node'', device!=''rootfs'', {filter} }) / 1073741824','Filesystem','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Filesystem Free Size:{{humanize $value}}GiB|{threshold}GiB.','2019-06-04 19:47:00.000','2019-06-04 19:47:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_cpu_sum_by_pod','Container CPU Request/Limits vs Used by Pod','Container cpu sum by pod (capacity, limit, request, usage)','sum by(xm_clst_id, xm_namespace, xm_node_id, xm_pod_id, xm_cont_name, data_type)(
label_replace (rate(container_cpu_usage_seconds_total{xm_entity_type=''Container'',{filter}}[1m]), "data_type", "used", "", "")  or
label_replace (imxc_kubernetes_container_resource_limit_cpu{{filter}}*0.001, "data_type", "limit", "", "") or
label_replace (imxc_kubernetes_container_resource_request_cpu{{filter}}*0.001, "data_type", "request", "", "")
)','CPU','Pod',NULL,true,false,'Container cpu sum by Pod','2020-07-22 21:37:45.000','2020-07-22 21:37:45.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_count_by_lockmode','Count_by_lockmode','Count by lockmode','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, mode) (pg_locks_count)','Lock','PostgreSQL','mode',true,false,'Count by lockmode','2020-01-30 07:06:13.000','2020-01-30 07:06:47.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_innodb_row_lock_current_waits','Number of Row Locks ','The number of row locks currently being waited for by operations on InnoDB tables','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (mysql_global_status_innodb_row_lock_current_waits)','Lock','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Row Locks Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_memory_capacity','cluster_memory_capacity (Gib)','imxc_kubernetes_node_resource_capacity_memory','sum by (xm_clst_id) (imxc_kubernetes_node_resource_capacity_memory{{filter}})','Memory','Cluster',NULL,false,false,'CLST:{{$labels.xm_clst_id}} Memory Capacity:{{humanize $value}}GiB|{threshold}GiB.','2019-08-23 08:46:58.000','2020-05-27 09:05:56.427');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_fs_free','Host system Filesystem free','Host File system free','sum by (instance) (node_filesystem_free_bytes{{filter}})','Filesystem','Host',NULL,true,false,'Host:{{$labels.instance}} Filesystem Free Size:{{humanize $value}}KiB|{threshold}KiB.','2020-03-23 04:08:29.025','2020-03-23 04:08:29.025');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_fs_total','Host system Filesystem total','Host File system total','sum by (instance) (node_filesystem_size_bytes{{filter}})','Filesystem','Host',NULL,true,false,'Host:{{$labels.instance}} Filesystem Total Size:{{humanize $value}}KiB|{threshold}KiB.','2020-03-23 04:08:27.634','2020-03-23 04:08:27.634');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_swap_used','Host Swap Memory Used','Host Swap Used','node_memory_SwapTotal_bytes{{filter}} - node_memory_SwapFree_bytes{{filter}}','Memory','Host',NULL,true,false,'Host:{{$labels.instance}} Used Swap Memory Size:{{humanize $value}}KiB|{threshold}KiB.','2020-03-23 04:08:26.169','2020-03-23 04:08:26.169');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_read_bytes_device','Node Disk Read Bytes per Device (KiB)','The total number of bytes read successfully / 1024','sum by (xm_clst_id, xm_node_id, xm_entity_type, device, mountpoint) (rate(node_disk_read_bytes_total{xm_entity_type=''Node'', {filter}}[1m]) ) / 1024','Disk','Node','device',true,false,'NODE:{{$labels.xm_node_id}} FS:{{$labels.mountpoint}} Disk Read Size:{{humanize $value}}KiB|{threshold}KiB.','2019-08-23 11:26:07.000','2019-08-23 11:26:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_read_bytes','Node Disk Read Bytes (KiB)','The total number of bytes read successfully / 1024','sum by (xm_clst_id, xm_node_id, xm_entity_type) (rate(node_disk_read_bytes_total{xm_entity_type=''Node'', {filter}}[1m]) ) / 1024','Disk','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Disk Read Size:{{humanize $value}}KiB|{threshold}KiB.','2019-06-04 18:11:00.000','2019-06-04 18:11:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_xact_rollback','Number of Transactions Rolled Back','Number of transactions in this database that have been rolled back','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_xact_rollback[1m]))','Transaction','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Rollback Counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_xact_commit','Number of Transactions Committed','Number of transactions in this database that have been committed','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_xact_commit[1m]))','Transaction','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Commit Counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_innodb_row_ops_total','Number of Rows Operated','The number of rows operated in InnoDB tables','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, operation) (rate(mysql_global_status_innodb_row_ops_total[1m]))','Row','MySQL','operation',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Rows Operated Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_table_locks_immediate','Number of Table Lock Immediate','The number of times that a request for a table lock could be granted immediately','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mysql_global_status_table_locks_immediate[1m]))','Lock','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Table Lock Immediate Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_keyspace_range_count','Local range scan count (count/s)','Local range scan count for this keyspace','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, keyspace) (rate(cassandra_keyspace_rangelatency_seconds_count[1m]))','Disk','Cassandra','keyspace',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Range Scan Count:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-10-02 10:17:01.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_table_locks_waited','Number of Table Lock Waited','The number of times that a request for a table lock could not be granted immediately and a wait was needed','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mysql_global_status_table_locks_waited[1m]))','Lock','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Table Lock Waited Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_blk_read_time','Time Spent Reading Data File Blocks (ms)','Time spent reading data file blocks by backends in this database, in milliseconds','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_blk_read_time[1m]))','Block','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Block Read Time:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_blk_write_time','Time Spent Writing Data File Blocks (ms)','Time spent writing data file blocks by backends in this database, in milliseconds','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_blk_write_time[1m]))','Block','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Block Write Time:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_blks_read','Number of Disk Blocks Read','Number of disk blocks read in this database','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_blks_read[1m]))','Block','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Block Read Counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_blks_hit','Number of Block Cache Hit','Number of times disk blocks were found already in the buffer cache','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_blks_hit[1m]))','Block','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Block Hit Counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_activity_count','Number of Client Connections','number of connections in this state','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname, state) (pg_stat_activity_count{{filter}})','Connection','PostgreSQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Connection Counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-11-18 04:16:33.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_tup_fetched','Number of Rows Fetched','Number of rows fetched by queries in this database','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_tup_fetched[1m]))','Row','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Fetched Row Counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_tup_inserted','Number of Rows Inserted','Number of rows inserted by queries in this database','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_tup_inserted[1m]))','Row','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Inserted Row Counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_keyspace_range_latency','Local range scan latency (ms)','Local range scan latency seconds for this keyspace','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, keyspace) (cassandra_keyspace_rangelatency_seconds{quantile=''0.99''}) * 1000','Disk','Cassandra','keyspace',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Range Scan Latency:{{humanize $value}}ms|{threshold}ms.','2019-10-02 10:17:01.000','2019-10-02 10:17:01.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_commitlog_size','Size used by commit log segments (KiB/s)','Current size, in bytes, used by all the commit log segments / 1024','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(cassandra_commitlog_totalcommitlogsize[1m]){{filter}}) / 1024','Log','Cassandra',NULL,true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Commit Log Volume:{{humanize $value}}KiB/s|{threshold}KiB/s.','2019-10-02 10:17:01.000','2019-11-05 08:07:03.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_commitlog_messages','Number of commit log messages written (count/s)','Total number of commit log messages written','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(cassandra_commitlog_completedtasks[1m]))','Log','Cassandra',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Commit Log Message per second:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-10-02 10:17:01.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_clientrequest_count','Number of client requests (count/s)','Number of client requests by request type','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, clientrequest) (rate(cassandra_clientrequest_latency_seconds_count{{filter}}[1m]))','Request','Cassandra','clientrequest',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Client Request per second:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-11-05 11:04:25.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_memory_active','Node Memory Active (GiB)','Memory information field Active_bytes in GiB','node_memory_Active_bytes{xm_entity_type=''Node'', {filter}} / 1024 / 1024 / 1024','Memory','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Active Memory:{{humanize $value}}GiB|{threshold}GiB.','2020-06-04 11:11:11.000','2020-06-04 11:11:11.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_tup_returned','Number of Rows Returned','Number of rows returned by queries in this database','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_tup_returned[1m]))','Row','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Returned Row Counts:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_keyspace_write_count','Local write count (count/s)','Local write count for this keyspace','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, keyspace) (rate(cassandra_keyspace_writelatency_seconds_count[1m]))','Disk','Cassandra','keyspace',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Write Count:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-10-02 10:17:01.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_sum_by_cluster','Container Memory Request/Limits vs Used by Cluster','Container memory sum by cluster','sum by (xm_clst_id, data_type)(
label_replace(imxc_kubernetes_node_resource_capacity_memory{{filter}}, "data_type", "capacity", "" , "") or
label_replace(imxc_kubernetes_container_resource_limit_memory{{filter}}, "data_type", "limit", "", "") or
label_replace(imxc_kubernetes_container_resource_request_memory{{filter}}, "data_type", "request", "", "") or
label_replace(container_memory_usage_bytes{xm_entity_type=''Container'',{filter}}, "data_type", "used", "" ,  ""))','Memory','Cluster',NULL,true,false,'Container memory sum by cluster','2020-07-22 21:23:15.000','2020-07-22 21:23:15.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_memory_capacity','node_memory_capacity (Gib)','node memory capacity in GiB','imxc_kubernetes_node_resource_capacity_memory{{filter}} / 1024 / 1024 / 1024','Memory','Node',NULL,false,false,'None','2019-08-23 08:46:58.000','2019-08-23 08:46:58.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_cpu_request_cores','cluster_cpu_request_cores','cluster_cpu_request_cores','sum by (xm_clst_id) (imxc_kubernetes_container_resource_request_cpu{{filter}})','CPU','Cluster',NULL,false,false,'None','2019-08-23 08:40:36.000','2019-08-23 08:40:36.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_cpu_request_cores','node_cpu_request_cores','node_cpu_request_cores','sum by (xm_clst_id, xm_node_id) (imxc_kubernetes_container_resource_request_cpu{{filter}})','CPU','Node',NULL,false,false,'None','2019-08-23 08:40:36.000','2019-08-23 08:40:36.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_cpu_limit_cores','cluster_cpu_limit_cores','cluster_cpu_limit_cores','sum by (xm_clst_id) (imxc_kubernetes_container_resource_limit_cpu{{filter}})','CPU','Cluster',NULL,false,false,'None','2019-08-23 08:40:36.000','2019-08-23 08:40:36.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_cpu_limit_cores','node_cpu_limit_cores','node_cpu_limit_cores','sum by (xm_clst_id, xm_node_id) (imxc_kubernetes_container_resource_limit_cpu{{filter}})','CPU','Node',NULL,false,false,'None','2019-08-23 08:40:36.000','2019-08-23 08:40:36.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_clientrequest_unavailables_count','Number of unavailable exceptions encountered','Number of unavailable exceptions encountered','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, clientrequest) (rate(cassandra_clientrequest_unavailables_count[1m]))','Request','Cassandra','clientrequest',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Unavailable Request:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-10-02 10:17:01.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_up','Cassandra Up Count','Whether the last scrape of metrics from Cassandra was able to connect to the server','count by (xm_clst_id, xm_namespace, xm_node_id, instance) (cassandra_bufferpool_size{{filter}})','Instance','Cassandra',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Instances:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-11-05 17:01:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mongodb_up','MongoDB Up Count','The number of seconds that the current MongoDB process has been active','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mongodb_instance_uptime_seconds[1m]))','Instance','MongoDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MongoDB Up Count Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mongodb_global_lock_current_queue','Number of Operations Waiting','The number of operations that are currently queued and waiting for the read or write lock','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, type) (mongodb_global_lock_current_queue)','Lock','MongoDB','type',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MongoDB Number of Operations Waiting Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mongodb_global_lock_client','Number of Active Client','The number of the active client connections performing read or write operations','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, type) (mongodb_global_lock_client)','Lock','MongoDB','type',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MongoDB Number of Active Client Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mongodb_metrics_document_total','Number of Documents Processed','The total number of documents processed','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, state) (rate(mongodb_metrics_document_total[1m]))','Row','MongoDB','state',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MongoDB Number of Documents Processed Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_keyspace_totaldiskspaceused','Total disk space used (GiB)','Total disk space used belonging to this keyspace / 1073741824','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, keyspace) (cassandra_keyspace_totaldiskspaceused {{filter}}) / 1073741824','Disk','Cassandra','keyspace',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Disk Space:{{humanize $value}}GiB|{threshold}GiB.','2019-10-02 10:17:01.000','2019-11-07 01:14:39.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_keyspace_read_latency','Local read latency (ms)','Local read latency seconds for this keyspace','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, keyspace) (cassandra_keyspace_readlatency_seconds{quantile=''0.99''}) * 1000','Disk','Cassandra','keyspace',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Read Latency:{{humanize $value}}ms|{threshold}ms.','2019-10-02 10:17:01.000','2019-10-02 10:17:01.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_threadpools_totalblockedtasks','Number of tasks that were blocked (count/s)','Number of tasks that were blocked due to queue saturation in a second','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, path) (rate(cassandra_threadpools_totalblockedtasks_count[1m]))','Task','Cassandra','path',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Blocked Task per second:{{humanize $value}}|{threshold}.','2019-10-01 16:45:21.000','2019-10-01 16:45:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_threadpools_completedtasks','Number of tasks completed (count/s)','Number of tasks completed in a second','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, path) (rate(cassandra_threadpools_completedtasks{{filter}}[1m]))','Task','Cassandra','path',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Pending Task per second:{{humanize $value}}|{threshold}.','2019-10-01 16:45:21.000','2019-11-05 08:08:57.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mongodb_memory','Amount of Memory, in MebiByte','The amount of memory, in mebibyte (MiB), currently used by the database process','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, type) (mongodb_memory)','Memory','MongoDB','type',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MongoDB Amount of Memory:{{humanize $value}}MiB|{threshold}MiB.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_resource_utilization','Resource Usage','Gauge metric with resource utilization','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, resource_name) (oracledb_resource_current_utilization)','Resource','OracleDB','resource_name',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Resource Usage:{{humanize $value}}%|{threshold}%.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_clientrequest_timeouts_count','Number of timeouts encountered','Number of timeouts encountered','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, clientrequest) (rate(cassandra_clientrequest_timeouts_count[1m]))','Request','Cassandra','clientrequest',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Timeout Request:{{humanize $value}}|{threshold}.','2019-10-02 10:17:01.000','2019-10-02 10:17:01.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mongodb_network_bytes_total','Amount of Network Traffic','The number of bytes that reflects the amount of network traffic','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, state) (rate(mongodb_network_bytes_total[1m]))','Network','MongoDB','state',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MongoDB Amount of Network Traffic Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mongodb_op_counters_total','Number of Operations','The total number of operations since the mongod instance last started','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, type) (rate(mongodb_op_counters_total[1m]))','Request','MongoDB','type',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MongoDB Number of Operations Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_innodb_row_lock_waits','Number of Waits for Row Locks','The number of times operations on InnoDB tables had to wait for a row lock','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mysql_global_status_innodb_row_lock_waits[1m]))','Lock','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Waits for Row Locks Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_activity_execute_count','Execute Count','Generic counter metric from v$sysstat view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_activity_execute_count[1m]))','Request','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Execute Count:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_activity_user_commits','User Commits','Generic counter metric from v$sysstat view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_activity_user_commits[1m]))','Request','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle User Commit:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_activity_parse_count','Parse Count','Generic counter metric from v$sysstat view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_activity_parse_count_total[1m]))','Request','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Parse Count:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_activity_user_rollbacks','User Rollbacks','Generic counter metric from v$sysstat view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_activity_user_rollbacks[1m]))','Request','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle User Rollback:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_fs_writes','Pod Filesystem Write Bytes (KiB)','Cumulative count of bytes written / 1024','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (rate(container_fs_writes_bytes_total{xm_entity_type=''Container'',{filter}}[1m])) / 1024','Filesystem','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Filesystem Write Bytes:{{humanize $value}}KiB|{threshold}KiB.','2019-05-20 05:58:07.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_memory_usage','Pod Memory Usage (%)','Pod Memory Usage Compared to Limit','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (
container_memory_usage_bytes{xm_entity_type=''Container'',{filter}} / ((container_spec_memory_limit_bytes{xm_entity_type=''Container'',{filter}} * 100) > 0)  or
container_memory_usage_bytes{xm_entity_type=''Container'',{filter}} / 1024)','Memory','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Used Utillization:{{humanize $value}}%|{threshold}%.','2019-06-05 14:27:36.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_memory_usage_bytes','Pod Memory Used (GiB)','Current memory usage in bytes /  1073741824','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (container_memory_usage_bytes{xm_entity_type=''Container'',{filter}}) / 1073741824','Memory','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Used Memory:{{humanize $value}}GiB|{threshold}GiB.','2019-06-05 14:27:36.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_cache_hit_ratio','Buffer Cache Hit Ratio (%)','Number of Block Cache Hit / (Number of Block Cache Hit & Blocks Reads) * 100','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (increase(pg_stat_database_blks_hit[1h]) / (increase(pg_stat_database_blks_read[1h]) + increase(pg_stat_database_blks_hit[1h]))  * 100)','Block','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Cache Hit Ratio:{{humanize $value}}%|{threshold}%.','2019-08-27 15:49:21.000','2019-12-13 01:33:39.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_wait_time_other','Wait-Time - Other','Generic counter metric from v$waitclassmetric view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_wait_time_other[1m]))','Wait','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Wait-Time - Other:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_wait_time_configuration','Wait-Time - Configuration','Generic counter metric from v$waitclassmetric view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_wait_time_configuration[1m]))','Wait','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Wait-Time - Configuration{{humanize $value}}|{threshold}','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_wait_time_commit','Wait-Time - Commit','Generic counter metric from v$waitclassmetric view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_wait_time_commit[1m]))','Wait','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Wait-Time - Commit:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_wait_time_scheduler','Wait-Time - Scheduler','Generic counter metric from v$waitclassmetric view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_wait_time_scheduler[1m]))','Wait','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Wait-Time - Scheduler:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_wait_time_system_io','Wait-Time - System I/O','Generic counter metric from v$waitclassmetric view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_wait_time_system_io[1m]))','Wait','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Wait-Time - System I/O:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_wait_time_user_io','Wait-Time - User I/O','Generic counter metric from v$waitclassmetric view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_wait_time_user_io[1m]))','Wait','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Wait-Time - User I/O:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_wait_time_network','Wait-Time - Network','Generic counter metric from v$waitclassmetric view in Oracle','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(oracledb_wait_time_network[1m]))','Wait','OracleDB',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Wait-Time - Network:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-01-28 13:03:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_blocked_clients','Blocked Clients','Number of clients pending on a blocking call (BLPOP, BRPOP, BRPOPLPUSH)','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (redis_blocked_clients)','Connection','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Blocked Clients:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_connected_clients','Connected Clients','Number of client connections (excluding connections from replicas)','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (redis_connected_clients)','Connection','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Connected Clients:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_connections_received','Received Connections','Total number of connections accepted by the server','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(redis_connections_received_total[1m]))','Connection','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Received Connections:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_rejected_connections','Rejected Connections','Number of connections rejected because of maxclients limit','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(redis_rejected_connections_total[1m]))','Connection','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Rejected Connections:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_up','Redis Up Count','Whether the Redis server is up','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (redis_up)','Instance','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Up Count:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_commands_total','Call Count / Command','Total number of calls per command','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, cmd) (rate(redis_commands_total[1m]))','Request','Redis','cmd',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Call Count:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_commands_processed','Processed Commands','Total number of commands processed by the server','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(redis_commands_processed_total[1m]))','Request','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace:}} Redis Processed Commands:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_key_hit_raito','Redis key hit raito','redis key hit raito','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(rate(redis_keyspace_hits_total [1m]), "data_type", "hits", "" ,  "") or
label_replace(rate(redis_keyspace_misses_total [1m]), "data_type", "misses", "" ,  "") )','Keyspace','Redis','data_type',true,false,'redis key hit raito','2020-01-29 02:28:03.000','2020-02-13 00:46:27.568');

-- CLOUD-16405 Metric Meta | 대시보드 관련 메트릭 수정
-- REDIS Slave 관련  메트릭 추가
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES
     ('redis_connected_slave_lag_seconds','Redis Connected Slave Lag Seconds','Redis Connected Slave Lag Seconds','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, slave_ip, slave_port) (rate(redis_connected_slave_lag_seconds[1m]))','Worker','Redis',NULL,true,true,'Redis Connected Slave Lag Seconds','2023-03-16 14:39:57.420','2023-03-16 14:39:57.420'),
     ('redis_connected_slave_offset_bytes','Redis Connected Slave Offset Bytes','Redis Connected Slave Offset Bytes','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, slave_ip, slave_port) (rate(redis_connected_slave_offset_bytes[1m]))','Worker','Redis',NULL,true,true,'Redis Connected Slave Offset Bytes','2023-03-16 14:37:43.734','2023-03-16 14:38:22.164'),
     ('redis_connected_slaves','Redis Connected Slaves','Redis Connected Slaves','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (redis_connected_slaves)','Worker','Redis',NULL,true,true,'Redis Connected Slaves','2023-03-16 13:57:09.423','2023-03-16 13:59:50.746');

INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_net_byte_total','Network byte','Network byte','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(rate(redis_net_input_bytes_total [1m]), "data_type", "input", "", "") or
label_replace(rate(redis_net_output_bytes_total [1m]), "data_type", "output", "", ""))','Network','PostgreSQL','data_type',true,false,'Network byte','2020-01-30 07:22:12.000','2020-02-13 01:04:18.528');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_memory_cache','Pod Memory Cache (GiB)','Number of bytes of page cache memory / 1073741824','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (container_memory_cache{xm_entity_type=''Container'',{filter}}) / 1073741824','Memory','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Cache Memory:{{humanize $value}}GiB|{threshold}GiB.','2019-06-05 14:27:36.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_memory_swap','Pod Memory Swap (GiB)','Pod swap usage in bytes / 1073741824','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (container_memory_swap{xm_entity_type=''Container'',{filter}}) / 1073741824','Memory','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Swap Memory:{{humanize $value}}GiB|{threshold}GiB.','2019-06-05 14:27:36.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_wait_time_total','Oracledb wait time total','oracledb wait time total','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(rate(oracledb_wait_time_scheduler[1m]), "data_type", "scheduler", "", "") or
label_replace(rate(oracledb_wait_time_commit[1m]), "data_type", "commit", "", "") or
label_replace(rate(oracledb_wait_time_network[1m]), "data_type", "network", "", "") or
label_replace(rate(oracledb_wait_time_concurrency[1m]), "data_type", "concurrency", "", "") or
label_replace(rate(oracledb_wait_time_Configuration[1m]), "data_type", "configuration", "", "") or
label_replace(rate(oracledb_wait_time_user_io[1m]), "data_type", "user_io", "", "") or
label_replace(rate(oracledb_wait_time_system_io[1m]), "data_type", "system_io", "", "") or
label_replace(rate(oracledb_wait_time_other[1m]), "data_type", "other", "", ""))','Wait','OracleDB','data_type',true,false,'oracledb wait time total','2020-01-29 11:03:20.000','2020-02-13 01:08:01.629');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_activity_count','Oracledb activity count','oracledb activity count','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(rate(oracledb_activity_execute_count [1m]), "data_type", "excutecount", "", "") or
label_replace(rate(oracledb_activity_parse_count_total[1m]), "data_type", "parse_count", "", "") )','Request','OracleDB','data_type',true,false,'oracledb activity count','2020-01-29 10:40:58.000','2020-02-13 01:12:05.436');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_transaction','Oracledb transaction','oracledb transaction','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(rate(oracledb_activity_user_rollbacks[1m]), "data_type", "rollbacks", "", "") or
label_replace(rate(oracledb_activity_user_commits[1m]), "data_type", "commits", "", ""))','Request','OracleDB','data_type',true,false,'oracledb transaction','2020-01-29 11:20:47.000','2020-02-13 01:26:28.558');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_cpu_usage','Redis cpu usage','redis cpu usage','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(rate(redis_cpu_sys_seconds_total[1m]), "data_type", "system", "", "") or 
label_replace(rate(redis_cpu_user_seconds_total[1m]), "data_type", "user", "", "") )','CPU','Redis','data_type',true,false,'redis cpu usage','2020-01-29 01:56:58.000','2020-02-12 04:47:21.228');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_total_load','host total load','host total load','sum by (instance, data_type) (
label_replace(node_load1 {{filter}}, "data_type", "load 1", "", "") or
label_replace(node_load5 {{filter}}, "data_type", "load 5", "", "") or
label_replace(node_load15 {{filter}}, "data_type", "load15", "", "") )','CPU','Host',NULL,false,false,'host total load','2020-04-01 08:10:26.588','2020-04-03 01:23:47.665');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_used_cpu_sys_children','System CPU Used Background','System CPU consumed by the background processes','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(redis_cpu_sys_children_seconds_total[1m]))','CPU','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis System CPU Used Backedground:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_keyspace_hits','Keyspace Hits','Number of successful lookup of keys in the main dictionary','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(redis_keyspace_hits_total[1m]))','Keyspace','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Keyspace Hits:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_keyspace_misses','Keyspace Misses','Number of failed lookup of keys in the main dictionary','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(redis_keyspace_misses_total[1m]))','Keyspace','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Keyspace Misses:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_db_keys','DB Keys Count','Total number of keys by DB','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, db) (redis_db_keys)','Keyspace','Redis','db',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis DB Keys Count:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_expired_keys','Expired Keys','Total number of key expiration events','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(redis_expired_keys_total[1m]))','Keyspace','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Expired Keys:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_evicted_keys','Evicted Keys','Number of evicted keys due to maxmemory limit','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(redis_evicted_keys_total[1m]))','Keyspace','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Evicted Keys:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_db_keys_expiring','DB Keys Count Expiring','Total number of expiring keys by DB','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, db) (redis_db_keys_expiring)','Keyspace','Redis','db',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis DB Keys Count Expiring:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_commands_duration_seconds','Duration Seconds / Command','Total duration seconds per command','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, cmd) (rate(redis_commands_duration_seconds_total[1m]) * 1000)','Request','Redis','cmd',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Duration Seconds:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-29 01:42:36.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_memory_total','Redis memory total','redis memory total','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(redis_allocator_active_bytes / 1048576, "data_type", "active", "" ,  "") or
label_replace(redis_memory_used_bytes / 1048576, "data_type", "used", "" ,  "") or
label_replace(redis_allocator_allocated_bytes / 1048576, "data_type", "allocated", "" ,  "") or
label_replace(redis_allocator_resident_bytes / 1048576, "data_type", "resident", "" ,  "") )','Memory','Redis','data_type',true,false,'redis memory total','2020-01-29 02:08:28.000','2020-02-13 00:45:28.475');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('count_by_connection_type','Count by connection type','count by connection type','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(rate(redis_connections_received_total [1m]), "data_type", "received connections", "", "") or
label_replace(rate(redis_rejected_connections_total [1m]), "data_type", "rejected connections", "", "") or
label_replace(redis_connected_clients, "data_type", "connected clients", "", "") or
label_replace(redis_blocked_clients, "data_type", "blocked clients", "", "") )','Connection','Redis','data_type',true,false,'count by connection type','2020-01-29 00:49:09.000','2020-02-13 01:04:18.528');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_tup_count','Number of row by stat','Number of row by stat','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, data_type)
(label_replace(rate(pg_stat_database_tup_deleted[1m]), "data_type", "deleted", "", "") or
label_replace(rate(pg_stat_database_tup_updated[1m]), "data_type", "updated", "", "") or
label_replace(rate(pg_stat_database_tup_inserted[1m]), "data_type", "inserted", "", "") or
label_replace(rate(pg_stat_database_tup_returned[1m]), "data_type", "returned", "", "") or
label_replace(rate(pg_stat_database_tup_fetched[1m]), "data_type", "fetched", "", "") )','Row','PostgreSQL','data_type',true,true,'Number of row by stat','2019-10-28 07:29:26.000','2020-02-13 01:04:18.528');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_blk_read_write_time','Read/Write spent time by file blocks','Read/Write spent time by file blocks','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, data_type)
(label_replace(rate(pg_stat_database_blk_read_time [1m]), "data_type", "read", "", "") or
label_replace(rate(pg_stat_database_blk_write_time [1m]), "data_type", "write", "", ""))','Block','PostgreSQL','data_type',true,false,'Read/Write spent time by file blocks','2019-10-28 10:56:48.000','2020-02-13 01:06:46.680');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_allocator_resident_size','Resident Memory (MiB)','The total amount of resident memory that the Redis allocator has','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (redis_allocator_resident_bytes) / 1048576','Memory','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Resident Memory:{{humanize $value}}MiB|{threshold}MiB.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_memory_used_size','Used Memory (MiB)','Total number of bytes allocated by Redis using its allocator','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (redis_memory_used_bytes) / 1048576','Memory','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis Used Memory:{{humanize $value}}MiB|{threshold}MiB.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_clientrequest_anormal_count','Number of anormal request','Number of anormal request ','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, anormal_type)
(label_replace(rate(cassandra_clientrequest_unavailables_count[1m]), "anormal_type", "unavailables", "", "") or
label_replace(rate(cassandra_clientrequest_timeouts_count[1m]), "anormal_type", "timeouts", "", "") or
label_replace(rate(cassandra_clientrequest_failures_count[1m]), "anormal_type", "failures", "", ""))','Request','Cassandra','anomal_type',true,false,'Number of anormal request ','2019-10-28 02:09:45.000','2020-02-13 01:16:24.862');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_commitlog','Commitlog count and size','Commitlog count and size','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance)
(label_replace(rate(cassandra_commitlog_completedtasks {{filter}}[1m]), "data_type", "log_count", "", "") or
label_replace(rate(cassandra_commitlog_totalcommitlogsize {{filter}}[1m]) / 1048576, "data_type", "log_size", "", ""))','Log','Cassandra','data_type',true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Cassandra Cache Hit Rate:{{humanize $value}}|{threshold}.','2019-10-24 10:44:47.000','2020-02-13 01:16:24.864');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_threads_total','Number of Threads','Number of Threads','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(mysql_global_status_threads_running, "data_type", "active", "", "") or
label_replace(mysql_global_status_threads_connected, "data_type", "connected", "", "") or
label_replace(rate(mysql_global_status_connections [1m]), "data_type", "connection attempts[1m]", "", "") )','Thread','MySQL','data_type',true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Threads Running Counts:{{humanize $value}}|{threshold}.','2019-12-05 06:04:21.000','2020-02-13 01:12:05.436');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cassandra_read_write_count','Local read write count','Local read write count','sum by(xm_clst_id, xm_namespace, xm_node_id, instance, type)
(label_replace( rate(cassandra_keyspace_readlatency_seconds_count [1m]), "type", "read", "", "") or
label_replace( rate(cassandra_keyspace_writelatency_seconds_count [1m]), "type", "write", "", ""))','Disk','Cassandra','type',true,true,'Local read write count','2019-10-24 05:18:50.000','2020-02-13 01:23:46.608');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_lock_total','Oracledb lock total','oracledb lock total','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, resource_name)
(oracledb_resource_current_utilization{resource_name =~''.+_locks''})','Resource','OracleDB','resource_name',true,false,'oracledb lock total','2020-01-29 11:17:01.000','2020-02-13 01:34:00.720');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_http_requests_per_sec_by_api','Service HTTP Requests Count by API (per Second)','the number of HTTP requests counts per second by API','(sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace,api) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m])) / on (xm_clst_id, xm_namespace, xm_service_name ) group_left imxc_sampling_param_value) or (sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace,api) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m])) / on (xm_clst_id) group_left imxc_sampling_default_param_value)','Request','Service',NULL,false,false,'not for alarm','2020-02-18 12:12:12.000','2020-06-03 06:52:05.498');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_cpu_core_count','Host CPU Core Count','Host_cpu_capacity_cores','count without(cpu, mode) (node_cpu_seconds_total{mode=''idle'', {filter}})','CPU','Host',NULL,true,false,'None','2020-03-23 04:08:05.290','2020-03-23 04:08:05.290');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_load5','Host CPU Load 5m Average','Host CPU 5m load average','node_load5{{filter}}','CPU','Host',NULL,true,false,'Host:{{$labels.instance}} CPU 5m Load Average:{{humanize $value}}%|{threshold}$.','2020-03-23 04:08:11.655','2020-03-23 04:08:11.655');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_phase_count_by_cluster','Pod Phase Count by Cluster','pod phase count by cluster','count by(xm_clst_id, pod_state) (sum by (xm_clst_id, xm_pod_id, pod_state)(rate(imxc_kubernetes_container_resource_limit_cpu{{filter}}[1m])))','Cluster','Pod',NULL,true,false,'CLST:{{$labels.xm_clst_id}} pod phase count:{{humanize $value}}|{threshold}.','2020-08-19 16:45:00.000','2020-08-19 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_network_io_byte','host network io byte','host network io byte','sum by (data_type, instance) (
label_replace(rate(node_network_receive_bytes_total{{filter}}[1m]) or rate(node_network_receive_bytes_total{{filter}}[5m]), "data_type", "Receive", "", "") or
label_replace(rate(node_network_transmit_bytes_total{{filter}}[1m]) or rate(node_network_transmit_bytes_total{{filter}}[5m]), "data_type", "Transmit", "", "") )','Network','Host',NULL,false,false,'host network io byte','2020-03-24 05:48:31.359','2020-03-24 05:48:31.359');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_contextswitch_and_filedescriptor','host contextswitch and filedescriptor','host contextswitch and filedescriptor','sum by (data_type, instance) (
label_replace(rate(node_context_switches_total {{filter}}[1m]), "data_type", "Context switch", "", "") or
label_replace(node_filefd_allocated {{filter}}, "data_type", "File descriptor", "", "") )','OS','Host',NULL,false,false,'host contextswitch and filedescriptor','2020-03-24 09:05:51.828','2020-03-24 09:08:06.867');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_swap_usage','Host Swap Memory Usage (%)','Host Swap Memory Usage','node_memory_SwapTotal_bytes{{filter}} - node_memory_SwapFree_bytes{{filter}} / node_memory_SwapTotal_bytes{{filter}}
','Memory','Host',NULL,true,false,'None','2020-03-26 06:39:21.333','2020-03-26 06:39:21.333');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_boot_time','Host Boot time','Host Boot time','node_boot_time_seconds{{filter}}','CPU','Host',NULL,true,false,'None','2020-03-26 08:03:46.189','2020-03-26 08:03:46.189');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_disk_read_latency','Host read Disk latency','Host disk read latency','sum by (instance)  (rate(node_disk_reads_completed_total{{filter}}[1m])) == 0 or sum by (instance) (rate(node_disk_read_time_seconds_total{{filter}}[1m])/rate(node_disk_reads_completed_total{{filter}}[1m]) >= 0 )','Disk','Host',NULL,true,false,'Host:{{$labels.instance}} Disk Read Latency:{{humanize $value}}|{threshold}.','2020-03-23 04:08:34.001','2020-03-23 04:08:34.001');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_disk_write_latency','Host write Disk latency','Host disk write latency','sum by (instance)  (rate(node_disk_writes_completed_total{{filter}}[1m])) == 0 or sum by (instance) (rate(node_disk_write_time_seconds_total{{filter}}[1m])/rate(node_disk_writes_completed_total{{filter}}[1m]) >= 0 )','Disk','Host',NULL,true,false,'Host:{{$labels.instance}} Disk Write Latency:{{humanize $value}}|{threshold}.','2020-03-23 04:08:35.823','2020-03-23 04:08:35.823');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_memory_usage','Host Memory Usage (%)','Host Memory Usage ','((node_memory_MemTotal_bytes{{filter}} - (node_memory_MemFree_bytes{{filter}} + node_memory_Cached_bytes{{filter}} + node_memory_Buffers_bytes{{filter}} + node_memory_SReclaimable_bytes{{filter}})) >= 0 or (node_memory_MemTotal_bytes{{filter}} - node_memory_MemFree_bytes{{filter}})) / node_memory_MemTotal_bytes{{filter}} * 100','Memory','Host',NULL,true,false,'Host:{{$labels.instance}} Memory Usage:{{humanize $value}}%|{threshold}%.','2020-03-26 06:36:47.931','2020-03-26 06:36:47.931');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_memory_total','Host Memory Total (GiB)','Memory information field MemTotal_bytes','node_memory_MemTotal_bytes{{filter}}','Memory','Host',NULL,true,false,'Host:{{$labels.instance}} Total Memory Size:{{humanize $value}}GiB|{threshold}GiB.','2020-03-23 04:08:16.897','2020-03-23 04:08:16.897');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_bytes_received_sent','Bytes Received & Sent in MySQL','Bytes Received & Sent in MySQL','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
 label_replace(rate(mysql_global_status_bytes_received [1m])/1024, "data_type", "received", "", "") or
 label_replace(rate(mysql_global_status_bytes_sent [1m])/1024, "data_type", "sent", "", ""))','Network','MySQL','data_type',true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Container:{{$labels.xm_cont_name}} Cache Memory:{{humanize $value}}|{threshold}.','2019-12-05 07:58:11.000','2020-02-13 01:12:05.436');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_http_requests_time_95th','Service HTTP 95% Elapsed Time (ms)','the maximum time taken to servce the 95% of HTTP requests','histogram_quantile(0.95, sum by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name,le) (rate(imxc_service_request_milliseconds_bucket{xm_entity_type="Service",protocol="http",{filter}}[1m]))) >=0 or sum by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name) (rate(imxc_service_request_milliseconds_bucket{xm_entity_type="Service",protocol="http",{filter}}[1m]))','Request','Service',NULL,true,true,'SVC:{{$labels.xm_service_name}} 95th HTTP Requests Time:{{humanize $value}}ms|{threshold}ms.','2020-02-18 12:12:12.000','2020-02-18 12:12:12.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_http_requests_time_99th','Service HTTP 99% Elapsed Time (ms)','the maximum time taken to servce the 99% of HTTP requests','histogram_quantile(0.99, sum by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name,le) (rate(imxc_service_request_milliseconds_bucket{xm_entity_type="Service",protocol="http",{filter}}[1m]))) >=0 or sum by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name) (rate(imxc_service_request_milliseconds_bucket{xm_entity_type="Service",protocol="http",{filter}}[1m]))','Request','Service',NULL,true,true,'SVC:{{$labels.xm_service_name}} 99th HTTP Requests Time:{{humanize $value}}ms|{threshold}ms.','2020-02-18 12:12:12.000','2020-02-18 12:12:12.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_pod_http_error_rate','Service Pod HTTP Requests Error Rate','the number of HTTP error counts / the number of HTTP requests counts for pod','sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace,xm_pod_id) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m])) == 0 or
sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace,xm_pod_id) (rate(imxc_service_errors_count{xm_entity_type="Service",protocol="http",{filter}}[1m]))
/ sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace,xm_pod_id) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m]))','Request','Service',NULL,true,false,'SVC:{{$labels.xm_service_name}} Pod Error Request Rate:{{humanize $value}}%|{threshold}%.','2019-11-07 07:52:24.000','2020-02-17 12:12:12.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_http_requests_time_90th','Service HTTP 90% Elapsed Time (ms)','the maximum time taken to servce the 90% of HTTP requests','histogram_quantile(0.90, sum by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name,le) (rate(imxc_service_request_milliseconds_bucket{xm_entity_type="Service",protocol="http",{filter}}[1m]))) >=0 or sum by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name) (rate(imxc_service_request_milliseconds_bucket{xm_entity_type="Service",protocol="http",{filter}}[1m]))','Request','Service',NULL,true,true,'SVC:{{$labels.xm_service_name}} 90th HTTP Requests Time:{{humanize $value}}ms|{threshold}ms.','2020-02-18 12:12:12.000','2020-02-18 12:12:12.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_fs_total_by_mountpoint','host filesystem size by mountpoint','host filesystem size by mountpoint','sum by(instance, mountpoint, fstype, data_type) (
label_replace(node_filesystem_size_bytes {fstype!="rootfs",{filter}}, "data_type", "totalsize", "", "") or
label_replace(node_filesystem_avail_bytes {fstype!="rootfs",{filter}}, "data_type", "availablesize", "", ""))','Filesystem','Host',NULL,false,false,'host filesystem size by mountpoint','2020-03-30 04:01:45.322','2020-03-30 05:16:32.252');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('namespace_timeline_count','Namespace timeline count','alert, event count','sum (floor(increase(imxc_kubernetes_event_counts{{filter}}[10m])) or floor(increase(imxc_alerts_received_count_total{status="firing", {filter}}[10m])))by (xm_clst_id, xm_namespace, level)','Timeline','Namespace',NULL,false,false,'None','2020-04-08 06:21:21.392','2020-04-08 06:21:21.392');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_timeline_count','Cluster timeline count','alert, event count','sum (floor(increase(imxc_kubernetes_event_counts{{filter}}[10m])) or floor(increase(imxc_alerts_received_count_total{status="firing", {filter}}[10m])))by (xm_clst_id,level)','Timeline','Cluster',NULL,false,false,'None','2020-04-08 06:19:32.792','2020-04-28 08:07:47.786');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_network_transmit','Cluster Network Transmit','Cluster Network Transmit','sum by (xm_clst_id) (rate(node_network_transmit_bytes_total{{filter}} [1m]))','Network','Cluster',NULL,true,true,'Cluster Network Transmit','2020-04-28 08:10:21.070','2020-04-28 08:29:18.491');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('cluster_network_receive','Cluster Network Receive','Cluster Network Receive','sum by (xm_clst_id) (rate(node_network_receive_bytes_total{{filter}} [1m]))','Network','Cluster',NULL,true,true,'Cluster Network Receive','2020-04-28 08:07:26.294','2020-04-28 08:29:18.486');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('namespace_pod_running_count','Namespace Pod Running Count','Running pod count by namespace','count by (xm_clst_id, xm_namespace) (sum by (xm_clst_id, xm_node_id, xm_namespace, xm_pod_id) (imxc_kubernetes_container_resource_limit_cpu{pod_state="Running", {filter}}))','Pod','Namespace',NULL,false,false,'None','2020-05-21 01:18:06.016','2020-05-21 01:18:06.016');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_cpu_request','Pod CPU Request','Pod CPU Request','sum by (xm_clst_id, xm_node_id, xm_pod_id) (imxc_kubernetes_container_resource_request_cpu{{filter}})','CPU','Pod',NULL,false,false,'None','2020-05-21 06:50:49.546','2020-05-21 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_network_io_byte','Node Network IO byte','Node Network IO byte','sum by (data_type, instance) (
label_replace(rate(node_network_receive_bytes_total{{filter}}[1m]), "data_type", "Receive", "", "") or
label_replace(rate(node_network_transmit_bytes_total{{filter}}[1m]), "data_type", "Transmit", "", "") )','Network','Node',NULL,false,false,'Node Network IO byte','2020-05-21 07:32:03.535','2020-05-21 07:32:03.535');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_memory_request','pod_memory_request (Gib)','Total container memory request in GiB for the given pod','sum by (xm_clst_id, xm_node_id, xm_pod_id) (imxc_kubernetes_container_resource_request_memory{{filter}}) / 1073741824','Memory','Pod',NULL,false,false,'None','2020-05-21 11:50:52.717','2020-05-21 11:50:52.717');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_sum_by_node','Container memory sum by node','Container memory sum by node','sum by(xm_clst_id, xm_node_id, data_type) (
label_replace(imxc_kubernetes_node_resource_capacity_memory{{filter}}, "data_type", "capacity" ,  "", "") or
label_replace(imxc_kubernetes_container_resource_limit_memory{{filter}}, "data_type", "limit", "" ,  "") or
label_replace(imxc_kubernetes_container_resource_request_memory{{filter}}, "data_type", "request", "" ,  "") or
label_replace(container_memory_working_set_bytes{{filter}}, "data_type", "used", "" ,  ""))','Memory','Node',NULL,false,false,'Container memory sum by node','2020-05-28 09:36:44.000','2020-06-09 01:38:10.694');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_context_switches','Node Context Switches','Node Context Switches','rate(node_context_switches_total {{filter}}[1m])','CPU','Node',NULL,false,false,'None','2020-05-21 01:18:06.000','2020-05-29 09:38:05.521');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_contextswitch_and_filedescriptor','Node contextswitch and filedescriptor','Node contextswitch and filedescriptor','sum by(xm_clst_id, xm_node_id, data_type) (
label_replace(node_filefd_allocated {{filter}}, "data_type", "file descriptor" ,  "", "") or
label_replace(rate(node_context_switches_total {{filter}}[1m]), "data_type", "context switches", "" ,  ""))','File','Node',NULL,false,false,'Node contextswitch and filedescriptor','2020-05-28 12:38:21.587','2020-05-28 12:38:21.587');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_read_write_byte','Node disk read and write bytes','Node disk read and write bytes','sum by(xm_clst_id, xm_node_id, data_type) (
label_replace(rate(node_disk_read_bytes_total{{filter}}[1m]), "data_type", "Read" ,  "", "") or
label_replace(rate(node_disk_written_bytes_total{{filter}}[1m]), "data_type", "Write", "" ,  "")
)','Disk','Node',NULL,false,false,'Node disk read and write bytes','2020-05-28 13:02:44.729','2020-05-28 13:04:35.126');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_swap_total','Host Swap Memory Total','Host Swap Total','node_memory_SwapTotal_bytes{{filter}}','Memory','Host',NULL,true,false,'Host:{{$labels.instance}} Total Swap Memory Size:{{humanize $value}}GiB|{threshold}GiB.','2020-03-23 04:08:23.130','2020-03-23 04:08:23.130');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_cpu_iowait','Host CPU iowait','Host CPU iowait','avg by (instance) (rate(node_cpu_seconds_total{mode=''iowait'',{filter}}[1m])) * 100','CPU','Host',NULL,false,false,'Host:{{$labels.instance}} CPU IO wait:{{humanize $value}}|{threshold}.','2020-03-26 08:03:51.307','2020-03-26 08:03:51.307');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_filefd_allocated','Host statistics Filesystem allocated.','Host File descriptor statistics: allocated.','sum by (instance) (node_filefd_allocated{{filter}})','Filesystem','Host',NULL,true,false,'Host:{{$labels.instance}} Filesystem allocated:{{humanize $value}}|{threshold}.','2020-03-23 04:08:31.970','2020-03-23 04:08:31.970');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_http_requests_time_avg','Service HTTP Average Elapsed Time (ms)','the average time taken to serve the HTTP requests','sum (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m])) by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace) == 0 or
sum (rate(imxc_service_request_milliseconds_sum{xm_entity_type="Service",protocol="http",{filter}}[1m])) by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace)
/ sum (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m])) by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace)','Request','Service',NULL,true,true,'SVC:{{$labels.xm_service_name}} Requests Time Avg:{{humanize $value}}ms|{threshold}ms.','2019-10-15 09:37:44.000','2020-03-09 06:42:14.172');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_http_error_rate_by_api','Service HTTP Requests Error Rate by API','the number of HTTP error counts by API / the number of HTTP requests counts by API','sum by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name,api) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m])) ==0 or
sum by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name,api) (rate(imxc_service_errors_count{xm_entity_type="Service",protocol="http",{filter}}[1m]))
/ sum by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name,api) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m]))','Request','Service',NULL,false,false,'not for alarm','2020-02-18 12:12:12.000','2020-06-03 06:52:05.498');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_http_requests_time_avg_by_api','Service HTTP Average Elapsed Time by API (ms)','the average time taken to serve the HTTP requests by API for a service','sum  by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name,api) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m])) == 0 or
sum  by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name,api) (rate(imxc_service_request_milliseconds_sum{xm_entity_type="Service",protocol="http",{filter}}[1m]))
/ sum  by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name,api) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m]))','Request','Service',NULL,false,false,'not for alarm','2020-02-18 12:12:12.000','2020-06-03 06:52:05.500');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_cpu_used','Node CPU Used (Cores)','Node CPU Used (Cores)','(100 - (avg by (xm_clst_id, xm_node_id) (clamp_max(rate(node_cpu_seconds_total{name="node-agent", mode="idle", xm_entity_type="Node", {filter}}[1m]),1.0)) * 100)) * sum by(xm_clst_id, xm_node_id)(imxc_kubernetes_node_resource_capacity_cpu{{filter}}) / 100','CPU','Node',NULL,false,false,'None','2020-05-21 01:18:06.000','2020-05-29 09:38:35.939');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_cpu_iowait','Node CPU I/O Wait','Node CPU I/O Wait','avg by (xm_clst_id, xm_node_id, xm_entity_type) (rate(node_cpu_seconds_total{name="node-agent", mode="iowait", xm_entity_type="Node" , {filter}}[1m])) * 100','CPU','Node',NULL,false,false,'None','2020-05-21 01:18:06.000','2020-05-29 09:38:20.633');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_cpu_sum_by_node','Container cpu sum by Node','Container cpu sum by Node','sum by(xm_clst_id, xm_node_id, data_type) (
label_replace(imxc_kubernetes_node_resource_capacity_cpu{{filter}} * 0.001, "data_type", "capacity" ,  "", "") or
label_replace(sum by (xm_clst_id, xm_node_id) (imxc_kubernetes_container_resource_limit_cpu{{filter}} * 0.001), "data_type", "limit", "" ,  "") or
label_replace(sum by (xm_clst_id, xm_node_id) (imxc_kubernetes_container_resource_request_cpu{{filter}} * 0.001), "data_type", "request", "" ,  "") or
label_replace(rate(container_cpu_usage_seconds_total{{filter}}[1m]), "data_type", "used", "" ,  ""))','CPU','Node',NULL,false,false,'Container cpu sum by Node','2020-05-28 08:06:35.736','2020-06-09 01:46:12.446');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_iops_per_device','Node Disk IOPs per device','Node Disk I/O Operations Per Second (per device)','sum by (xm_clst_id, xm_node_id, device) (rate(node_disk_reads_completed_total{{filter}}[1m]) + rate(node_disk_writes_completed_total{{filter}}[1m]))','Disk','Node','device',false,false,'None','2020-06-10 05:56:05.311','2020-06-10 07:24:15.462');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_iops','Node Disk IOPs','Node Disk I/O Operations Per Second','sum by (xm_clst_id, xm_node_id) (rate(node_disk_reads_completed_total{{filter}}[1m]) + rate(node_disk_writes_completed_total{{filter}}[1m]))','Disk','Node',NULL,false,false,'None','2020-06-10 05:54:01.309','2020-06-10 07:24:15.462');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_disk_iops','Host Disk IOPs','Host Disk IOPs','sum by (instance) ((rate(node_disk_reads_completed_total{{filter}}[1m]) + rate(node_disk_writes_completed_total{{filter}}[1m])) or (rate(node_disk_reads_completed_total{{filter}}[5m]) + rate(node_disk_writes_completed_total{{filter}}[5m])))','Disk','Node',NULL,false,false,'Host Disk IOPs','2020-06-10 07:26:28.895','2020-06-10 07:26:28.895');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_cpu_limit','Pod CPU Limit','Pod CPU Limit','sum by (xm_clst_id, xm_node_id, xm_pod_id) (imxc_kubernetes_container_resource_limit_cpu{{filter}})','CPU','Pod',NULL,false,false,'None','2020-05-21 06:50:49.546','2020-05-21 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_memory_limit','pod_memory_limit (Gib)','Total container memory limit in GiB for the given pod','sum by (xm_clst_id, xm_node_id, xm_pod_id) (imxc_kubernetes_container_resource_limit_memory{{filter}}) / 1073741824','Memory','Pod',NULL,false,false,'None','2020-05-21 11:50:52.717','2020-05-21 11:50:52.717');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_usage_bytes','Container Memory Used (GiB)','Current memory usage in GiB, this includes all memory regardless of when it was accessed','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (container_memory_usage_bytes{xm_entity_type=''Container'',xm_cont_name!=''POD'',{filter}} / 1024 / 1024 / 1024)','Memory','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Used Memory:{{humanize $value}}GiB|{threshold}GiB.','2019-06-05 14:27:36.000','2020-06-04 11:11:11.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_memory_used','Node Memory Used (GIB)','Node Memory Used (GIB)','((node_memory_MemTotal_bytes{xm_entity_type="Node", {filter}} - (node_memory_MemFree_bytes{xm_entity_type="Node", {filter}} + node_memory_Cached_bytes{xm_entity_type="Node", {filter}} + node_memory_Buffers_bytes{xm_entity_type="Node", {filter}})) >= 0 or node_memory_MemTotal_bytes{xm_entity_type="Node", {filter}} - node_memory_MemFree_bytes{xm_entity_type="Node", {filter}}) / 1024 / 1024 / 1024','Memory','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Memory Used:{{humanize $value}}GiB|{threshold}GiB.','2020-05-21 01:18:06.000','2020-06-04 11:11:11.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_used_cpu_user','User CPU Used','User CPU consumed by the Redis server','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rateredis_cpu_user_seconds_total[1m]))','CPU','Redis',NULL,false,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis User CPU Used:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-05-29 09:37:22.273');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_cpu_sum_by_container','Container cpu sum by container','container cpu sum by container','sum by(xm_clst_id, data_type, xm_pod_id, xm_cont_name) (label_replace(imxc_kubernetes_container_resource_request_cpu{xm_cont_name!=''POD'',{filter}} * 0.001, "data_type", "request" , "", "") or label_replace(imxc_kubernetes_container_resource_limit_cpu{xm_cont_name!=''POD'',{filter}} * 0.001, "data_type", "limit" , "", "") or label_replace(rate(container_cpu_usage_seconds_total{xm_cont_name!=''POD'',{filter}}[1m]), "data_type", "used", "" , ""))','CPU','Container',NULL,false,false,'None','2020-05-21 06:50:49.546','2020-05-21 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_cpu_sum_by_pods','Container cpu sum by pod','Container cpu sum by pod','sum by(xm_clst_id, data_type, xm_pod_id) (label_replace(imxc_kubernetes_container_resource_request_cpu{{filter}} * 0.001, "data_type", "request" , "", "") or label_replace(imxc_kubernetes_container_resource_limit_cpu{{filter}} * 0.001, "data_type", "limit" , "", "") or label_replace(rate(container_cpu_usage_seconds_total{{filter}}[1m]), "data_type", "used", "" , ""))','CPU','Pod',NULL,false,false,'None','2020-05-21 06:50:49.546','2020-05-21 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_sum_by_pods','Container memory sum by pod','Container memory sum by pod','sum by(xm_clst_id, data_type, xm_pod_id) (label_replace(imxc_kubernetes_container_resource_limit_memory{{filter}}, "data_type", "limit", "" ,  "") or label_replace(imxc_kubernetes_container_resource_request_memory{{filter}}, "data_type", "request", "" ,  "") or label_replace(container_memory_usage_bytes{{filter}}, "data_type", "used", "" ,  ""))','Memory','Pod',NULL,false,false,'None','2020-05-21 06:50:49.546','2020-05-21 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_sum_by_container','Container memory sum by container','Container memory sum by container','sum by(xm_clst_id, data_type, xm_pod_id, xm_cont_name) (label_replace(imxc_kubernetes_container_resource_limit_memory{xm_cont_name!=''POD'',{filter}}, "data_type", "limit", "" ,  "") or label_replace(imxc_kubernetes_container_resource_request_memory{xm_cont_name!=''POD'',{filter}}, "data_type", "request", "" ,  "") or label_replace(container_memory_usage_bytes{xm_cont_name!=''POD'',{filter}}, "data_type", "used", "" ,  ""))','Memory','Container',NULL,false,false,'None','2020-05-21 06:50:49.546','2020-05-21 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_disk_read_write_byte','Container disk read and write bytes','Container disk read and write bytes','sum by(xm_clst_id, xm_pod_id, xm_cont_name, data_type) (label_replace(rate(container_fs_writes_bytes_total{xm_entity_type="Container",{filter}}[1m]), "data_type", "Write" ,  "", "") or label_replace(rate(container_fs_reads_bytes_total{xm_entity_type="Container",{filter}}[1m]), "data_type", "Read", "" ,  ""))','Disk','Container',NULL,false,false,'None','2020-05-21 06:50:49.546','2020-05-21 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_disk_read_write_byte','Pod disk read and write bytes','Pod disk read and write bytes','sum by(xm_clst_id, xm_pod_id, data_type) (label_replace(rate(container_fs_writes_bytes_total{xm_entity_type="Container",{filter}}[1m]), "data_type", "Write" ,  "", "") or label_replace(rate(container_fs_reads_bytes_total{xm_entity_type="Container",{filter}}[1m]), "data_type", "Read", "" ,  ""))','Disk','Pod',NULL,false,false,'None','2020-05-21 06:50:49.546','2020-05-21 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_network_io_byte','Container Network IO byte','Container Network IO byte','sum by (xm_clst_id, xm_pod_id, xm_cont_name, data_type) (label_replace(rate(container_network_receive_bytes_total{{filter}}[1m]), "data_type", "Receive", "", "") or label_replace(rate(container_network_transmit_bytes_total{{filter}}[1m]), "data_type", "Transmit", "", ""))','Network','Container',NULL,false,false,'None','2020-05-21 06:50:49.546','2020-05-21 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_network_io_byte','Pod Network IO byte','Pod Network IO byte','sum by (xm_clst_id, xm_pod_id, data_type) (label_replace(rate(container_network_receive_bytes_total{{filter}}[1m]), "data_type", "Receive", "", "") or label_replace(rate(container_network_transmit_bytes_total{{filter}}[1m]), "data_type", "Transmit", "", ""))','Network','Pod',NULL,false,false,'None','2020-05-21 06:50:49.546','2020-05-21 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_load1','Node CPU Load 1m Average','Node CPU 1m load average','node_load1{xm_entity_type=''Node'',{filter}}','CPU','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} CPU 1m Load Avg:{{humanize $value}}|{threshold}.','2019-05-15 08:22:49.000','2019-05-15 08:22:49.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_open_file_descriptor','Node File Descriptor','Node File Descriptor','sum by(xm_clst_id, xm_node_id)(node_filefd_allocated {{filter}})','Filesystem','Node',NULL,true,false,'NODE:{{$labels.xm_node_id}} File Descriptor:{{humanize $value}}|{threshold}.','2020-05-21 01:18:06.000','2020-05-29 09:37:51.101');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_sparselog_type_node_count','Node Type Sparselog Count','Node-type sparse log count by xm_clst_id, xm_node_id over last 1 min','sum by (xm_entity_type, xm_clst_id, xm_node_id) (round(increase(imxc_sparselog_count_total{xm_entity_type="Node",{filter}}[1m])))','SparseLog','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Sparselog Count:{{humanize $value}}|{threshold}.','2020-03-26 15:05:51.828','2020-03-26 15:05:51.828');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_cache','Container Memory Cache (GiB)','Number of bytes of page cache memory / 1073741824','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (container_memory_cache{xm_entity_type=''Container'',xm_cont_name!=''POD'',{filter}}) / 1073741824','Memory','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Cache Memory:{{humanize $value}}GiB|{threshold}GiB.','2019-06-05 14:27:36.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_load15','Host CPU Load 15m Average','Host CPU 15m load average','node_load15{{filter}}','CPU','Host',NULL,true,false,'Host:{{$labels.instance}} CPU 15m Load Average:{{humanize $value}}%|{threshold}%','2020-03-23 04:08:13.337','2020-03-23 04:08:13.337');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_write_bytes_device','Node Disk Write Bytes per Device (KiB)','The total number of bytes written successfully / 1024','sum by (xm_clst_id, xm_node_id, xm_entity_type, device, mountpoint) (rate(node_disk_written_bytes_total{xm_entity_type=''Node'', {filter}}[1m]) ) / 1024','Disk','Node','device',true,false,'NODE:{{$labels.xm_node_id}} FS:{{$labels.mountpoint}} Disk Write Size:{{humanize $value}}KiB|{threshold}KiB.','2019-08-23 11:26:07.000','2019-08-23 11:26:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_write_latency','Node Disk Write Latency (ms)','Node Disk Write Latency','sum by (xm_clst_id,xm_node_id, xm_entity_type) (rate(node_disk_write_time_seconds_total{xm_entity_type=''Node'',{filter}}[1m])) * 1000','Disk','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Disk Write Latency:{{humanize $value}}ms|{threshold}ms.','2019-05-20 11:00:56.000','2019-05-31 17:47:10.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_disk_writes_count_device','Node Disk Writes Count per Device (IOPS)','Node Disk Writes Counts per Device','sum by (xm_clst_id, xm_node_id, xm_entity_type, device, mountpoint) (rate(node_disk_writes_completed_total{xm_entity_type=''Node'', {filter}}[1m]) )','Disk','Node','device',true,false,'NODE:{{$labels.xm_node_id}} FS:{{$labels.mountpoint}} Disk Writes Count:{{humanize $value}}IOPS|{threshold}IOPS.','2019-08-23 11:26:07.000','2019-08-23 11:26:07.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_throttled_rate','Container CPU Throttled Rate','container throttled rate','sum by(xm_clst_id, xm_cont_id) (rate(container_cpu_cfs_throttled_seconds_total{container_name!="POD", image!="",{filter}}[1m]))','Cluster','Container',NULL,false,false,'CLST:{{$labels.xm_clst_id}} CPU Throttled:{{humanize $value}}|{threshold}.','2020-08-19 16:45:00.000','2020-08-19 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_pod_total_count','Node Pod Total Count','Node Pod Total Count','count by (xm_clst_id, xm_node_id) (sum by (xm_clst_id, xm_node_id, xm_pod_id) (imxc_kubernetes_container_resource_limit_cpu{{filter}}))','Pod','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Pod Count:{{humanize $value}}|{threshold}.','2019-10-11 00:29:17.000','2019-11-26 01:29:10.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_http_requests_per_sec','Service HTTP Requests Count (per Second)','the number of HTTP requests counts per second','((sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m]))/ on (xm_clst_id, xm_namespace, xm_service_name ) group_left imxc_sampling_param_value) or (sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m])) / on (xm_clst_id) group_left imxc_sampling_default_param_value))','Request','Service',NULL,true,true,'SVC:{{$labels.xm_service_name}} Http Requests/Second:{{humanize $value}}|{threshold}.','2019-10-15 09:37:44.000','2020-02-17 12:12:12.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_pod_http_requests_per_sec','Service Pod HTTP Requests Count (per Second)','the number of HTTP requets counts per second for pod','sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace,xm_pod_id) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m]))','Request','Service',NULL,true,false,'SVC:{{$labels.xm_service_name}} IMXC Svc Pod Http Requests/Seconds:{{humanize $value}}|{threshold}.','2019-11-07 07:51:11.000','2020-03-09 06:34:19.353');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_max_usage_bytes','Container Memory Max Used (GiB)','Maximum memory usage recorded in bytes / 1073741824','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (container_memory_max_usage_bytes{xm_entity_type=''Container'',xm_cont_name!=''POD'',{filter}}) / 1073741824','Memory','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Max Memory Usage:{{humanize $value}}GiB|{threshold}GiB.','2019-06-05 14:27:36.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_network_receive','Container Network Receive (KiB)','Network device statistic receive_bytes / 1024','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (rate(container_network_receive_bytes_total{xm_entity_type=''Container'',{filter}}[1m]) ) / 1024','Network','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Network Receive Usage:{{humanize $value}}KiB|{threshold}KiB.','2019-05-21 08:23:36.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_http_requests_time_50th','Service HTTP 50% Elapsed Time (ms)','the maximum time taken to servce the 50% of HTTP requests','histogram_quantile(0.50, sum by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name,le) (rate(imxc_service_request_milliseconds_bucket{xm_entity_type="Service",protocol="http",{filter}}[1m]))) >=0 or sum by (xm_entity_type,xm_clst_id,xm_namespace,xm_service_name) (rate(imxc_service_request_milliseconds_bucket{xm_entity_type="Service",protocol="http",{filter}}[1m]))','Request','Service',NULL,true,true,'SVC:{{$labels.xm_service_name}} 50th HTTP Requests Time:{{humanize $value}}ms|{threshold}ms.','2020-02-18 12:12:12.000','2020-02-18 12:12:12.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_errors_count','Service Error Count','service error count','sum by(xm_clst_id, xm_namespace, xm_service_name, statuscode ) (imxc_service_errors_count{statuscode!="200",{filter}})  OR on() vector(0)','Request','Service',NULL,true,false,'SVC:{{$labels.xm_service_name}} Svc Error Count:{{humanize $value}}|{threshold}.','2020-08-21 16:45:00.000','2020-08-21 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_memory_used','Host Memory Used (GiB)','Memory information field MemUsed_bytes','((node_memory_MemTotal_bytes{{filter}} - (node_memory_MemFree_bytes{{filter}} + node_memory_Cached_bytes{{filter}} + node_memory_Buffers_bytes{{filter}} + node_memory_SReclaimable_bytes{{filter}})) >= 0 or (node_memory_MemTotal_bytes{{filter}} - node_memory_MemFree_bytes{{filter}}))','Memory','Host',NULL,true,false,'Host:{{$labels.instance}} Memory Utillization:{{humanize $value}}GiB|{threshold}GiB.','2020-03-23 04:08:21.399','2020-03-23 04:08:21.399');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('workload_count_all_state','Workload Count All State','workload total count regardless of pod state','count by(xm_clst_id, controller_kind) (imxc_kubernetes_controller_ready{controller_kind=~"Deployment|DaemonSet|ReplicaSet|StatefulSet|StaticPod",{filter}})','Pod','Namespace',NULL,true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Workload Total Count:{{humanize $value}}|{threshold}.','2020-08-19 16:45:00.000','2020-08-19 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('workload_count_running_pod','Workload Count Running Pod','workload count of Running state pod','sum by(xm_clst_id,controller_kind ) (imxc_kubernetes_controller_ready{controller_kind=~"Deployment|DaemonSet|ReplicaSet|StatefulSet|StaticPod",{filter}})','Pod','Namespace',NULL,false,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Workload Total Count:{{humanize $value}}|{threshold}.','2020-08-19 16:45:00.000','2020-08-19 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_network_transmit_device','Node Network Transmit per Device(KiB)','Network device statistic transmit_bytes by device / 1024','sum by (xm_clst_id, xm_node_id, xm_entity_type, device, mountpoint) (rate(node_network_transmit_bytes_total{xm_entity_type=''Node'',{filter}}[1m]) ) / 1024','Network','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} DEV:{{$labels.device}} Network Transmit Usage:{{humanize $value}}KiB|{threshold}KiB.','2020-11-06 09:09:05.000','2020-11-06 09:09:05.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_network_receive_device','Node Network Receive per Device(KiB)','Network device statistic receive_bytes by device / 1024','sum by (xm_clst_id, xm_node_id, xm_entity_type, device, mountpoint) (rate(node_network_receive_bytes_total{xm_entity_type=''Node'',{filter}}[1m]) ) / 1024','Network','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} DEV:{{$labels.device}} Network Receive Usage:{{humanize $value}}KiB|{threshold}KiB.','2020-11-06 09:09:05.000','2020-11-06 09:09:05.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_pod_http_requests_time_avg','Service Pod HTTP Average Elapsed Time (ms)','the average time taken to serve the HTTP requests for pod','sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace,xm_pod_id) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m])) == 0 or
sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace,xm_pod_id) (rate(imxc_service_request_milliseconds_sum{xm_entity_type="Service",protocol="http",{filter}}[1m]))
/ sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace,xm_pod_id) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m]))','Request','Service',NULL,true,false,'SVC:{{$labels.xm_service_name}} IMXC Svc Pod http Requests Time Avg:{{humanize $value}}ms|{threshold}ms.','2019-11-07 07:51:46.000','2020-02-17 12:12:12.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_cpu_system','Container CPU System (%)','Container CPU Usage (System)','sum by (xm_clst_id,xm_node_id,xm_pod_id,xm_cont_name,xm_entity_type,xm_namespace,xm_cont_id) (rate(container_cpu_system_seconds_total{xm_entity_type=''Container'',xm_cont_name!=''POD'',{filter}}[1m])) * 100','CPU','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} CPU System:{{humanize $value}}%|{threshold}%.','2019-06-05 09:07:00.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_cpu_usage','Container CPU Usage (%)','Container CPU Usage','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (rate(container_cpu_usage_seconds_total{xm_entity_type=''Container'',xm_cont_name!=''POD'',{filter}}[1m])) * 100','CPU','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} CPU Usage:{{humanize $value}}%|{threshold}%','2019-05-15 01:02:23.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_phase_count_by_namespace','Pod Phase Count by Namespace','pod phase count by cluster, namespace','count by(xm_clst_id, xm_namespace, pod_state) (imxc_kubernetes_container_resource_limit_cpu{{filter}})','Namespace','Pod',NULL,true,false,'CLST:{{$labels.xm_clst_id}} Pod phase count:{{humanize $value}}|{threshold}.','2020-08-19 16:45:00.000','2020-08-19 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_fs_limit_bytes','Container Filesystem Limit Bytes (GiB)','Number of bytes that can be consumed by the container on this filesystem / 1073741824','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (container_fs_limit_bytes{xm_entity_type=''Container'',{filter}}) / 1073741824','Filesystem','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Filesystem Limit:{{humanize $value}}GiB|{threshold}GiB.','2019-06-05 10:27:42.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_usage','Container Memory Usage (%)','Container memory usage compared to limit if limit is non-zero or 1GiB if limit is zero','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (container_memory_usage_bytes{xm_entity_type=''Container'', xm_cont_name!=''POD'', {filter}} / (container_spec_memory_limit_bytes{xm_entity_type=''Container'',{filter}} > 0) * 100) or sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (container_memory_usage_bytes{xm_entity_type=''Container'',{filter}} / 1024 / 1024 / 1024 * 100)','Memory','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Memory Usage:{{humanize $value}}%|{threshold}%.','2019-06-05 14:27:36.000','2020-06-04 11:11:11.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_memory_swap','Container Memory Swap (GiB)','Container swap usage in bytes / 1073741824','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (container_memory_swap{xm_entity_type=''Container'',xm_cont_name!=''POD'',{filter}}) / 1073741824','Memory','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Swap Memory:{{humanize $value}}GiB|{threshold}GiB.','2019-06-05 14:27:36.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_network_transmit','Container Network Transmit (KiB)','Network device statistic transmit_bytes / 1024','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (rate(container_network_transmit_bytes_total{xm_entity_type=''Container'',{filter}}[1m]) ) / 1024','Network','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Network Transmit Usage:{{humanize $value}}KiB|{threshold}KiB.','2019-05-21 08:26:35.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('controller_pod_count','Controller Pod Count','Controller Pod Count','sum (imxc_kubernetes_controller_counts{{filter}}) by (xm_clst_id, xm_namespace, xm_entity_name, xm_entity_type)','Pod','Controller',NULL,false,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Controller Pod Counts:{{humanize $value}}|{threshold}.','2019-10-10 06:39:09.000','2019-10-10 06:39:09.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_load1','Host CPU Load 1m Average','Host CPU 1m load average','node_load1{{filter}}','CPU','Host',NULL,true,false,'Host:{{$labels.instance}} CPU 1m Load Average:{{humanize $value}}%|{threshold}%','2020-03-23 04:08:09.946','2020-03-23 04:08:09.946');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('host_cpu_usage','Host CPU Usage (%)','Host CPU Usage','100 - (avg by (instance)(clamp_max(rate(node_cpu_seconds_total{mode=''idle'',{filter}}[1m]),1.0)) * 100)','CPU','Host',NULL,true,false,'Host:{{$labels.instance}} CPU Utillization:{{humanize $value}}%|{threshold}%.','2020-03-23 04:08:07.606','2020-03-23 04:08:07.606');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('aws_ec2_cpuutilization','The percentage of allocated EC2 compute','The percentage of allocated EC2 compute units that are currently in use on the instance.','sum by (xm_clst_id, instance_id, instance) (aws_ec2_cpuutilization_average{{filter}})','CPU','AWS/EC2',NULL,true,true,'CLST:{{$labels.xm_clst_id}} Instance:{{$labels.instance_id}} CPU Utillization:{{humanize $value}}%|{threshold}%','2019-08-23 17:38:23.000','2019-08-23 17:38:23.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mongodb_connections','Number of Incoming Connections','The number of incoming connections from clients to the database server','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, state) (mongodb_connections{{filter}})','Connection','MongoDB','state',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MongoDB Number of Incoming Connections Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-13 02:26:09.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_buffer_io','Block read / write','mysql buffer I/O summary','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(irate(mysql_global_status_innodb_buffer_pool_write_requests[5m]), "data_type", "write", "", "") or
label_replace(irate(mysql_global_status_innodb_buffer_pool_read_requests[5m]), "data_type", "read", "", "") )','Block','MySQL','data_type',true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} POD:{{$labels.xm_pod_id}} Mysql Buffer IO:{{humanize $value}}|{threshold}.','2019-12-05 07:30:33.000','2020-02-13 01:14:23.895');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_innodb_buffer_pool_reads','Number of Reads Directly from Disk','The number of logical reads that InnoDB could not satisfy from the buffer pool, and had to read directly from disk','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(mysql_global_status_innodb_buffer_pool_reads[1m]))','Block','MySQL',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Reads Directly from Disk Counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_global_status_connections','Number of Connection Attempts','The number of connection attempts (successful or not) to the MySQL server','max(max_over_time(mysql_global_status_threads_connected[5m])  or mysql_global_status_threads_connected )','Connection','MySQL','instance',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL Number of Connection Attempts counts:{{humanize $value}}|{threshold}.','2019-12-04 16:45:00.000','2019-12-04 16:45:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('mysql_status_locks','Number of Locks in MySQL','Number of Locks in MySQL','sum by (data_type, xm_clst_id, xm_namespace, xm_node_id, instance) (
label_replace(rate(mysql_global_status_innodb_row_lock_current_waits[1m]), "data_type", "rowlocks", "", "") or
label_replace(rate(mysql_global_status_innodb_row_lock_waits[1m]), "data_type", "waits for rowlocks", "", "") or
label_replace(rate(mysql_global_status_table_locks_immediate[1m]), "data_type", "tablelock immediate", "", "") or
label_replace(rate(mysql_global_status_table_locks_waited[1m]), "data_type", "tablelock waited", "", "") )','Lock','MySQL','data_type',true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Mysql Status Locks:{{humanize $value}}|{threshold}.','2019-12-05 08:39:30.000','2020-02-13 01:12:05.438');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_fs_usage_bytes','Container Filesystem Used Bytes (GiB)','Number of bytes that are consumed by the container on this filesystem / 1073741824','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (container_fs_usage_bytes{xm_entity_type=''Container'',{filter}}) / 1073741824','Filesystem','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Filesystem Used:{{humanize $value}}GiB||{threshold}GiB.','2019-06-05 10:27:42.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('container_fs_writes','Container Filesystem Write Bytes (KiB)','Cumulative count of bytes written / 1024','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (rate(container_fs_writes_bytes_total{xm_entity_type=''Container'',{filter}}[1m])) / 1024','Filesystem','Container',NULL,true,true,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} Filesystem Writes:{{humanize $value}}KiB|{threshold}KiB.','2019-05-20 05:58:07.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('oracledb_sessions_value','Session Count','Gauge metric with count of sessions by status and type','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, status_type)
(label_join(oracledb_sessions_value, "status_type", "-", "status", "type"))','Session','OracleDB','status_type',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Oracle Session Count:{{humanize $value}}|{threshold}.','2020-01-28 13:03:00.000','2020-02-13 01:34:00.720');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pg_stat_database_temp_bytes','Bytes Written to Temporary Files (KiB)','Total amount of data written to temporary files by queries in this database','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, datname) (rate(pg_stat_database_temp_bytes[1m])) / 1024','TemporaryFile','PostgreSQL','datname',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} PostgreSQL Temporary File Write Size:{{humanize $value}}|{threshold}.','2019-08-27 15:49:21.000','2019-08-27 15:49:21.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_used_cpu_sys','System CPU Used','System CPU consumed by the Redis server','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(redis_cpu_sys_seconds_total[1m]))','CPU','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis System CPU Used:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('redis_used_cpu_user_children','User CPU Used Background','User CPU consumed by the background processes','sum by (xm_clst_id, xm_namespace, xm_node_id, instance) (rate(redis_cpu_user_children_seconds_total [1m]))','CPU','Redis',NULL,true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Redis User CPU Used Background:{{humanize $value}}|{threshold}.','2020-01-28 14:33:00.000','2020-01-28 14:33:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_http_error_rate','Service HTTP Requests Error Rate','the number of HTTP error counts / the number of HTTP requests counts','sum by(xm_clst_id,xm_service_name,xm_entity_type,xm_namespace) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m])) == 0 or
sum by (xm_clst_id,xm_service_name,xm_entity_type,xm_namespace) (rate(imxc_service_errors_count{xm_entity_type="Service",protocol="http",{filter}}[1m])) / sum by
(xm_clst_id,xm_service_name,xm_entity_type,xm_namespace) (rate(imxc_service_request_milliseconds_count{xm_entity_type="Service",protocol="http",{filter}}[1m]))','Request','Service',NULL,true,true,'SVC:{{$labels.xm_service_name}} Error Request Rate:{{humanize $value}}%|{threshold}%.','2019-10-15 09:37:44.000','2020-02-17 12:12:12.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('pod_fs_usage','Pod Filesystem Usage (%)','Pod File System Usage: 100 * (Used Bytes / Limit Bytes)','sum by (xm_clst_id,xm_pod_id,xm_entity_type,xm_namespace) (
container_fs_usage_bytes{xm_entity_type=''Container'',{filter}} /((container_fs_limit_bytes{xm_entity_type=''Container'',{filter}} * 100) > 0) or
container_fs_usage_bytes{xm_entity_type=''Container'',{filter}} / 1000)','Filesystem','Pod',NULL,true,true,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} Filesystem Usage:{{humanize $value}}%|{threshold}%.','2019-06-05 10:27:42.000','2019-06-29 03:28:14.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_pod_cpu_request','Node Pod CPU Request','Node Pod CPU Request','sum by (xm_clst_id, xm_node_id) (imxc_kubernetes_container_resource_request_cpu{{filter}})','CPU','Node',NULL,true,false,'NODE:{{$labels.xm_node_id}} Pod CPU Requests:{{humanize $value}}|{threshold}.','2020-11-20 06:50:49.546','2020-11-20 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_pod_cpu_usage','Node Pod CPU Usage (%)','Node Pod CPU Usage','sum by (xm_clst_id,xm_node_id) (clamp_min((rate(container_cpu_usage_seconds_total{xm_entity_type=''Container'',{filter}}[1m] offset 10s)),0)) * 100','CPU','Node',NULL,true,true,'NODE:{{$labels.xm_node_id}} Pod CPU Usage:{{humanize $value}}%|{threshold}%.','2020-11-20 06:50:49.546','2020-11-20 06:50:49.546');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,in_use,anomaly_score,message)
  VALUES ('container_cpu_usage_core','Container CPU Usage (Core)','Container CPU Usage (Core)','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (rate(container_cpu_usage_seconds_total{xm_entity_type=''Container'',xm_cont_name!=''POD'',{filter}}[1m]))','CPU','Container',true,false,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,in_use,anomaly_score,message)
  VALUES ('container_cpu_system_core','Container CPU System (Core)','Container CPU Usage (System)(Core)','sum by (xm_clst_id,xm_node_id,xm_pod_id,xm_cont_name,xm_entity_type,xm_namespace,xm_cont_id) (rate(container_cpu_system_seconds_total{xm_entity_type=''Container'',xm_cont_name!=''POD'',{filter}}[1m]))','CPU','Container',true,false,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,in_use,anomaly_score,message)
  VALUES ('container_cpu_user_core','Container CPU User (Core)','Container CPU Usage (User)(Core)','sum by (xm_clst_id,xm_pod_id,xm_cont_id,xm_cont_name,xm_entity_type,xm_namespace,xm_node_id) (rate(container_cpu_user_seconds_total{xm_entity_type=''Container'',xm_cont_name!=''POD'',{filter}}[1m]))','CPU','Container',true,false,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_pod_info_in_service','pod info in service','pod info(state, node) in service','sum by (xm_clst_id, xm_namespace, xm_service_name,xm_node_id,node_status,xm_pod_id,pod_state) (imxc_kubernetes_endpoint_count{{filter}})','Pod','Service',NULL,false,false,'None','2020-12-22 16:05:00.000','2020-12-22 16:05:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_service_state','Service State Count Sum','service state sum by xm_service_name','sum by (xm_service_name,pod_state) (imxc_kubernetes_endpoint_count{{filter}})','Pod','Service',NULL,false,false,'None','2021-01-06 17:30:00.000','2021-01-06 17:30:00.000');

INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_workload_state','Workload State Count Sum','wokload state sum by owner_name','count by (owner_name, pod_state) (imxc_kubernetes_container_resource_request_cpu{{filter}})','Pod','Workload',NULL,false,false,'None','2021-02-08 17:00:00.000','2021-02-08 17:00:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_pod_info_in_workload','Pod info by workload type','pod info(state, node) by workload type (do filter param)','count by (xm_clst_id, xm_namespace, owner_name, xm_node_id, node_status, xm_pod_id, pod_state) (imxc_kubernetes_container_resource_request_cpu{{filter}})','Pod','Workload',NULL,false,false,'None','2021-02-08 17:00:00.000','2021-02-08 17:00:00.000');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('node_up_state','Node State metric','Node State metric for up, down check','imxc_kubernetes_node_ready{{filter}}','State','Node',NULL,true,false,'Cluster:{{$labels.xm_clst_id}} Node:{{$labels.xm_node_id}} Down {threshold}.','2020-02-02 14:30:00.000','2020-02-02 14:30:00.000');

INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_cpu_user_by_workload',  'Container CPU User By workload (%)',  'Container CPU Usage(User)',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (rate(container_cpu_user_seconds_total{xm_cont_name!="POD"} [1m])+ on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running", {filter}}) without (instance)) * 0) * 100',  'CPU',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} CPU User (%):{{humanize $value}}%|{threshold}%.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_cpu_system_core_by_workload',  'Container CPU System By workload (Core)',  'Container CPU(Core)',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (rate(container_cpu_system_seconds_total{xm_cont_name!="POD"} [1m])+ on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running", {filter}}) without (instance)) * 0)',  'CPU',  'Workload',  NULL, TRUE, FALSE, 'CLST:{{$labels.xm_clst_id}}  DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} CPU System (Core) (System):{{humanize $value}}%|{threshold}%.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_cpu_usage_core_by_workload',  'Container CPU Usage By workload (Core)',  'Container CPU Usage (Core)',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (rate(container_cpu_usage_seconds_total{xm_cont_name!="POD"} [1m])+ on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running", {filter}}) without (instance)) * 0)',  'CPU',  'Workload',  NULL, TRUE, FALSE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}}  CPU Usage (Core):{{humanize $value}}|{threshold}.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_cpu_user_core_by_workload',  'Container CPU User By workload (Core)',  'Container CPU Usage (User)(Core)',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (rate(container_cpu_user_seconds_total{xm_cont_name!="POD"} [1m])+ on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running", {filter}}) without (instance)) * 0)',  'CPU',  'Workload',  NULL, TRUE, FALSE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}}  CPU User (Core):{{humanize $value}}|{threshold}.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_cpu_system_by_workload',  'Container CPU System By workload (%)',  'Container CPU Usage (System)',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (rate(container_cpu_system_seconds_total{xm_cont_name!="POD"} [1m])+ on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running", {filter}}) without (instance)) * 0) * 100',  'CPU',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} CPU System (%):{{humanize $value}}%|{threshold}%.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_cpu_usage_by_workload',  'Container CPU Usage By workload (%)',  'Container CPU Usage',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (rate(container_cpu_usage_seconds_total{xm_cont_name!="POD"} [1m])+ on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running", {filter}}) without (instance)) * 0)',  'CPU',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} CPU Usage (%):{{humanize $value}}%|{threshold}%',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_fs_reads_by_workload',  'Container Filesystem Read Bytes By workload (KiB)',  'Cumulative count of bytes read / 1024',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (rate(container_fs_reads_bytes_total{xm_cont_name!="POD"} [1m])+ on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0) / 1024',  'Filesystem',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Filesystem Reads:{{humanize $value}}KiB|{threshold}KiB.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_fs_limit_bytes_by_workload',  'Container Filesystem Limit Bytes By workload (GiB)',  'Number of bytes that can be consumed by the container on this filesystem / 1073741824',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (container_fs_limit_bytes{xm_cont_name!="POD"} + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running", {filter}}) without (instance)) * 0) / 1073741824',  'Filesystem',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Filesystem Limit:{{humanize $value}}GiB|{threshold}GiB.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_fs_usage_bytes_by_workload',  'Container Filesystem Used Bytes By workload (GiB)',  'Number of bytes that are consumed by the container on this filesystem / 1073741824',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (container_fs_usage_bytes{xm_cont_name!="POD"} + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0) / 1073741824',  'Filesystem',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Filesystem Used:{{humanize $value}}GiB||{threshold}GiB.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_fs_writes_by_workload',  'Container Filesystem Write Bytes By workload (KiB)',  'Cumulative count of bytes written / 1024',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (rate(container_fs_writes_bytes_total{xm_cont_name!="POD"}[1m]) + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0) / 1024',  'Filesystem',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Filesystem Writes:{{humanize $value}}KiB|{threshold}KiB.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_fs_usage_by_workload',  'Container Filesystem Usage By workload (%)',  'Container File System Usage: 100 * (Used Bytes / Limit Bytes) (not contain persistent volume)',  'sum by (xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) ((container_fs_usage_bytes{xm_entity_type="Container", xm_cont_name!="POD"} + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0)/ (((container_fs_limit_bytes{xm_entity_type="Container", xm_cont_name!="POD"} + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0) * 100) > 0) or (container_fs_usage_bytes{xm_entity_type="Container", xm_cont_name!="POD"}  + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0) / 1000)',  'Filesystem',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Filesystem Usage:{{humanize $value}}%|{threshold}%.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_memory_max_usage_bytes_by_workload',  'Container Memory Max Used By workload (GiB)',  'Maximum memory usage recorded in bytes / 1073741824',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (container_memory_max_usage_bytes{xm_cont_name!="POD"} + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0) / 1073741824',  'Memory',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Max Memory Usage:{{humanize $value}}GiB|{threshold}GiB.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_memory_usage_bytes_by_workload',  'Container Memory Used By workload (GiB)',  'Current memory usage in GiB, this includes all memory regardless of when it was accessed',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (container_memory_usage_bytes{xm_cont_name!="POD"} + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0)  / 1024 / 1024 / 1024',  'Memory',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Used Memory:{{humanize $value}}GiB|{threshold}GiB.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_memory_usage_by_workload',  'Container Memory Usage By workload (%)',  'Container Memory usage compared to limit if limit is non-zero or 1GiB if limit is zero',  'sum by (xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (((container_memory_usage_bytes{xm_entity_type="Container", xm_cont_name!="POD"} + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0) / (((container_spec_memory_limit_bytes{xm_entity_type="Container", xm_cont_name!="POD"} + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0)) > 0) * 100) or sum by (xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) ((container_memory_usage_bytes{xm_entity_type="Container", xm_cont_name!="POD"}  + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name)  (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0)  / 1024 / 1024 / 1024 *100))',  'Memory',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Memory Usage:{{humanize $value}}%|{threshold}%.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_memory_swap_by_workload',  'Container Memory Swap By workload (GiB)',  'Container swap usage in bytes / 1073741824',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (container_memory_swap{xm_cont_name!="POD"} + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0) / 1073741824',  'Memory',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Swap Memory:{{humanize $value}}GiB|{threshold}GiB.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_memory_working_set_bytes_by_workload',  'Container Memory Working Set By workload (GiB)',  'Current working set in GiB, this includes recently accessed memory, dirty memory, and kernel memory',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (container_memory_working_set_bytes{xm_cont_name!="POD"} + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name)  group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0) / 1024 / 1024 / 1024',  'Memory',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Working Set Memory:{{humanize $value}}GiB|{threshold}GiB.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_memory_cache_by_workload',  'Container Memory Cache By workload (GiB)',  'Number of bytes of page cache memory / 1073741824',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (container_memory_cache{xm_cont_name!="POD"} + on (xm_clst_id, xm_namespace, xm_pod_id, xm_cont_name)  group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running", pod_state="Running" ,{filter}}) without (instance)) * 0) / 1073741824',  'Memory',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Cache Memory:{{humanize $value}}GiB|{threshold}GiB.',  now(),  now());
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_network_receive_by_workload',  'Container Network Receive By workload (KiB)',  'Network device statistic receive_bytes / 1024',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name,xm_entity_type) (rate(container_network_receive_bytes_total{} [1m])+ on (xm_clst_id, xm_namespace, xm_pod_id)  group_left(owner_name) sum by (xm_clst_id, xm_namespace, xm_pod_id, owner_name) (imxc_kubernetes_container_resource_limit_cpu{{filter}}) * 0) / 1024',  'Network',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Network Receive Usage:{{humanize $value}}KiB|{threshold}KiB.',  now(),  now());

INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES('container_network_transmit_by_workload',  'Container Network Transmit By workload (KiB)',  'Network device statistic transmit_bytes / 1024',  'sum by(xm_clst_id, xm_namespace, owner_name, xm_pod_id, xm_cont_name, xm_entity_type) (rate(container_network_transmit_bytes_total{} [1m])+ on (xm_clst_id, xm_namespace, xm_pod_id) group_left(owner_name) sum by(xm_clst_id, xm_namespace, xm_pod_id, owner_name) (imxc_kubernetes_container_resource_limit_cpu{{filter}}) * 0) / 1024',  'Network',  'Workload',  NULL, TRUE, TRUE, 'CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Network Transmit Usage:{{humanize $value}}KiB|{threshold}KiB.',  now(),  now());
--Number of Pods not running
INSERT INTO public.metric_meta2 VALUES ('count_pod_not_running_by_workload','Number of Pods not running By Workload','Number of Pods not running (pod_state)','count by (xm_clst_id, xm_pod_id,xm_cont_id, xm_cont_name, entity_type, xm_namespace, pod_state) (imxc_kubernetes_container_resource_limit_cpu{pod_state!="Running", {filter}})','State','Workload',null,true,false,'CLST:{{$labels.xm_clst_id}} POD:{{$labels.xm_pod_id}} State:{{$labels.pod_state}}.',now(),now());
--Number of Containers not running
INSERT INTO public.metric_meta2 VALUES ('count_container_not_running_by_workload','Number of Containers not running By Workload','Number of Containers not running (container_state)','count by (xm_clst_id, xm_pod_id, xm_cont_id, xm_cont_name, entity_type, xm_namespace, container_state) (imxc_kubernetes_container_resource_limit_cpu{container_state!="Running", {filter}})','State','Workload',null,true,false,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} State:{{$labels.container_state}}.',now(),now());
-- Containers Restart count
INSERT INTO public.metric_meta2 VALUES ('cotainer_restart_count_by_workload','Number of Containers Restart','Number of Containers Restart (10m)','increase(imxc_kubernetes_container_restart_count{{filter}}[10m])','State','Workload',null,true,false,'CLST:{{$labels.xm_clst_id}} CONT:{{$labels.xm_cont_name}} RESTARTCOUNT FOR 10MINUTE:{{humanize $value}}.',now(),now());

INSERT INTO metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_jspd_txn_per_sec','Service Transaction Count (per Second)','Service Transaction Count (per Second)','sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) (rate(imxc_txn_total_count{{filter}}[1m]))','Request','Service',NULL,true,true,'Service Transaction Count (per Second)','2021-11-15 16:11:19.606','2021-11-15 16:12:21.335');
INSERT INTO metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_jspd_pod_txn_elapsed_time_avg','Service Pod Transaction Elapsed Time (avg)','Service Average Elapsed Time','sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_pod_id, xm_service_name) (increase(imxc_txn_total_count{{filter}}[1m]))==0 or sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_pod_id, xm_service_name) (increase(imxc_txn_laytency{{filter}}[1m])) / sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_pod_id, xm_service_name) (increase(imxc_txn_total_count{{filter}}[1m]))','Request','Service',NULL,true,true,'Service Average Elapsed Time','2021-11-15 16:09:34.233','2021-11-15 16:12:21.335');
INSERT INTO metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_jspd_txn_error_rate','Service Transaction Error Rate','Service Transaction Error Rate','sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) (sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) (rate(imxc_txn_total_count{{filter}}[1m])) == 0 or sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) (rate(imxc_txn_error_count{{filter}}[1m])) == 0 or sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) (rate(imxc_txn_error_count {{filter}} [1m])) / sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) (rate(imxc_txn_total_count {{filter}} [1m])))','Request','Service',null,true,false,'SVC:{{$labels.xm_service_name}} Error Request Rate:{{humanize $value}}%|{threshold}%.','2022-02-15 14:33:00.118000','2022-02-15 15:40:17.640000');
INSERT INTO metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_jspd_pod_txn_per_sec','Service Pod Transaction Count (per sec)','The number of transaction counts per second for pod','sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_pod_id, xm_service_name) (rate(imxc_txn_total_count{{filter}}[1m]))','Request','Service',null,true,false,'SVC:{{$labels.xm_service_name}} Svc Pod Transaction count/Seconds:{{humanize $value}}|{threshold}.','2022-02-15 17:59:39.450000','2022-02-15 17:59:39.450000');
INSERT INTO metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_jspd_txn_elapsed_time_avg','Service Average Elapsed Time','Service Average Elapsed Time','sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) ((increase(imxc_txn_total_count{{filter}}[1m])))== 0 or sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) ((increase(imxc_txn_laytency{{filter}}[1m])))/ sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) ((increase(imxc_txn_total_count{{filter}}[1m])))','Request','Service',null,true,true,'SVC:{{$labels.xm_service_name}} Transaction Requests Time Avg:{{humanize $value}}ms|{threshold}ms.','2021-11-15 16:09:34.233000','2021-11-15 16:12:21.335000');
INSERT INTO metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_jspd_txn_error_count','Service Transaction Error Count','Service Transaction Error Count','sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) (sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) (rate(imxc_txn_error_count{{filter}}[1m])) == 0 or sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_service_name) (rate(imxc_txn_error_count {{filter}} [1m])))','Request','Service',NULL,true,true,'Service Transaction Error Count','2021-11-15 16:10:31.352','2021-11-15 16:12:21.335');
INSERT INTO metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_jspd_pod_txn_error_rate','Service Pod Transaction Error Rate','The number of transaction error rate for pod','sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_pod_id, xm_service_name) (sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_pod_id, xm_service_name) (rate(imxc_txn_total_count{{filter}}[1m])) == 0 or sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_pod_id, xm_service_name) (rate(imxc_txn_error_count{{filter}}[1m])) == 0 or sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_pod_id, xm_service_name) (rate(imxc_txn_error_count {{filter}} [1m])) / sum by(xm_clst_id, xm_namespace, xm_entity_type, xm_pod_id, xm_service_name) (rate(imxc_txn_total_count {{filter}} [1m])))','Request','Service',null,true,false,'SVC:{{$labels.xm_service_name}} Svc Pod Transaction Error rate:{{humanize $value}}|{threshold}.','2022-02-15 18:08:58.180000','2022-02-15 18:08:58.180000');

INSERT INTO metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_jspd_active_txn_per_sec','Service Active Transaction Count (per Second)','Service Active Transaction Count (per Second)','sum by(xm_clst_id, xm_namespace, xm_service_name) (rate(imxc_txn_active_count{{filter}}[1m]))','Request','Service',NULL,true,false,'SVC:{{$labels.xm_service_name}} Svc Active Transaction count/Seconds:{{humanize $value}}|{threshold}.','2022-03-11 15:51:45.946','2022-03-11 15:51:45.946');
INSERT INTO metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES ('imxc_jspd_pod_active_txn_per_sec','Service Pod Active Transaction Count (per sec)','The number of active transaction counts per second for pod','sum by(xm_clst_id, xm_namespace, xm_service_name, xm_pod_id) (rate(imxc_txn_active_count{{filter}}[1m]))','Request','Service',NULL,true,false,'SVC:{{$labels.xm_service_name}} Svc Pod Active Transaction count/Seconds:{{humanize $value}}|{threshold}.','2022-03-11 15:53:29.252','2022-03-11 15:53:29.252');

INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES ('host_process_cpu_second_total','Host Process CPU Second Total  (%)','CPU user usage in seconds ( % )','sum by (groupname) (rate(namedprocess_namegroup_cpu_seconds_total{{filter}}[1m]))*100','Process','Host','','true','false','"Host:{{$labels.instance}} Process CPU :{{humanize $value}}|{threshold}."');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('host_process_memory_bytes','Host  Process memory bytes (MiB)','number of bytes of memory   in use / 1048576','sum by (groupname)  ((namedprocess_namegroup_memory_bytes{ memtype="resident", {filter}})) / 1048576','Process','Host','','true','false','"Host:{{$labels.instance}} Process memory :{{humanize $value}}MiB|{threshold}MiB."');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('host_process_read_bytes','Host  Process read bytes ( KiB)','number of bytes read by this group /1024','sum by (groupname) (rate(namedprocess_namegroup_read_bytes_total{{filter}}[1m]))/1024','Process','Host','','true','false','"Host:{{$labels.instance}} Disk Read Size:{{humanize $value}}KiB|{threshold}KiB."');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('host_process_write_bytes','Host  Process write bytes(KiB)','number of bytes written by this group/1024','sum by (groupname) (rate(namedprocess_namegroup_write_bytes_total{{filter}}[1m]))/1024','Process','Host','','true','false','"Host:{{$labels.instance}} Disk Write Size:{{humanize $value}}KiB|{threshold}KiB."');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('host_process_count','Host  Process number','number of processes in   this group', 'sum by (groupname)  (namedprocess_namegroup_num_procs{{filter}})', 'Process','Host','','true','false','"Host:{{$labels.instance}} Count:{{humanize $value}}|{threshold}."');

INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('host_count','Host Count','Host Count','count(node_boot_time_seconds{is_host="true"})','Host','System','','true','false','Host Count : {{humanize $value}}');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('host_alive','Host Alive','Host Alive','count(node_boot_time_seconds{is_host="true", {filter}})','Host','System','','true','false','Host Alive : {{$labels.instance}}');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('host_dead','Host Dead','Host Dead','absent(node_boot_time_seconds{is_host="true", {filter}})','Host','System','','true','false','Host Dead : {{$labels.instance}}');

INSERT INTO public.license_key (id, license_key, set_time, in_used, tenant_id) VALUES (nextval('hibernate_sequence'), 'A46CB0A0870B60DD0EF554F092FB8490C647C4ACCF17177EB0028FEF1B677A1DC86C08219D3D357E55E87B653A9D2F044F9095576ED493CE5D1E180E8843A04BCFE94E500F85491D408CFC7397B82F00063415F4CF8756545B6ED1A38F07F91A7B6D9381B7FC433A5086CDD2D748527ECB42835677199F23F7C8E33A66E8138182DDD76BE4925FA4B1DFD96FD5578FE80C75E0E20D76877BF6FD570265D8E69CAC34795B982CF8D811669894886567E4F5F62E28990953401374B548787E35374BFF201D5C9AD062B326E72F9B1D7791A610DA1BDF1D4F829819BC537E06C8D54F95FB04F2DAC456698F605DE3BBD72E472FC79658C806B188988B053E1E4D96FFFFFF0312983D630FAD5E9160650653074248047030124045265319328119048121312221292096178141356403289033057286071001044254168244430392446457353385472238471183338511051434316333006127241420429465082200161165099271484261287306170426201314452131350327249112310323036187433166345114324280269098441154231174135226128298344425341164290424093450115453299282209144110060155055496368233391148510223372355438125122460232315097083390283180026090507303464176016343147301028053052418046214169100404193398101492126437150008449359062078276386196105011194373118107003376243188284337378334352432479501211364186021040035210237120336302073022394079272002081397132067383497202300181309396185361017436058208454167203412219275329234043427354024133409339470296204490485256467335056F5B2CABD122B376DAEA67944E1CCE6867DF9EB6504C78F817DF9EB6504C78F81BF1E615E6EC6242C9667BD675FC5FA39C6672FE2068E5D1431C6CD04429D07655865E293C1F77ED7A0D33F5556DA6CD3A8EC2774DB04F797CE4A29B0312F75E585D51D7B4DD227EA6BD5278CB9233040E7DD2B30A6D5119959D5B7EAC826D3DA0537EFB5A034A6A1C91A619F4E168F46A455B594C91F058E1E22C7EA2957EED7533D069C335C95B4FA2B53E71A800343EA7F16B05AFBA04635F1FBDE9C81709C27BA075C78FA26311ED3A4A5226EF47FC84C3024999406B47F2098B5983CC3CAF79F92332074B9872E429CBE8EF12D5092628E4D4A39CBDDFCAAB2E382229CF09A5B10243340C1A7A0C5CBC14C704FCE873571524A5B038F1781CD31A4D8E2C48E02E63A2746E668273BE9D63937B88D8C864CE439528EB13BDFAC3E52EE4B8CB75B4ED65A7C97B42E5DAEE3E41D2331B06FFFBA71BECD9B96AEEB969670FC3869CC59050FD6DFA32457195314104022250232266247291151DEFAULT_TENANT', now(), true, 'DEFAULT_TENANT');
insert into public.license_key2 (id, license_key, set_time, cluster_id, license_used) values (nextval('hibernate_sequence'), 'D041F44269EAFF1AF7C37ACAA86B7D9CBED89547431E777B797220CF62FE5D6A27C66BEBEAB8F4C89EA5379009C90CDEBFFAE307B7AEB897DC4D8CEAB61654340BB746B0B46679A9FB4791C777BAEBA176308F6BEB1654CE43D4E80E6D0F80CEC00B1EC30E7DA4BB8D3159133EF98AEB50617107DB77BE94676E0D4AA04ADA3B11A66824DB89A60C52BC1AB92926F10189DBBA6210B31478F48CF87B5D754F1A7C6BED0D1637742179DBF7BE82B3B3357AEA82CFAAD9126E39C4E19BABCB1CBDDB816C86A8F7C476D963265720383B627800775B0C9116D67CE5CB7CFC71D0A8A36623965EBB18A5BE1816FB1FAAAEAC361D2ABBC7344EC0B6C61E0395115B13FFFFFF03DEF34E840F2ED2AC84AC44DF368362366124308470063002498494067338303241077065122260378200508377102354337080160182150254091118451110391059070094162363290186239455351194330333503046082379128006166220287276298120398066372099177432015458270176242025196335311342039022343475412085392206244005184417460227292375103433217376511140361223163316121467443014486278407389237024349111268136424371062035285300509195050441367478101310353464249250399393211468032382017479033204215420319027225173414447170427346074048078201158299332476339297492269181214328291096331271222221199421106169418137405411466364104047152090465446480302462385088114481261428257207129020358100073347153355274495263056109229159157348228275180360410147142130230179450079472482323145202198010119F9BFDDF3C203A7E537AB046811BB7CEA37AB046811BB7CEA37AB046811BB7CEAE012403885A8163C0E3E14D7AD6207B5E8CE91579501D84B09D6682339A4DB462F479FFE1B232AFB3D19E925768AF0AA3E62D9AB6F9CEADDB1CDCA351CAA90996631814A556C47270431A6A40891F756FDDCA7BDD05C62A2932F8E77979E0D43C9F12565B1F4BB4F0520B44CC76BAC23F65330AC5966D22B209F32126132F4848E500A013F4DC32306A9620394D40C94B8EBC2406B68EBE31DAB17EF2DF977731A5C41C11311DC36E1FB8BC2529D1AA20D5D46919472212D781B1D77378872CBD14C2A5B783C7ADF0D2680946C52E56E186A7E971E7EAB2CF09511361DD892B5D4A113E8A2C60E3F7FEFA4100753D82B7064101002937733CE0285C73130635F0CBBDF6F1160C2917B2DF9B1C391A8E9D7D9F380BF31A77A84017D0DF26B35BED6B2D145A051EB4345DA90241CA997828B8393ACD5C7316594634356CCC3986EFDD7776AC62C65E500ED125097142489479219130046503035CloudMOA', now(), null, true);

INSERT INTO public.license_policy
(policy_id, policy_desc, term_year, term_month, term_day, license_type, allowable_range, storage_capacity, cluster_count, node_count, pod_count, service_count, core_count, host_ids, user_division, created_date, modified_date)
VALUES('promotion_license', '프로모션 기간에 사용자들에게 발급되는 라이선스', 0, 0, 14, 'trial', '0', 'unlimited', '1', '10', 'unlimited', 'unlimited', 'unlimited', 'unlimited', '1', now(), null);

INSERT INTO public.report_template(id, created_by, created_date, modified_by, modified_date, cron_exp, "enable", metric_data, template_data, title) VALUES(nextval('hibernate_sequence'), 'admin', '2020-04-28 09:29:49.466', 'admin', '2020-04-28 09:29:49.466', '0 0 1 ? * * *', true,
'[{"id":"metricItem1587977724113","requestInfo":{"clusterId":"cloudmoa","namespace":"All","entityId":"","metricId":"cluster_cpu_usage","type":"Cluster","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Cluster CPU Usage (%)","displayType":"line","unit":"%","data":""},{"id":"metricItem1588037028605","requestInfo":{"clusterId":"cloudmoa","namespace":"All","entityId":"","metricId":"cluster_memory_usage","type":"Cluster","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Cluster Memory Usage (%)","displayType":"line","unit":"%","data":""},{"id":"metricItem1588059107546","requestInfo":{"clusterId":"cloudmoa","namespace":"All","entityId":"","metricId":"cluster_network_receive","type":"Cluster","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Cluster Network Receive","displayType":"line","unit":"%","data":""},{"id":"metricItem1588059110952","requestInfo":{"clusterId":"cloudmoa","namespace":"All","entityId":"","metricId":"cluster_network_transmit","type":"Cluster","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Cluster Network Transmit","displayType":"line","unit":"%","data":""},{"id":"metricItem1588059623963","requestInfo":{"clusterId":"cloudmoa","namespace":"All","entityId":"","metricId":"cluster_pod_ready_count","type":"Cluster","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Cluster Pod Ready Count","displayType":"line","unit":"%","data":""}]',
'<h1><div>1. Cluster Resource<br></div></h1><h5><div>Today''s Cluster resource usage is displayed.<br></div></h5><h2><div>1. CPU Usage<br></div></h2><div>${metricItem1587977724113}<br></div><h2><div>2. Memory Usage<br></div></h2><div>${metricItem1588037028605}<br></div><div><br></div><h2><div>3. Network<br></div></h2><h3><div>Transmit<br></div></h3><div>${metricItem1588059107546}<br></div><h3><div>Receive<br></div></h3><div>${metricItem1588059110952}<br></div><h1><div>2. Pod<br></div></h1><div><br></div><h2><div>1. Allocated Pods Count Trend<br></div></h2><div>Running Pod Count<br></div><div>${metricItem1588059623963}<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>', 'cloudmoa Cluster Daily Report');
INSERT INTO public.report_template (id, created_by, created_date, modified_by, modified_date, cron_exp, "enable", metric_data, template_data, title)
VALUES(nextval('hibernate_sequence'), 'admin', '2020-01-20 01:17:50.182', 'admin', '2020-04-29 08:01:40.841', '0 0 9 ? * * *', false,
'[{"id":"metricItem1579497906163","requestInfo":{"clusterId":"cloudmoa","namespace":"","entityId":"exem-master,exem-node001,exem-node002","metricId":"node_cpu_usage","type":"node","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Node CPU Usage (%)","displayType":"line","unit":"%","data":""},{"id":"metricItem1579497916213","requestInfo":{"clusterId":"cloudmoa","namespace":"","entityId":"exem-master,exem-node001,exem-node002","metricId":"node_memory_usage","type":"node","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Node Memory Usage (%)","displayType":"bar","unit":"%","data":""},{"id":"metricItem1579497928963","requestInfo":{"clusterId":"cloudmoa","namespace":"","entityId":"exem-master,exem-node001,exem-node002","metricId":"node_network_receive","type":"node","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Node Network Receive (KiB)","displayType":"pie","unit":"%","data":""},{"id":"metricItem1579497947243","requestInfo":{"clusterId":"cloudmoa","namespace":"","entityId":"exem-master,exem-node001,exem-node002","metricId":"node_load5","type":"node","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Node CPU Load 5m Average","displayType":"table","unit":"%","data":""}]',
'<h1>1. editor usage<br></h1><h4><div>Let''s write the editor.<br></div></h4><h2><div>1.1 Text Decoration<br></div></h2><div><b>Bold</b><br></div><div><i>Itelic</i><br></div><div><s>Strike</s><br></div><div><s></s><br></div><div><s></s><br></div><h2><div>1.2 Color and blockquote<br></div></h2><div><span class="colour" style="color:rgb(34, 34, 34)">What''s your </span><span class="colour" style="color:rgb(255, 0, 0)">color</span><span class="colour" style="color:rgb(34, 34, 34)">?</span><br></div><div contenteditable="false"><hr contenteditable="false"></div><blockquote>Today is the first day of the rest of your life<br></blockquote><div><br></div><h2><div>1.3 List <br></div></h2><ul><li>Apple<br></li><li>Banana<br></li></ul><div><br></div><ol><li>postgre<br></li><li>cassandra<br></li><li>prometheus<br></li></ol><div><br></div><div>[ TODO List ]<br></div><ul><li class="task-list-item checked" data-te-task="">Create DB table<br></li><li class="task-list-item" data-te-task="">Charge file name<br></li><li class="task-list-item" data-te-task=""><br></li></ul><h2><div>1.4 Link, Table, Image<br></div></h2><div><br></div><div>jump <a href="https://ex-em.com/product/intermax_cloud">cloud monitoring</a><br></div><div><br></div><div data-v-3aada3a4=""><br></div><table class="te-content-table-3"><thead><tr><th>Deamonset Name</th><th>Age</th><th>Namespace</th><th>Labels</th><th>Image</th><th>CPU</th><th>Memory</th></tr></thead><tbody><tr height="30"><td height="30" class="xl66">imxc-agent</td><td class="xl66">5<br>day</td><td class="xl66">imxc</td><td class="xl68" width="78">imxc-agent</td><td class="xl68" width="231">registry.openstacklocal:5000/imxc/imxc-agent:latest</td><td class="xl66">83.15</td><td class="xl66">1.68<br>GiB</td></tr><tr height="22"><td height="22" class="xl66">kube-flannel-ds-amd64</td><td class="xl66">3<br>month</td><td class="xl66">kube-system</td><td class="xl68" width="78">flannelnode</td><td class="xl68" width="231">quay.io/coreos/flannel:v0.11.0-amd64<s></s></td><td class="xl66">1.07</td><td class="xl66">90.88<br>MiB</td></tr><tr height="22"><td height="22" class="xl66">kube-proxy</td><td class="xl66">10<br>month</td><td class="xl66">kube-system</td><td class="xl68" width="78">kube-proxy</td><td class="xl68" width="231">k8s.gcr.io/kube-proxy:v1.16.0<s></s></td><td class="xl66">1.18</td><td class="xl66">117.66<br>MiB</td></tr><tr height="45"><td height="45" class="xl66">node-agent</td><td class="xl66">10<br>month</td><td class="xl66">default</td><td class="xl68" width="78">node-agentnode-agent</td><td class="xl68" width="231">prom/node-agent</td><td class="xl66">4.76</td><td class="xl66">97.54<br>MiB</td></tr></tbody></table><div><br></div><div><img src="data:image/jpeg;base64, " alt="exem.jpg"><br></div><div><br></div><h2><div>1.6 Metric Item<br></div></h2><div>${metricItem1579497906163}<br></div><div>${metricItem1579497916213}<br></div><div>${metricItem1579497928963}<br></div><div>${metricItem1579497947243}<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>', 'Editor usage example');

INSERT INTO public.report_static(id, created_by, created_date, modified_by, modified_date, cron_exp, metric_data, template_data, title, "type", report_template_id) VALUES(10582051, 'admin', '2020-04-29 08:27:52.545', 'admin', '2020-04-29 08:27:52.545', '0 0 1 ? * * *',
'[{"id":"metricItem1587977724113","requestInfo":{"clusterId":"cloudmoa","namespace":"All","entityId":"","metricId":"cluster_cpu_usage","type":"Cluster","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Cluster CPU Usage (%)","displayType":"line","unit":"%","data":""},{"id":"metricItem1588037028605","requestInfo":{"clusterId":"cloudmoa","namespace":"All","entityId":"","metricId":"cluster_memory_usage","type":"Cluster","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Cluster Memory Usage (%)","displayType":"line","unit":"%","data":""},{"id":"metricItem1588059107546","requestInfo":{"clusterId":"cloudmoa","namespace":"All","entityId":"","metricId":"cluster_network_receive","type":"Cluster","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Cluster Network Receive","displayType":"line","unit":"%","data":""},{"id":"metricItem1588059110952","requestInfo":{"clusterId":"cloudmoa","namespace":"All","entityId":"","metricId":"cluster_network_transmit","type":"Cluster","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Cluster Network Transmit","displayType":"line","unit":"%","data":""},{"id":"metricItem1588059623963","requestInfo":{"clusterId":"cloudmoa","namespace":"All","entityId":"","metricId":"cluster_pod_ready_count","type":"Cluster","selectTime":"hour","dateType":"relative","startTime":"1d0h","endTime":"0d0h"},"metricName":"Cluster Pod Ready Count","displayType":"line","unit":"%","data":""}]',
'<h1><div>1. Cluster Resource<br></div></h1><h5><div>Today''s cluster resource usage flow is shown.<br></div></h5><h2><div>1. CPU Usage<br></div></h2><div>Abnormally high CPU usage by particular programs can be an indication that there is something wrong with the computer system.<br></div><div><br></div><div>${metricItem1587977724113}<br></div><h2><div>2. Memory Usage<br></div></h2><div>The Memory Usage window displays the amount of memory available on your system, as well as the memory currently in use by all applications, including Windows itself.<br></div><div><br></div><div>${metricItem1588037028605}<br></div><div><br></div><h2><div>3. Network<br></div></h2><div>A network transmit/receive provides basic network utilization data in relation to the available network capacity.<br></div><h3><div>Transmit<br></div></h3><div>${metricItem1588059107546}<br></div><h3><div>Receive<br></div></h3><div>${metricItem1588059110952}<br></div><h1><div>2. Pod<br></div></h1><h2><div>1. Allocated Pods Count Trend<br></div></h2><div>Running Pod Count<br></div><div>${metricItem1588059623963}<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>',
'cloudmoa Cluster Daily Report', 'manual', (select id from report_template where title='cloudmoa Cluster Daily Report'));

-- Dashboard 추가 (Nodes Resource , Service Detail , Postgres , Redis , Traefik , MySQL / MariaDB , Nginx-Ingress)
INSERT INTO public.dashboard2 (id, created_date, modified_date, layout, title, auth_resource_id, created_by, modified_by, description, "share")
  VALUES(nextval('hibernate_sequence'), '2020-04-28 09:23:14.286', '2020-04-28 09:23:44.213', '[{"i":"widget0","widget":{"header":"default-header","body":"event-view","title":"Select Filter"},"w":48,"h":3,"minW":2,"minH":1,"maxW":48,"maxH":36,"component":{"params":{"targets":["widget1","widget2","widget3","widget4","widget5","widget6","widget7","widget8"],"action":"changeFilter","options":{"clusterId":{"mod":true,"value":"kBGYTL7cig0gOck0"},"namespace":{"mod":false,"value":null},"entity":{"mod":true,"type":["node"],"value":["cmoa-jspd-master","cmoa-jspd-worker1-contd","cmoa-jspd-worker2-crio"]}}},"visualization":{"type":"select"}},"viewStyle":{"backgroundColor":"#252525"},"x":0,"y":0,"static":true},{"i":"widget1","widget":{"header":"default-header","body":"line-chart-view","title":"CPU Usage"},"w":18,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","metricId":"node_disk_read_latency","entityId":[],"type":"node","namespace":"default"}},"visualization":{"showLegend":true}},"x":0,"y":3,"static":true},{"i":"widget2","widget":{"header":"default-header","body":"horizontal-bar-chart-view","title":"Memory Usage"},"w":18,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":false,"clusterId":"cloudmoa","metricId":"node_memory_usage","entityId":[],"type":"node"}},"visualization":{"showLegend":true}},"x":0,"y":14,"static":true},{"i":"widget3","widget":{"header":"default-header","body":"line-chart-view","title":"Network Transmit (KiB)"},"w":15,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","metricId":"node_network_transmit","entityId":[],"type":"node","namespace":"default"}},"visualization":{"showLegend":true}},"x":18,"y":3,"static":true},{"i":"widget4","widget":{"header":"default-header","body":"line-chart-view","title":"Network Receive (KiB)"},"w":15,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","metricId":"node_network_receive","entityId":[],"type":"node","namespace":"default"}},"visualization":{"showLegend":true}},"x":33,"y":3,"static":true},{"i":"widget5","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Pod Running Count"},"w":30,"h":12,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","metricId":"node_pod_running_count","entityId":[],"type":"node","namespace":"default"}},"visualization":{"showLegend":true}},"x":18,"y":25,"static":true},{"i":"widget6","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Disk Read Latency (ms)"},"w":15,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","metricId":"node_disk_read_latency","entityId":[],"type":"node","namespace":"default"}},"visualization":{"showLegend":true}},"x":18,"y":14,"static":true},{"i":"widget7","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Disk Write Latency (ms)"},"w":15,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","metricId":"node_disk_write_latency","entityId":[],"type":"node","namespace":"default"}},"visualization":{"showLegend":true}},"x":33,"y":14,"static":true},{"i":"widget8","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Filesystem Usage (%)"},"w":18,"h":12,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","metricId":"node_filesystem_usage","entityId":[],"type":"node","namespace":"default"}},"visualization":{"showLegend":true}},"x":0,"y":25,"static":true}]',
  'Nodes Resource', (select id from auth_resource3 where name='dashboard|admin|Nodes Resource'), 'admin', 'admin', NULL, true);
INSERT INTO public.dashboard2 (id, created_date, modified_date, layout, title, auth_resource_id, created_by, modified_by, description, "share")
  VALUES(nextval('hibernate_sequence'), '2020-04-28 09:23:14.286', '2020-04-28 09:23:44.213', '[{"i":"widget0","widget":{"header":"default-header","body":"service-tps-view","title":"Service TPS"},"w":24,"h":7,"minW":12,"minH":6,"maxW":48,"maxH":16,"component":{"api":{"uri":"metric.chart","params":{"clusterId":null,"namespace":null,"entityId":null,"type":"service","range":false,"jspdCluster":null}}},"x":0,"y":3,"static":true},{"i":"widget1","widget":{"header":"default-header","body":"event-view","title":"Select Filter"},"w":48,"h":3,"minW":2,"minH":2,"maxW":48,"maxH":36,"component":{"params":{"targets":["widget0","widget2","widget3","widget4","widget5","widget6","widget7","widget8"],"action":"changeFilter","options":{"clusterId":{"mod":true,"value":"cloudmoa"},"namespace":{"mod":true,"value":"imxc"},"entity":{"mod":true,"type":["service"],"value":[]}}},"visualization":{"type":"select"}},"viewStyle":{"backgroundColor":"#252525"},"x":0,"y":0,"static":true},{"i":"widget2","widget":{"header":"default-header","body":"service-treeMap-view","title":"Service TreeMap"},"w":24,"h":21,"minW":20,"minH":10,"maxW":48,"maxH":48,"component":{"api":{"uri":"metric.chart","params":{"clusterId":null,"namespace":null,"entityId":null,"type":"service","range":false}}},"x":24,"y":3,"static":true},{"i":"widget3","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Service Request Count"},"w":12,"h":7,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":null,"namespace":null,"metricId":"imxc_service_http_requests_per_sec","entityId":"","type":null}},"visualization":{"showLegend":true}},"x":0,"y":10,"static":true},{"i":"widget4","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Service Total Error Count"},"w":12,"h":7,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":null,"namespace":null,"metricId":"imxc_service_errors_count","entityId":"","type":null}},"visualization":{"showLegend":true}},"x":0,"y":17,"static":true},{"i":"widget5","widget":{"header":"default-header","body":"scatter-chart-view","bodyClass":["drag-ignore"],"title":"Xview","headerClass":["drag-handle"]},"w":24,"h":13,"minW":20,"minH":12,"maxW":68,"maxH":60,"component":{"api":{"params":{}}},"x":0,"y":24,"static":true},{"i":"widget6","widget":{"header":"default-header","body":"event-list-view","title":"Event List"},"w":24,"h":13,"minW":24,"minH":12,"maxW":48,"maxH":36,"component":{"api":{"params":{"clusterId":null,"namespace":null}}},"x":24,"y":24,"static":true},{"i":"widget7","widget":{"header":"default-header","body":"line-chart-view","title":"Service Latency"},"w":12,"h":7,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":null,"namespace":null,"metricId":"imxc_service_http_requests_time_avg","entityId":"","type":null}},"visualization":{"showLegend":true}},"x":12,"y":10,"static":true},{"i":"widget8","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Service Total Transaction Count"},"w":12,"h":7,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":null,"namespace":null,"metricId":"imxc_service_http_requests_per_sec_by_api","entityId":"","type":null}},"visualization":{"showLegend":true}},"x":12,"y":17,"static":true}]',
  'Service Detail', (select id from auth_resource3 where name='dashboard|admin|Service Detail'), 'admin', 'admin', NULL, true);
INSERT INTO public.dashboard2 (id, created_date, modified_date, layout, title, auth_resource_id, created_by, modified_by, description, "share")
  VALUES(nextval('hibernate_sequence'), '2020-04-28 09:23:14.286', '2020-04-28 09:23:44.213', '[{"i":"widget0","widget":{"header":"default-header","body":"label-view","title":" "},"w":48,"h":3,"minW":2,"minH":1,"maxW":48,"maxH":36,"component":{"api":{},"visualization":{"background":null,"fontSize":18,"textAlign":"left","padding":[0,18],"sideways":false,"fontWeight":"bold","text":"Resource Utilization"}},"x":0,"y":9,"static":true},{"i":"widget1","widget":{"header":"default-header","body":"line-chart-view","title":"CPU Usage (%)","description":"postgres에 대한 pod들의 cpu 사용량"},"w":12,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"imxc","metricId":"container_cpu_usage_by_workload","entityId":"postgres","type":"workload"}},"visualization":{"showLegend":true}},"x":0,"y":12,"static":true},{"i":"widget2","widget":{"header":"default-header","body":"line-chart-view","title":"Memory Usage (GiB)"},"w":12,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"imxc","metricId":"container_memory_working_set_bytes_by_workload","entityId":"postgres","type":"workload"}},"visualization":{"showLegend":true}},"x":12,"y":12,"static":true},{"i":"widget4","widget":{"header":"default-header","body":"line-chart-view","title":"Network Recieved (KiB)"},"w":12,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"imxc","metricId":"container_network_receive_by_workload","entityId":"postgres","type":"workload"}},"visualization":{"showLegend":true,"background":null,"fontSize":12,"textAlign":"center","padding":[0,18],"sideways":false}},"x":36,"y":12,"static":true},{"i":"widget3","widget":{"header":"default-header","body":"line-chart-view","title":"Network Transmit (KiB)"},"w":12,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"imxc","metricId":"container_network_transmit_by_workload","entityId":"postgres","type":"workload"}},"visualization":{"showLegend":true}},"x":24,"y":12,"static":true},{"i":"widget5","widget":{"header":"default-header","body":"label-view","title":" "},"w":48,"h":3,"minW":2,"minH":1,"maxW":48,"maxH":36,"component":{"api":{},"visualization":{"background":null,"fontSize":18,"textAlign":"left","padding":[0,18],"sideways":false,"fontWeight":"bold","text":"General Statics"}},"x":0,"y":22,"static":true},{"i":"widget6","widget":{"header":"default-header","body":"horizontal-bar-chart-view","title":"Lock mode"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"pg_count_by_lockmode","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":25,"static":true},{"i":"widget7","widget":{"header":"default-header","body":"horizontal-bar-chart-view","title":"Connection By DB and State"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"pg_count_by_dbname_state","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":24,"y":25,"static":true},{"i":"widget8","widget":{"header":"default-header","body":"stat-view","title":"Number of Client Connection"},"w":17,"h":6,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_activity_count","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[],"showLegend":true}},"x":15,"y":3,"static":true},{"i":"widget9","widget":{"header":"default-header","body":"label-view","title":" "},"w":48,"h":3,"minW":2,"minH":1,"maxW":48,"maxH":36,"component":{"api":{},"visualization":{"background":null,"fontSize":18,"textAlign":"left","padding":[0,18],"sideways":false,"fontWeight":"bold","text":"Overview"}},"x":0,"y":0,"static":true},{"i":"widget11","widget":{"header":"default-header","body":"stat-view","title":"Lock Count"},"w":16,"h":6,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"pg_locks_count","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"x":32,"y":3,"static":true},{"i":"widget10","widget":{"header":"default-header","body":"stat-view","title":"Up"},"w":15,"h":6,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"pg_up","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[{"color":"#32AC2D","value":"1"}]}},"x":0,"y":3,"static":true},{"i":"widget12","widget":{"header":"default-header","body":"line-chart-view","title":"Buffer Cache Hit Ratio (%)"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_cache_hit_ratio","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true,"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"x":0,"y":36,"static":true},{"i":"widget13","widget":{"header":"default-header","body":"line-chart-view","title":"Read/Write spent time by file blocks"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_blk_read_write_time","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true,"row":8,"column":["date","value"]}},"x":24,"y":36,"static":true},{"i":"widget14","widget":{"header":"default-header","body":"label-view","title":" "},"w":48,"h":3,"minW":2,"minH":1,"maxW":48,"maxH":36,"component":{"api":{},"visualization":{"background":null,"fontSize":18,"textAlign":"left","padding":[0,18],"sideways":false,"fontWeight":"bold","text":"Block"}},"x":0,"y":47,"static":true},{"i":"widget15","widget":{"header":"default-header","body":"line-chart-view","title":"Number of Disk Blocks Read"},"w":48,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_blks_read","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":61,"static":true},{"i":"widget17","widget":{"header":"default-header","body":"line-chart-view","title":"Number of Rows Inserted"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_tup_inserted","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":75,"static":true},{"i":"widget18","widget":{"header":"default-header","body":"line-chart-view","title":"Time Spent Reading Data File Blocks (ms)"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_blk_read_time","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":50,"static":true},{"i":"widget19","widget":{"header":"default-header","body":"line-chart-view","title":"Time Spent Writing Data File Blocks (ms)"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_blk_write_time","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":24,"y":50,"static":true},{"i":"widget20","widget":{"header":"default-header","body":"label-view","title":" "},"w":48,"h":3,"minW":2,"minH":1,"maxW":48,"maxH":36,"component":{"api":{},"visualization":{"background":null,"fontSize":18,"textAlign":"left","padding":[0,18],"sideways":false,"fontWeight":"bold","text":"Row"}},"x":0,"y":72,"static":true},{"i":"widget16","widget":{"header":"default-header","body":"line-chart-view","title":"Number of Rows Updated"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_tup_updated","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":24,"y":75,"static":true},{"i":"widget21","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Number of Transactions Committed"},"w":24,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_xact_commit","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":110,"static":true},{"i":"widget22","widget":{"header":"default-header","body":"line-chart-view","title":"Number of Rows Returned"},"w":48,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_tup_returned","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":97,"static":true},{"i":"widget23","widget":{"header":"default-header","body":"line-chart-view","title":"Number of Rows Fetched"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_tup_fetched","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":24,"y":86,"static":true},{"i":"widget24","widget":{"header":"default-header","body":"line-chart-view","title":"Number of Rows Deleted"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_tup_deleted","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":86,"static":true},{"i":"widget25","widget":{"header":"default-header","body":"label-view","title":" "},"w":48,"h":3,"minW":2,"minH":1,"maxW":48,"maxH":36,"component":{"api":{},"visualization":{"background":null,"fontSize":18,"textAlign":"left","padding":[0,18],"sideways":false,"fontWeight":"bold","text":"Transaction"}},"x":0,"y":107,"static":true},{"i":"widget26","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Number of Transactions Rolled Back"},"w":24,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"pg_stat_database_xact_rollback","entityId":"","type":"PostgreSQL","filter":""}},"visualization":{"showLegend":true}},"x":24,"y":110,"static":true}]',
  'Postgres', (select id from auth_resource3 where name='dashboard|admin|Postgres'), 'admin', 'admin', NULL, true);
INSERT INTO public.dashboard2 (id, created_date, modified_date, layout, title, auth_resource_id, created_by, modified_by, description, "share")
  VALUES(nextval('hibernate_sequence'), '2020-04-28 09:23:14.286', '2020-04-28 09:23:44.213', '[{"i":"widget0","widget":{"header":"default-header","body":"line-chart-view","title":"CPU Usage (%)","description":"Redis Pod에 대한 CPU 사용량"},"w":12,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"imxc","metricId":"container_cpu_usage_core_by_workload","entityId":"redis-master,redis-slave","type":"workload","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":7,"static":true},{"i":"widget1","widget":{"header":"default-header","body":"line-chart-view","title":"Memory Usage (GiB)"},"w":12,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"imxc","metricId":"container_memory_usage_bytes_by_workload","entityId":"redis-master,redis-slave","type":"workload","filter":""}},"visualization":{"showLegend":true}},"x":12,"y":7,"static":true},{"i":"widget2","widget":{"header":"default-header","body":"line-chart-view","title":"Network Transmit (KB)"},"w":12,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"imxc","metricId":"container_network_transmit_by_workload","entityId":"redis-master,redis-slave","type":"workload"}},"visualization":{"showLegend":true}},"x":24,"y":7,"static":true},{"i":"widget3","widget":{"header":"default-header","body":"line-chart-view","title":"Network Recieved (KiB)"},"w":12,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"imxc","metricId":"container_network_receive_by_workload","entityId":"redis-master,redis-slave","type":"workload"}},"visualization":{"showLegend":true}},"x":36,"y":7,"static":true},{"i":"widget4","widget":{"header":"default-header","body":"stat-view","title":"Redis Up Count"},"w":12,"h":7,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"redis_up","entityId":"","type":"Redis","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[{"color":"#32AC2D","value":"1"}]}},"x":0,"y":0,"static":true},{"i":"widget5","widget":{"header":"default-header","body":"stat-view","title":"Connected Clients Count"},"w":12,"h":7,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"redis_connected_clients","entityId":"","type":"Redis","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"x":12,"y":0,"static":true},{"i":"widget6","widget":{"header":"default-header","body":"stat-view","title":"Blocked Client Count"},"w":12,"h":7,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"redis_blocked_clients","entityId":"","type":"Redis","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":null,"baseColor":"#409EFF","thresholds":[],"showLegend":true}},"x":36,"y":0,"static":true},{"i":"widget7","widget":{"header":"default-header","body":"horizontal-bar-chart-view","title":"Calls per command"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"redis_commands_total","entityId":"","type":"Redis","filter":""}},"visualization":{"showLegend":true,"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":null,"baseColor":"#409EFF","thresholds":[]}},"x":0,"y":26,"static":true},{"i":"widget8","widget":{"header":"default-header","body":"line-chart-view","title":"Command duration"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"redis_commands_duration_seconds","entityId":"","type":"Redis","filter":"","jspdCluster":null}},"visualization":{"showLegend":true}},"x":24,"y":26,"static":true},{"i":"widget9","widget":{"header":"default-header","body":"stat-view","title":"Rejected Client Count"},"w":12,"h":7,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"redis_rejected_connections","entityId":"","type":"Redis","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"x":24,"y":0,"static":true},{"i":"widget10","widget":{"header":"default-header","body":"line-chart-view","title":"DB Key"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"redis_db_keys","entityId":"","type":"Redis","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":37,"static":true},{"i":"widget11","widget":{"header":"default-header","body":"line-chart-view","title":"DB Expired Key"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"redis_expired_keys","entityId":"","type":"Redis","filter":""}},"visualization":{"showLegend":true}},"x":24,"y":37,"static":true},{"widget":{"header":"default-header","body":"stat-view","title":"Connected Slave"},"w":16,"h":9,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"redis_connected_slaves","entityId":"","type":"Redis","filter":""}},"visualization":{"showLegend":true,"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"i":"widget12","static":true,"x":0,"y":17},{"widget":{"header":"default-header","body":"line-chart-view","title":"Slave Offset Bytes"},"w":16,"h":9,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"redis_connected_slave_offset_bytes","entityId":"","type":"Redis","filter":""}},"visualization":{"showLegend":true}},"i":"widget13","static":true,"x":16,"y":17},{"widget":{"header":"default-header","body":"line-chart-view","title":"Slave Lag Seconds"},"w":16,"h":9,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"redis_connected_slave_lag_seconds","entityId":"","type":"Redis","filter":""}},"visualization":{"showLegend":true}},"i":"widget14","static":true,"x":32,"y":17}]',
  'Redis', (select id from auth_resource3 where name='dashboard|admin|Redis'), 'admin', 'admin', NULL, true);
INSERT INTO public.dashboard2 (id, created_date, modified_date, layout, title, auth_resource_id, created_by, modified_by, description, "share")
  VALUES(nextval('hibernate_sequence'), '2020-04-28 09:23:14.286', '2020-04-28 09:23:44.213', '[{"i":"widget0","widget":{"header":"default-header","body":"stat-view","title":"4xx Error Per Seconds"},"w":8,"h":7,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_4xx_error_rate_last_5m","entityId":"","type":"Traefik","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"rgba(255, 0, 0, 1)","thresholds":[],"showLegend":true}},"x":8,"y":0,"static":true},{"i":"widget1","widget":{"header":"default-header","body":"stat-view","title":"5xx Error Per Seconds"},"w":8,"h":7,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_5xx_error_rate_last_5m","entityId":"","type":"Traefik","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"rgba(255, 0, 0, 1)","thresholds":[]}},"x":16,"y":0,"static":true},{"i":"widget2","widget":{"header":"default-header","body":"line-chart-view","title":"Pod CPU Utilization (Core)"},"w":24,"h":9,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"traefik","metricId":"container_cpu_usage_core_by_workload","entityId":"deploymentList,traefik","type":"workload"}},"visualization":{"showLegend":true}},"x":0,"y":7,"static":true},{"i":"widget3","widget":{"header":"default-header","body":"stat-view","title":"Total Request Per Seconds"},"w":8,"h":7,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_http_requests_rate_last_5m","entityId":"","type":"Traefik","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"x":0,"y":0,"static":true},{"i":"widget4","widget":{"header":"default-header","body":"stat-view","title":"Bad Request Count (10m)"},"w":8,"h":7,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_http_requests_bad_total_last_10m","entityId":"","type":"Traefik","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":null,"baseColor":"rgba(255, 0, 0, 1)","thresholds":[]}},"x":32,"y":0,"static":true},{"i":"widget5","widget":{"header":"default-header","body":"stat-view","title":"Avg. Response Duration (10m)"},"w":8,"h":7,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_http_response_time_ms","entityId":"","type":"Traefik","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"rgba(64, 158, 255, 1)","thresholds":[]}},"x":40,"y":0,"static":true},{"i":"widget6","widget":{"header":"default-header","body":"stat-view","title":"Total Request Count (10m)"},"w":8,"h":7,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_http_requests_total_last_10m","entityId":"","type":"Traefik","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":null,"baseColor":"#409EFF","thresholds":[]}},"x":24,"y":0,"static":true},{"i":"widget7","widget":{"header":"default-header","body":"line-chart-view","title":"Pod Memory Utilization (GiB)"},"w":24,"h":9,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"traefik","metricId":"container_memory_working_set_bytes_by_workload","entityId":"deploymentList,traefik","type":"workload"}},"visualization":{"showLegend":true}},"x":24,"y":7,"static":true},{"widget":{"header":"default-header","body":"line-chart-view","title":"ENTRYPOINT - Open Connections"},"w":24,"h":9,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_entrypoint_open_connections","entityId":"","type":"Traefik","filter":""}},"visualization":{"showLegend":true}},"i":"widget8","static":true,"x":0,"y":26},{"widget":{"header":"default-header","body":"line-chart-view","title":"SERVICE - Open Connections"},"w":24,"h":9,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_service_open_connections","entityId":"","type":"Traefik","filter":""}},"visualization":{"showLegend":true}},"i":"widget9","static":true,"x":24,"y":26},{"widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Used Sockets"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_soket_used","entityId":"","type":"Traefik","filter":""}},"visualization":{"showLegend":true}},"i":"widget10","static":true,"x":0,"y":35},{"widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Access to services / sec"},"w":24,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_http_requests_rate_by_service","entityId":"","type":"Traefik","filter":""}},"visualization":{"showLegend":true}},"i":"widget11","static":true,"x":0,"y":16},{"widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Access to Entrypoints / sec"},"w":24,"h":10,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_http_requests_rate_by_entrypoint","entityId":"","type":"Traefik","filter":""}},"visualization":{"showLegend":true}},"i":"widget12","static":true,"x":24,"y":16},{"widget":{"header":"default-header","body":"horizontal-bar-chart-view","title":"Horizontal Bar Chart"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"traefik_status_code_count","entityId":"","type":"Traefik","filter":""}},"visualization":{"showLegend":true}},"i":"widget13","static":true,"x":24,"y":35}]',
  'Traefik', (select id from auth_resource3 where name='dashboard|admin|Traefik'), 'admin', 'admin', NULL, true);
INSERT INTO public.dashboard2 (id, created_date, modified_date, layout, title, auth_resource_id, created_by, modified_by, description, "share")
  VALUES(nextval('hibernate_sequence'), '2020-04-28 09:23:14.286', '2020-04-28 09:23:44.213', '[{"i":"widget0","widget":{"header":"default-header","body":"stat-view","title":"Current QPS"},"w":8,"h":8,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_query_per_second","entityId":"","type":"MySQL","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[],"showLegend":true}},"x":16,"y":0,"static":true},{"i":"widget1","widget":{"header":"default-header","body":"stat-view","title":"InnoDB Buffer Pool Size (GiB)"},"w":8,"h":8,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_Innodb_buffer_pool_size","entityId":"","type":"MySQL","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[],"showLegend":true}},"x":8,"y":0,"static":true},{"i":"widget2","widget":{"header":"default-header","body":"stat-view","title":"Number of Connection Attempts"},"w":8,"h":8,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_global_status_connections","entityId":"","type":"MySQL","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"x":40,"y":0,"static":true},{"i":"widget3","widget":{"header":"default-header","body":"stat-view","title":"Max Connection","description":"Maximum permitted number of simultaneous client connections. By default, this is 151."},"w":8,"h":8,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_global_variables_max_connections","entityId":"","type":"MySQL","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"x":24,"y":0,"static":true},{"i":"widget4","widget":{"header":"default-header","body":"stat-view","title":"Number of Max Used Connection","description":"Maximum number of connections that have been in use simultaneously since the server started."},"w":8,"h":8,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_global_status_max_used_connections","entityId":"","type":"MySQL","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"x":32,"y":0,"static":true},{"i":"widget5","widget":{"header":"default-header","body":"stat-view","title":"Instance Up Count"},"w":8,"h":8,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_up","entityId":"","type":"MySQL","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[],"showLegend":true}},"x":0,"y":0,"static":true},{"i":"widget6","widget":{"header":"default-header","body":"line-chart-view","title":"Buffer Cache Hit Ratio"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_cache_hit_ratio","entityId":"","type":"MySQL","filter":""}},"visualization":{"showLegend":true}},"x":24,"y":19,"static":true},{"i":"widget7","widget":{"header":"default-header","body":"line-chart-view","title":"Disk R/W Bytes"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_disk_io","entityId":"","type":"MySQL","filter":""}},"visualization":{"showLegend":true}},"x":24,"y":8,"static":true},{"i":"widget8","widget":{"header":"default-header","body":"line-chart-view","title":"Buffer I/O Bytes"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_buffer_io","entityId":"","type":"MySQL","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":19,"static":true},{"i":"widget9","widget":{"header":"default-header","body":"line-chart-view","title":"Network Recieved / Transmit (KiB)"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_bytes_received_sent","entityId":"","type":"MySQL","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":8,"static":true},{"i":"widget10","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Number of Locks"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_status_locks","entityId":"","type":"MySQL","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":30,"static":true},{"i":"widget11","widget":{"header":"default-header","body":"line-chart-view","title":"MySQL Questions"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_global_status_questions","entityId":"","type":"MySQL","filter":""}},"visualization":{"showLegend":true}},"x":24,"y":30,"static":true},{"i":"widget12","widget":{"header":"default-header","body":"line-chart-view","title":"Line Chart"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_threads_total","entityId":"","type":"MySQL","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":41,"static":true},{"widget":{"header":"default-header","body":"horizontal-bar-chart-view","title":"Command Executed"},"w":24,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"mysql_global_status_commands_total","entityId":"","type":"MySQL","filter":""}},"visualization":{"showLegend":true}},"i":"widget13","static":true,"x":24,"y":41}]',
  'MySQL / MariaDB', (select id from auth_resource3 where name='dashboard|admin|MySQL / MariaDB'), 'admin', 'admin', NULL, true);
INSERT INTO public.dashboard2 (id, created_date, modified_date, layout, title, auth_resource_id, created_by, modified_by, description, "share")
  VALUES(nextval('hibernate_sequence'), '2020-04-28 09:23:14.286', '2020-04-28 09:23:44.213', '[{"i":"widget0","widget":{"header":"default-header","body":"stat-view","title":"Up"},"w":9,"h":9,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_ingress_nginx_up","entityId":"","type":"Nginx-Ingress","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"x":0,"y":0,"static":true},{"i":"widget1","widget":{"header":"default-header","body":"line-chart-view","title":"CPU Usage (%)"},"w":12,"h":9,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"nginx-ingress","metricId":"container_cpu_usage_core_by_workload","entityId":"deploymentList,nginx-ingress-nginx-ingress","type":"workload"}},"visualization":{"showLegend":true}},"x":0,"y":9,"static":true},{"i":"widget2","widget":{"header":"default-header","body":"line-chart-view","title":"Memory Usage (GiB)"},"w":12,"h":9,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"nginx-ingress","metricId":"container_memory_usage_by_workload","entityId":"deploymentList,nginx-ingress-nginx-ingress","type":"workload"}},"visualization":{"showLegend":true}},"x":12,"y":9,"static":true},{"i":"widget3","widget":{"header":"default-header","body":"stat-view","title":"Connected Clients Count"},"w":10,"h":9,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_ingress_nginx_connections_active","entityId":"","type":"Nginx-Ingress","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":null,"baseColor":"#409EFF","thresholds":[],"showLegend":true}},"x":9,"y":0,"static":true},{"i":"widget4","widget":{"header":"default-header","body":"line-chart-view","title":"Network Transmit (KB)"},"w":12,"h":9,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"nginx-ingress","metricId":"container_network_transmit_by_workload","entityId":"deploymentList,nginx-ingress-nginx-ingress","type":"workload"}},"visualization":{"showLegend":true}},"x":24,"y":9,"static":true},{"i":"widget5","widget":{"header":"default-header","body":"line-chart-view","title":"Network Recieved (KiB)"},"w":12,"h":9,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"nginx-ingress","metricId":"container_network_receive_by_workload","entityId":"deploymentList,nginx-ingress-nginx-ingress","type":"workload"}},"visualization":{"showLegend":true}},"x":36,"y":9,"static":true},{"i":"widget6","widget":{"header":"default-header","body":"stat-view","title":"Nginx Ingress last reload status"},"w":10,"h":9,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_ingress_controller_nginx_last_reload_status","entityId":"","type":"Nginx-Ingress","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[],"showLegend":true}},"x":19,"y":0,"static":true},{"i":"widget7","widget":{"header":"default-header","body":"stat-view","title":"Nginx Ingress reload success total"},"w":10,"h":9,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_ingress_controller_nginx_reloads_total","entityId":"","type":"Nginx-Ingress","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"x":29,"y":0,"static":true},{"i":"widget8","widget":{"header":"default-header","body":"stat-view","title":"Nginx Ingress reload error total"},"w":9,"h":9,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_ingress_controller_nginx_reload_errors_total","entityId":"","type":"Nginx-Ingress","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":null,"max":null,"decimals":2,"baseColor":"#409EFF","thresholds":[]}},"x":39,"y":0,"static":true},{"i":"widget10","widget":{"header":"default-header","body":"line-chart-view","title":"Nginx Ingress Http Request Seconds"},"w":48,"h":15,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_ingress_nginx_http_requests_second","entityId":"","type":"Nginx-Ingress","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":18,"static":true}]',
  'Nginx-Ingress', (select id from auth_resource3 where name='dashboard|admin|Nginx-Ingress'), 'admin', 'admin', NULL, true);
INSERT INTO public.dashboard2 (id, created_date, modified_date, layout, title, auth_resource_id, created_by, modified_by, description, "share")
  VALUES(nextval('hibernate_sequence'), '2020-04-28 09:23:14.286', '2020-04-28 09:23:44.213', '[{"i":"widget1","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Accepted Connections","description":"Accepted connection count of Nginx"},"w":18,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_accepted","entityId":"","type":"Nginx","filter":""}},"visualization":{"showLegend":true}},"x":30,"y":11,"static":true},{"i":"widget2","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Handled Connections","description":"Handled connection count of Nginx"},"w":18,"h":14,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_handled","entityId":"","type":"Nginx","filter":""}},"visualization":{"showLegend":true}},"x":30,"y":22,"static":true},{"i":"widget3","widget":{"header":"default-header","body":"line-chart-view","title":"Active Connections","description":"Active connection count of Nginx"},"w":12,"h":14,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_active","entityId":"","type":"Nginx","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":8,"static":true},{"i":"widget4","widget":{"header":"default-header","body":"line-chart-view","title":"Waiting Connections","description":"Waiting connection count of Nginx"},"w":12,"h":14,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_waiting","entityId":"","type":"Nginx","filter":""}},"visualization":{"showLegend":true}},"x":12,"y":8,"static":true},{"i":"widget5","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Reading Connections","description":"Reading connection count of Nginx"},"w":12,"h":14,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_reading","entityId":"","type":"Nginx","filter":""}},"visualization":{"showLegend":true}},"x":0,"y":22,"static":true},{"i":"widget6","widget":{"header":"default-header","body":"stack-bar-chart-view","title":"Writing Connection","description":"Writing connection count of Nginx"},"w":12,"h":14,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_writing","entityId":"","type":"Nginx","filter":""}},"visualization":{"showLegend":true}},"x":12,"y":22,"static":true},{"i":"widget7","widget":{"header":"default-header","body":"label-view","title":" "},"w":24,"h":3,"minW":2,"minH":1,"maxW":48,"maxH":36,"component":{"api":{},"visualization":{"background":null,"fontSize":20,"textAlign":"left","padding":[0,18],"sideways":false,"fontWeight":"bold","text":"Nginx Information"}},"x":0,"y":0,"static":true},{"i":"widget0","widget":{"header":"default-header","body":"stat-view","title":"Active"},"w":6,"h":5,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_active","entityId":"","type":"Nginx","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":"0","max":null,"decimals":null,"baseColor":"#409EFF","thresholds":[]}},"x":0,"y":3,"static":true},{"i":"widget8","widget":{"header":"default-header","body":"stat-view","title":"Waiting"},"w":6,"h":5,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_waiting","entityId":"","type":"Nginx","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":"0","max":null,"decimals":null,"baseColor":"#409EFF","thresholds":[]}},"x":6,"y":3,"static":true},{"i":"widget9","widget":{"header":"default-header","body":"stat-view","title":"Reading"},"w":6,"h":5,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_reading","entityId":"","type":"Nginx","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":"0","max":null,"decimals":null,"baseColor":"#409EFF","thresholds":[]}},"x":12,"y":3,"static":true},{"i":"widget10","widget":{"header":"default-header","body":"stat-view","title":"Writing"},"w":6,"h":5,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_writing","entityId":"","type":"Nginx","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":"0","max":null,"decimals":null,"baseColor":"#409EFF","thresholds":[]}},"x":18,"y":3,"static":true},{"i":"widget11","widget":{"header":"default-header","body":"line-chart-view","title":"Http Request"},"w":18,"h":11,"minW":8,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":false,"range":true,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_http_requests_total","entityId":"","type":"Nginx","filter":""}},"visualization":{"showLegend":true}},"x":30,"y":0,"static":true},{"i":"widget12","widget":{"header":"default-header","body":"stat-view","title":"Http Request"},"w":6,"h":11,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_http_requests_total","entityId":"","type":"Nginx","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":"0","max":null,"decimals":null,"baseColor":"#409EFF","thresholds":[]}},"x":24,"y":0,"static":true},{"i":"widget13","widget":{"header":"default-header","body":"stat-view","title":"Accepted Count"},"w":6,"h":11,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_accepted","entityId":"","type":"Nginx","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":"0","max":null,"decimals":null,"baseColor":"#409EFF","thresholds":[]}},"x":24,"y":11,"static":true},{"i":"widget14","widget":{"header":"default-header","body":"stat-view","title":"Handled Count"},"w":6,"h":14,"minW":6,"minH":4,"maxW":48,"maxH":18,"component":{"api":{"uri":"metric.chart","params":{"unique":true,"range":false,"clusterId":"cloudmoa","namespace":"","metricId":"nginx_connections_handled","entityId":"","type":"Nginx","filter":""}},"visualization":{"showGauge":false,"showPercent":false,"min":"0","max":null,"decimals":null,"baseColor":"#409EFF","thresholds":[]}},"x":24,"y":22,"static":true}]',
  'Nginx Dashboard',(select id from auth_resource3 where name='dashboard|admin|Nginx'),'admin','admin','Nginx Dashboard',true);


INSERT INTO public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date) VALUES ('normal_score', '20', null, null, 'anomaly', '2020-07-07 18:15:55.000000', '2020-07-07 18:15:53.000000');
INSERT INTO public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date) VALUES ('attention_score', '60', null, null, 'anomaly', '2020-07-07 09:18:04.968765', '2020-07-07 09:18:04.968765');
INSERT INTO public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date) VALUES ('warning_score', '90', null, null, 'anomaly', '2020-07-07 09:18:17.091678', '2020-07-07 09:18:17.091678');
INSERT INTO public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date) VALUES ('collection_weeks', '5', null, null, 'anomaly', '2020-07-13 03:52:44.445408', '2020-07-13 03:52:44.445408');

insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('topology_storage_period', 7, 'retention period setting value for topology information', null, 'storage', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('trace_storage_period', 3, 'retention period setting value for trace data', null, 'storage', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('event_storage_period', 7, 'retention period setting value for event data', null, 'storage', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('metric_storage_period', 7, 'retention period setting value for metric data', null, 'storage', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('sparse_storage_period', 90, 'retention period setting value for sparse log', null, 'storage', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('anomaly_storage_period', 7, 'retention period setting value for anomaly score', null, 'storage', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('alert_storage_period', 7, 'retention period setting value for alert data', null, 'storage', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('audit_storage_period', 7, 'retention period setting value for audit data', null, 'storage', now(), null);

insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('topology_idx', 'kubernetes_cluster_info:kubernetes_cluster_history:kubernetes_cronjob_info:kubernetes_info:kubernetes_job_info:kubernetes_network_connectivity:kubernetes_pod_info:kubernetes_pod_history', 'elastic search topology type data index', null, 'storageidx', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('trace_idx', 'spaninfo:sta_httpapi:sta_httpsummary:sta_podinfo:sta_relation:sta_tracetrend:sta_externalrelation:sta_traceinfo:jspd_ilm', 'elastic search trace type data index', null, 'storageidx', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('event_idx', 'kubernetes_event_info', 'elastic search for event data index', null, 'storageidx', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('sparse_idx', 'sparse_model:sparse_log', 'elastic search sparse data index', null, 'storageidx', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('anomaly_idx', 'entity_score:metric_score:timeline_score', 'elastic search amomaly data index', null, 'storageidx', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('alert_idx', 'alert_event_history', 'elastic search alert data index', null, 'storageidx', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('audit_idx', 'kubernetes_audit_log', 'elastic search audit type data index', null, 'storageidx', now(), null);

-- insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date) values ('ratelimiting', 2.0, '{"type" : "int", "operator" : "range", "minVal" : "1", "maxVal" : "3000", "desc" : "The time-based sampling method allows input as an integer (e.g. 1 monitors only 1 trace per second)" }', null, 'tracesampling', '2020-07-30 13:54:52', null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('probabilistic', 0.1, '{"type" : "float", "operator" : "range", "minVal" : "0", "maxVal" : "1.0", "desc" : "Probability-based sampling method allows input between 0 and 1 (e.g. 0.1 monitors only 10% of trace information)" }', null, 'tracesampling', '2020-07-30 13:54:52', null);

INSERT INTO common_setting values('alert_expression','==,<=,<,>=,>', 'alert expression for user custom', null,'alert', now(), now());

INSERT INTO common_setting values('job_duration_range','86400', 'job duration range for average', null,'job', now(), now());

insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Topology Agent', 'topology-agent', 'topology agent deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Metric Agent', 'metric-agent', 'metric agent deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Trace Agent', 'cloudmoa-trace-agent', 'trace agent deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Datagate', 'datagate', 'datagate deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Jspd Collector', 'jspd-lite-collector', 'jspd collector deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Metric Collector', 'metric-collector', 'metric collector deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Cloudmoa Collector', 'cmoa-collector', 'cloudmoa collector deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Authentication Server', 'auth-server', 'authentication server deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Notification Server', 'noti-server', 'notification server deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Eureka Server', 'eureka', 'eureka server deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Zuul Server', 'zuul-deployment', 'zuul server deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Api Server', 'imxc-api', 'api server deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Ui Server', 'imxc-ui', 'ui server deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Metric Analyzer Master', 'metric-analyzer-master', 'metric analyzer master deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Metric Analyzer Worker', 'metric-analyzer-worker', 'metric analyzer worker deployment name', null, 'modules', now(), null);
insert into public.common_setting (code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
values ('Kafka Stream Txntrend', 'kafka-stream-txntrend-deployment', 'kafka stream txntrend deployment name', null, 'modules', now(), null);

INSERT INTO public.common_setting
(code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
VALUES('error_msg', 'false', 'Error Message default value', '', 'user_setting', now(), null);
INSERT INTO public.common_setting
(code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
VALUES('alert_sound', 'false', 'Alert Sound default value', '', 'user_setting', now(), null);
INSERT INTO public.common_setting
(code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
VALUES('session_persistence', 'true', 'Session Persistence default value', '', 'user_setting', now(), null);
INSERT INTO public.common_setting
(code_id, code_value, code_desc, code_auth, code_group, created_date, modified_date)
VALUES('gpu_acc_topology', 'true', 'GPU Accelerated Topology default value', '', 'user_setting', now(), null);

insert into public.log_management (cluster_id, node_id, log_rotate_dir, log_rotate_count, log_rotate_size, log_rotate_management, back_up_dir, back_up_period, back_up_dir_size, back_up_management, created_date, modified_date) values ('cloudmoa', '', '/var/lib/docker', 3, 100, true, '/home/moa/log', 5, 1000, true, '2020-07-30 13:54:52', null);

insert into public.agent_install_file_info (id, name, type, description, version, yaml, use_yn, created_date, modified_date) values (5, 'metrics-server', 'agent', 'Metrcis-Server는 Kubernetes의 kubelet에 있는 cAdvisor로부터 Container Metric 데이터를 수집하여 Prometheus에 전달하는 역할을 합니다.', null, '---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: system:cloudmoa-aggregated-metrics-reader
  labels:
    rbac.authorization.k8s.io/aggregate-to-view: "true"
    rbac.authorization.k8s.io/aggregate-to-edit: "true"
    rbac.authorization.k8s.io/aggregate-to-admin: "true"
rules:
  - apiGroups: ["metrics.k8s.io"]
    resources: ["pods"]
    verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: cloudmoa-metrics-server:system:auth-delegator
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:auth-delegator
subjects:
  - kind: ServiceAccount
    name: cloudmoa-metrics-server
    namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: cloudmoa-metrics-server-auth-reader
  namespace: kube-system
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: extension-apiserver-authentication-reader
subjects:
  - kind: ServiceAccount
    name: cloudmoa-metrics-server
    namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: system:cloudmoa-metrics-server
rules:
  - apiGroups:
      - ""
    resources:
      - pods
      - nodes
      - nodes/stats
    verbs:
      - get
      - list
      - watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: system:cloudmoa-metrics-server
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:cloudmoa-metrics-server
subjects:
  - kind: ServiceAccount
    name: cloudmoa-metrics-server
    namespace: kube-system
---
apiVersion: v1
kind: Service
metadata:
  name: cloudmoa-metrics-server
  namespace: kube-system
  labels:
    kubernetes.io/name: "Metrics-server"
spec:
  selector:
    k8s-app: cloudmoa-metrics-server
  ports:
    - port: 443
      protocol: TCP
      targetPort: 443
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: cloudmoa-metrics-server
  namespace: kube-system
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cloudmoa-metrics-server
  namespace: kube-system
  labels:
    k8s-app: cloudmoa-metrics-server
spec:
  selector:
    matchLabels:
      k8s-app: cloudmoa-metrics-server
  template:
    metadata:
      name: cloudmoa-metrics-server
      labels:
        k8s-app: cloudmoa-metrics-server
    spec:
      serviceAccountName: cloudmoa-metrics-server
      volumes:
        # mount in tmp so we can safely use from-scratch images and/or read-only containers
        - name: tmp-dir
          emptyDir: {}
      containers:
        - name: cloudmoa-metrics-server
          image: $DOCKER_REGISTRY_URL/metrics-server-amd64
          command:
            - /metrics-server
            - --logtostderr
            - --v=4
            - --kubelet-insecure-tls=true
            - --kubelet-preferred-address-types=InternalIP,Hostname,InternalDNS,ExternalDNS,ExternalIP
          volumeMounts:
            - name: tmp-dir
              mountPath: /tmp1', true, '2021-03-11 13:41:48.000000', '2021-03-11 13:41:56.000000');
insert into public.agent_install_file_info (id, name, type, description, version, yaml, use_yn, created_date, modified_date) values (7, 'jaeger', 'application', 'CloudMOA에서는 고객사에서 운영 중인 application의 TPS, 서비스 연관관계 등의 데이터를 얻기 위해서 Jaeger를 사용하며, Jaeger 사용을 위해 Jaeger-client, jaeger-agent, jaeger-collector의 설치가 필요합니다.
', null, '---
apiVersion: v1
kind: List
items:
- apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: cloudmoa-trace-agent
    namespace: $CLOUDMOA_NAMESPACE
    labels:
      app: cloudmoa-trace-agent
  spec:
    selector:
      matchLabels:
        app: cloudmoa-trace-agent
    replicas: 1
    strategy:
      type: Recreate
    template:
      metadata:
        labels:
          app: cloudmoa-trace-agent
      spec:
        securityContext:
          runAsNonRoot: true
          runAsUser: 65534
        containers:
          - image: $DOCKER_REGISTRY_URL/trace-agent:$IMAGE_TAG
            name: cloudmoa-trace-agent
            resources:
              requests:
                cpu: 100m
                memory: 50Mi
              limits:
                cpu: 200m
                memory: 100Mi
            ports:
              - containerPort: 5775
                protocol: UDP
              - containerPort: 6831
                protocol: UDP
              - containerPort: 6832
                protocol: UDP
              - containerPort: 5778
                protocol: TCP
            env:
              - name: LOG_LEVEL
                value: "INFO"
              - name: CLUSTER_ID
                value: $CLOUDMOA_CLUSTER_ID
              - name: DATAGATE
                value: $COLLTION_SERVER_DATAGATE_IP:$COLLTION_SERVER_DATAGATE_PORT
- apiVersion: v1
  kind: Service
  metadata:
    name: cloudmoa-trace-agent
    namespace: $CLOUDMOA_NAMESPACE
    labels:
      app: cloudmoa-trace-agent
  spec:
    ports:
      - name: agent-zipkin-thrift
        port: 5775
        protocol: UDP
        targetPort: 5775
      - name: agent-compact
        port: 6831
        protocol: UDP
        targetPort: 6831
      - name: agent-binary
        port: 6832
        protocol: UDP
        targetPort: 6832
      - name: agent-configs
        port: 5778
        protocol: TCP
        targetPort: 5778
    selector:
      app: cloudmoa-trace-agent
    type: ClusterIP', true, '2021-03-11 17:48:34.000000', '2021-03-11 17:48:39.000000');
insert into public.agent_install_file_info (id, name, type, description, version, yaml, use_yn, created_date, modified_date) values (4, 'node-agent', 'agent', 'Node에 관련된 Metric 시계열 데이터를 수집하여 고객사 클러스터에 설치된 Prometheus에 전달하는 역할을 합니다.', null, '---
', true, '2021-03-11 13:41:02.000000', '2021-03-11 13:41:06.000000');
insert into public.agent_install_file_info (id, name, type, description, version, yaml, use_yn, created_date, modified_date) values (2, 'agent', 'agent', '관제 대상 클러스터의 Topology 데이터를 수집하여 Kafka를 통해 수집 클러스터에 전달하는 역할을 하며, 그 밖에 API 서버와의 TCP 연결을 통해 관리 기능, Log Viewer 기능 등을 수행합니다.', null, '---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: cloudmoa-cluster-role
rules:
  - nonResourceURLs:
      - "*"
    verbs:
      - get
  - apiGroups:
      - metrics.k8s.io
    resources:
      - pods
      - nodes
    verbs:
      - get
      - list
      - watch
  - apiGroups:
      - ""
    resources:
      - pods
    verbs:
      - get
      - list
      - watch
      - update
  - apiGroups:
      - ""
    resources:
      - services
    verbs:
      - get
      - list
      - watch
      - update
  - apiGroups:
      - ""
    resources:
      - nodes/stats
      - endpoints
      - namespaces
      - events
    verbs:
      - get
      - list
      - watch
  - apiGroups:
      - apps
    resources:
      - daemonsets
      - deployments
      - deployments/scale
      - replicasets
      - replicasets/scale
      - statefulsets
      - statefulsets/scale
    verbs:
      - get
      - list
      - watch
      - update
  - apiGroups:
      - batch
    resources:
      - jobs
    verbs:
      - get
      - list
      - watch
      - update
  - apiGroups:
      - batch
    resources:
      - cronjobs
    verbs:
      - get
      - list
      - update
  - apiGroups:
      - storage.j8s.io
    resources:
      - storageclasses
    verbs:
      - get
      - list
  - apiGroups:
      - networking.k8s.io
    resources:
      - ingresses
    verbs:
      - get
      - list
  - apiGroups:
      - extensions
    resources:
      - ingresses
    verbs:
      - get
      - list
  - apiGroups:
      - policy
    resources:
      - podsecuritypolicies
    verbs:
      - use
    resourceNames:
      - imxc-ps
  - apiGroups:
      - certificates.k8s.io
    resourceNames:
      - kubernetes.io/kube-apiserver-client-kubelet
    resources:
      - signers
    verbs:
      - approve
  - apiGroups:
      - certificates.k8s.io
    resourceNames:
      - kubernetes.io/kubelet-serving
    resources:
      - signers
    verbs:
      - approve
  - apiGroups:
      - ""
    resources:
      - nodes
    verbs:
      - get
      - list
      - watch
      - proxy
  - apiGroups:
      - ""
    resources:
      - nodes/log
      - nodes/metrics
      - nodes/proxy
      - nodes/spec
      - nodes/stats
    verbs:
      - ''*''
  - apiGroups:
      - ''*''
    resources:
      - ''*''
    verbs:
      - get
      - list
      - watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: cloudmoa-restricted-rb
  namespace: $CLOUDMOA_NAMESPACE
subjects:
  - kind: ServiceAccount
    name: default
    namespace: $CLOUDMOA_NAMESPACE
roleRef:
  kind: ClusterRole
  name: cloudmoa-cluster-role
  apiGroup: rbac.authorization.k8s.io
---
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
  name: cloudmoa-psp
  namespace: $CLOUDMOA_NAMESPACE
spec:
  privileged: true
  seLinux:
    rule: RunAsAny
  supplementalGroups:
    rule: RunAsAny
  runAsUser:
    rule: RunAsAny
  fsGroup:
    rule: RunAsAny
  hostPorts:
    - max: 65535
      min: 0
  hostNetwork: true
  hostPID: true
  volumes:
    - configMap
    - secret
    - emptyDir
    - hostPath
    - projected
    - downwardAPI
    - persistentVolumeClaim
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: cloudmoa-topology-agent
  namespace: $CLOUDMOA_NAMESPACE
  labels:
    app: cloudmoa-topology-agent
spec:
  selector:
    matchLabels:
      app: cloudmoa-topology-agent
  template:
    metadata:
      labels:
        app: cloudmoa-topology-agent
    spec:
      hostNetwork: true
      hostPID: true
      tolerations:
      - effect: NoSchedule
        operator: Exists
      - effect: NoExecute
        operator: Exists
      containers:
      - image: $DOCKER_REGISTRY_URL/node-exporter
        name: node-agent
        resources:
          limits:
            cpu: 250m
            memory: 180Mi
          requests:
            cpu: 125m
            memory: 90Mi
        ports:
        - containerPort: 9110
          hostPort: 9110
          name: scrape
        args:
        - --path.procfs=/host/proc
        - --path.sysfs=/host/sys
        - --path.rootfs=/host/root
        - --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|run|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
        - --collector.tcpstat
        - --web.listen-address=:9110
        # --log.level=debug
        env:
        - name: GOMAXPROCS
          value: "1"
        volumeMounts:
        - mountPath: /host/proc
          name: proc-volume
          readOnly: false
        - mountPath: /host/sys
          name: sys-volume
          readOnly: false
        - mountPath: /host/root
          mountPropagation: HostToContainer
          name: root-volume
          readOnly: true
      - name: cloudmoa-topology-agent
        image: $DOCKER_REGISTRY_URL/topology-agent:$IMAGE_TAG
        resources:
          requests:
            cpu: 200m
            memory: 512Mi
          limits:
            cpu: 500m
            memory: 600Mi
        securityContext:
          privileged: true
        volumeMounts:
        - mountPath: /host/usr/bin
          name: bin-volume
        - mountPath: /var/run/docker.sock
          name: docker-volume
        - mountPath: /host/proc
          name: proc-volume
        - mountPath: /root
          name: root-volume
        - mountPath: /log
          name: log-volume
        env:
          - name: DATAGATE
            value: $COLLTION_SERVER_DATAGATE_IP:$COLLTION_SERVER_DATAGATE_PORT
          - name: CLUSTER_ID
            value: $CLOUDMOA_CLUSTER_ID
          - name: ROOT_DIRECTORY
            value: /root
          - name: NODE_NAME
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: spec.nodeName
          - name: POD_ID
            valueFrom:
              fieldRef:
                fieldPath: metadata.name
          - name: NAMESPACE
            valueFrom:
              fieldRef:
                fieldPath: metadata.namespace
          - name: LOG_LEVEL
            value: "INFO"
      volumes:
      - name: bin-volume
        hostPath:
          path: /usr/bin
          type: Directory
      - name: docker-volume
        hostPath:
          path: /var/run/docker.sock
      - name: proc-volume
        hostPath:
          path: /proc
      - name: root-volume
        hostPath:
          path: /
      - hostPath:
          path: /sys
        name: sys-volume
      - name: log-volume
        hostPath:
          path: /home', true, '2021-03-11 13:37:48.000000', '2021-03-11 13:37:51.000000');
insert into public.agent_install_file_info (id, name, type, description, version, yaml, use_yn, created_date, modified_date) values (6, 'prometheus', 'agent', 'Prometheus는 다양한 Exporter들과 연결될 수 있으며, 기본적으로 Node Exporter와 cAdvisor를 통해 수집한 Metric 데이터를 Kafka를 통해 수집 클러스터에 전달하는 역할을 합니다.', '1.16', '---
apiVersion: v1
kind: ConfigMap
metadata:
  name: cloudmoa-metric-agent-config
  namespace: $CLOUDMOA_NAMESPACE
data:
  scaling.rules: |
    groups:
    - name: scaleup
      rules :
      - alert : ScaleUpRule
        expr: job:webapp_config_open_sessions_current_count:sum > 15
        annotations:
          summary: "Scale up when current sessions is greater than 15"
          description: "Firing when total sessions active greater than 15"
  metric-agent.yml: |
    global:
      scrape_interval:     15s

    scrape_configs:
      - job_name: ''kubernetes-kubelet''
        scheme: https
        tls_config:
          ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
        bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
        kubernetes_sd_configs:
        - role: node
        relabel_configs:
        - action: labelmap
          regex: __meta_kubernetes_node_label_(.+)
        - target_label: __address__
          replacement: kubernetes.default.svc:443
        - source_labels: [__meta_kubernetes_node_name]
          regex: (.+)
          target_label: __metrics_path__
          replacement: /api/v1/nodes/${1}/proxy/metrics
        - source_labels: [__meta_kubernetes_node_label_kubernetes_io_hostname]
          target_label: xm_node_id
        - target_label: xm_clst_id
          replacement: ''$CLOUDMOA_CLUSTER_ID''
        - target_label: xm_entity_type
          replacement: ''Node''
        metric_relabel_configs:
        - source_labels: [ __name__ ]
          regex: (kubelet_running_pod_count)
          action: keep

      - job_name: ''kubernetes-node-agent''
        tls_config:
          ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
        bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
        kubernetes_sd_configs:
        - role: node

        relabel_configs:
        - action: labelmap
          regex: __meta_kubernetes_node_label_(.+)
        - source_labels: [__meta_kubernetes_role]
          action: replace
          target_label: kubernetes_role
        - source_labels: [__address__]
          regex: ''(.*):10250''
          replacement: ''${1}:9110''
          target_label: __address__
        - source_labels: [__meta_kubernetes_node_label_kubernetes_io_hostname]
          target_label: __instance__
          # set "name" value to "job"
        - source_labels: [job]
          regex: ''kubernetes-(.*)''
          replacement: ''${1}''
          target_label: name
        - target_label: xm_clst_id
          replacement: ''$CLOUDMOA_CLUSTER_ID''
        - source_labels: [__meta_kubernetes_node_label_kubernetes_io_hostname]
          target_label: xm_node_id
        - target_label: xm_entity_type
          replacement: ''Node''
        - source_labels: [__meta_kubernetes_namespace]
          separator: ;
          regex: (.*)
          target_label: xm_namespace
          replacement: $1
          action: replace
        metric_relabel_configs:
        - source_labels: [ __name__ ]
          regex: (node_memory_SReclaimable_bytes|node_boot_time_seconds|node_context_switches_total|node_cpu_frequency_max_hertz|node_cpu_package_throttles_total|node_cpu_seconds_total|node_disk_io_time_seconds_total|node_disk_read_bytes_total|node_disk_read_time_seconds_total|node_disk_reads_completed_total|node_disk_write_time_seconds_total|node_disk_writes_completed_total|node_disk_written_bytes_total|node_filefd_allocated|node_filesystem_avail_bytes|node_filesystem_free_bytes|node_filesystem_size_bytes|node_load1|node_load15|node_load5|node_memory_Active_bytes|node_memory_Buffers_bytes|node_memory_Cached_bytes|node_memory_MemAvailable_bytes|node_memory_MemFree_bytes|node_memory_MemTotal_bytes|node_memory_SwapCached_bytes|node_memory_SwapFree_bytes|node_memory_SwapTotal_bytes|node_network_receive_bytes_total|node_network_receive_bytes_total|node_network_transmit_bytes_total|node_network_transmit_bytes_total)
          action: keep

      - job_name: ''kubernetes-cadvisor''
        scheme: https
        tls_config:
          ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
          insecure_skip_verify: true
        bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token

        kubernetes_sd_configs:
        - role: node
        metrics_path: /metrics/cadvisor

        relabel_configs:
        - action: labelmap
          regex: __meta_kubernetes_node_label_(.+)
        - target_label: xm_clst_id
          replacement: ''$CLOUDMOA_CLUSTER_ID''
        - source_labels: [__meta_kubernetes_node_label_kubernetes_io_hostname]
          target_label: xm_node_id
        - target_label: xm_entity_type
          replacement: ''Container''

        metric_relabel_configs:
        - source_labels: [namespace]
          target_label: xm_namespace
        - source_labels: [pod]
          target_label: xm_pod_id
        - source_labels: [container]
          target_label: xm_cont_name
        - source_labels: [id]
          target_label: xm_cont_id
        - source_labels: [ __name__ ]
          regex: (container_cpu_cfs_throttled_seconds_total|container_cpu_system_seconds_total|container_cpu_usage_seconds_total|container_cpu_user_seconds_total|container_fs_limit_bytes|container_fs_reads_bytes_total|container_fs_usage_bytes|container_fs_writes_bytes_total|container_last_seen|container_memory_cache|container_memory_max_usage_bytes|container_memory_swap|container_memory_usage_bytes|container_memory_working_set_bytes|container_network_receive_bytes_total|container_network_transmit_bytes_total|container_spec_memory_limit_bytes)
          action: keep
        - source_labels: [ __name__, image ]
          separator: "@"
          regex: "container_cpu.*@"
          action: drop
        - source_labels: [ __name__, name ]
          separator: "@"
          regex: "container_memory.*@"
          action: drop
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cloudmoa-metric-agent
  namespace: $CLOUDMOA_NAMESPACE
  labels:
    app: cloudmoa-metric-agent
spec:
  selector:
    matchLabels:
      app: cloudmoa-metric-agent
  replicas: 1
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: cloudmoa-metric-agent
    spec:
      containers:
        - name: cloudmoa-metric-agent
          image: $DOCKER_REGISTRY_URL/metric-agent:$IMAGE_TAG
          args:
            - --config.file=/etc/metric-agent/metric-agent.yml
          resources:
            requests:
              cpu: 100m
              memory: 512Mi
            limits:
              cpu: 300m
              memory: 1000Mi
          volumeMounts:
            - mountPath: /etc/metric-agent/
              name: config-volume
          env:
            - name: LOG_LEVEL
              value: "INFO"
            - name: LOG_MAXAGE
              value: "1"
            - name: CLUSTER_ID
              value: $CLOUDMOA_CLUSTER_ID
            - name: DATAGATE
              value: $COLLTION_SERVER_DATAGATE_IP:$COLLTION_SERVER_DATAGATE_PORT
            - name: STORAGE_TYPE
              value: datagate
      restartPolicy: Always
      volumes:
        - name: config-volume
          configMap:
            name: cloudmoa-metric-agent-config
', false, '2021-03-11 13:39:07.000000', '2021-03-11 13:39:09.000000');
insert into public.agent_install_file_info (id, name, type, description, version, yaml, use_yn, created_date, modified_date) values (3, 'prometheus', 'agent', 'Prometheus는 다양한 Exporter들과 연결될 수 있으며, 기본적으로 Node Exporter와 cAdvisor를 통해 수집한 Metric 데이터를 Kafka를 통해 수집 클러스터에 전달하는 역할을 합니다.', '1.15', '---
apiVersion: v1
kind: ConfigMap
metadata:
  name: cloudmoa-metric-agent-config
  namespace: $CLOUDMOA_NAMESPACE
data:
  scaling.rules: |
    groups:
    - name: scaleup
      rules :
      - alert : ScaleUpRule
        expr: job:webapp_config_open_sessions_current_count:sum > 15
        annotations:
          summary: "Scale up when current sessions is greater than 15"
          description: "Firing when total sessions active greater than 15"
  metric-agent.yml: |
    global:
      scrape_interval:     15s

    scrape_configs:
      - job_name: ''kubernetes-kubelet''
        scheme: https
        tls_config:
          ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
        bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
        kubernetes_sd_configs:
        - role: node
        relabel_configs:
        - action: labelmap
          regex: __meta_kubernetes_node_label_(.+)
        - target_label: __address__
          replacement: kubernetes.default.svc:443
        - source_labels: [__meta_kubernetes_node_name]
          regex: (.+)
          target_label: __metrics_path__
          replacement: /api/v1/nodes/${1}/proxy/metrics
        - source_labels: [__meta_kubernetes_node_label_kubernetes_io_hostname]
          target_label: xm_node_id
        - target_label: xm_clst_id
          replacement: ''$CLOUDMOA_CLUSTER_ID''
        - target_label: xm_entity_type
          replacement: ''Node''

        metric_relabel_configs:
        - source_labels: [ __name__ ]
          regex: (kubelet_running_pod_count)
          action: keep

      - job_name: ''kubernetes-node-agent''
        tls_config:
          ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
        bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
        kubernetes_sd_configs:
        - role: node

        relabel_configs:
        - action: labelmap
          regex: __meta_kubernetes_node_label_(.+)
        - source_labels: [__meta_kubernetes_role]
          action: replace
          target_label: kubernetes_role
        - source_labels: [__address__]
          regex: ''(.*):10250''
          replacement: ''${1}:9110''
          target_label: __address__
        - source_labels: [__meta_kubernetes_node_label_kubernetes_io_hostname]
          target_label: __instance__
          # set "name" value to "job"
        - source_labels: [job]
          regex: ''kubernetes-(.*)''
          replacement: ''${1}''
          target_label: name
        - target_label: xm_clst_id
          replacement: ''$CLOUDMOA_CLUSTER_ID''
        - source_labels: [__meta_kubernetes_node_label_kubernetes_io_hostname]
          target_label: xm_node_id
        - target_label: xm_entity_type
          replacement: ''Node''
        - source_labels: [__meta_kubernetes_namespace]
          separator: ;
          regex: (.*)
          target_label: xm_namespace
          replacement: $1
          action: replace
        metric_relabel_configs:
        - source_labels: [ __name__ ]
          regex: (node_memory_SReclaimable_bytes|node_boot_time_seconds|node_context_switches_total|node_cpu_frequency_max_hertz|node_cpu_package_throttles_total|node_cpu_seconds_total|node_disk_io_time_seconds_total|node_disk_read_bytes_total|node_disk_read_time_seconds_total|node_disk_reads_completed_total|node_disk_write_time_seconds_total|node_disk_writes_completed_total|node_disk_written_bytes_total|node_filefd_allocated|node_filesystem_avail_bytes|node_filesystem_free_bytes|node_filesystem_size_bytes|node_load1|node_load15|node_load5|node_memory_Active_bytes|node_memory_Buffers_bytes|node_memory_Cached_bytes|node_memory_MemAvailable_bytes|node_memory_MemFree_bytes|node_memory_MemTotal_bytes|node_memory_SwapCached_bytes|node_memory_SwapFree_bytes|node_memory_SwapTotal_bytes|node_network_receive_bytes_total|node_network_receive_bytes_total|node_network_transmit_bytes_total|node_network_transmit_bytes_total)
          action: keep


      - job_name: ''kubernetes-cadvisor''
        scheme: https
        tls_config:
          ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
          insecure_skip_verify: true
        bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
        kubernetes_sd_configs:
        - role: node
        metrics_path: /metrics/cadvisor

        relabel_configs:
        - action: labelmap
          regex: __meta_kubernetes_node_label_(.+)
        - target_label: xm_clst_id
          replacement: ''$CLOUDMOA_CLUSTER_ID''
        - source_labels: [__meta_kubernetes_node_label_kubernetes_io_hostname]
          target_label: xm_node_id
        - target_label: xm_entity_type
          replacement: ''Container''

        metric_relabel_configs:
        - source_labels: [namespace]
          target_label: xm_namespace
        - source_labels: [pod_name]
          target_label: xm_pod_id
        - source_labels: [container_name]
          target_label: xm_cont_name
        - source_labels: [id]
          target_label: xm_cont_id
        - source_labels: [ __name__ ]
          regex: (container_cpu_cfs_throttled_seconds_total|container_cpu_system_seconds_total|container_cpu_usage_seconds_total|container_cpu_user_seconds_total|container_fs_limit_bytes|container_fs_reads_bytes_total|container_fs_usage_bytes|container_fs_writes_bytes_total|container_last_seen|container_memory_cache|container_memory_max_usage_bytes|container_memory_swap|container_memory_usage_bytes|container_memory_working_set_bytes|container_network_receive_bytes_total|container_network_transmit_bytes_total|container_spec_memory_limit_bytes)
          action: keep
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cloudmoa-metric-agent
  namespace: $CLOUDMOA_NAMESPACE
  labels:
    app: cloudmoa-metric-agent
spec:
  selector:
    matchLabels:
      app: cloudmoa-metric-agent
  replicas: 1
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: cloudmoa-metric-agent
    spec:
      containers:
        - name: cloudmoa-metric-agent
          image: $DOCKER_REGISTRY_URL/metric-agent:$IMAGE_TAG
          args:
            - --config.file=/etc/metric-agent/metric-agent.yml
          resources:
            requests:
              cpu: 100m
              memory: 512Mi
            limits:
              cpu: 300m
              memory: 1000Mi
          volumeMounts:
            - mountPath: /etc/metric-agent/
              name: config-volume
          env:
            - name: LOG_LEVEL
              value: "INFO"
            - name: CLUSTER_ID
              value: $CLOUDMOA_CLUSTER_ID
            - name: DATAGATE
              value: $COLLTION_SERVER_DATAGATE_IP:$COLLTION_SERVER_DATAGATE_PORT
            - name: STORAGE_TYPE
              value: datagate
      restartPolicy: Always
      volumes:
        - name: config-volume
          configMap:
            name: cloudmoa-metric-agent-config
', true, '2021-03-11 13:39:07.000000', '2021-03-11 13:39:09.000000');

insert into public.alert_config_info (config_id, created_date, modified_date, config_data, config_default, in_use) values ('config', now(), null, 'global:${GLOBAL}\nroute:${ROUTE}\nreceivers:${RECEIVERS}', 'global:${GLOBAL}\nroute:${ROUTE}\nreceivers:${RECEIVERS}', true);
insert into public.alert_config_info (config_id, created_date, modified_date, config_data, config_default, in_use) values ('global', now(), null, '\n  resolve_timeout: ${RESOLVE_TIMEOUT}', '\n  resolve_timeout: 5m', true);
insert into public.alert_config_info (config_id, created_date, modified_date, config_data, config_default, in_use) values ('receivers', now(), null, '\n- name: ''${NAME}''\n  webhook_configs:${WEBHOOK_CONFIGS}', '\n- name: ''cdms''\n  webhook_configs:${WEBHOOK_CONFIGS}', true);
insert into public.alert_config_info (config_id, created_date, modified_date, config_data, config_default, in_use) values ('route', now(), null, '\n  receiver: ''${RECEIVER}''\n  group_by: [${GROUP_BY}]\n  group_wait: ${GROUP_WAIT}\n  group_interval: ${GROUP_INTERVAL}\n  repeat_interval: ${REPEAT_INTERVAL}\n  routes:${ROUTES}', '\n  receiver: ''cdms''\n  group_by: [xm_clst_id, level]\n  group_wait: 30s\n  group_interval: 5m\n  repeat_interval: 10m\n  routes:${ROUTES}', true);
insert into public.alert_config_info (config_id, created_date, modified_date, config_data, config_default, in_use) values ('webhook_configs', now(), null, '\n  - url: ''${WEBHOOK_URL}''\n    send_resolved: ${SEND_RESOLVED}', '\n  - url: ''${WEBHOOK_URL}''\n    send_resolved: false', true);
insert into public.alert_config_info (config_id, created_date, modified_date, config_data, config_default, in_use) values ('routes', now(), null, '\n  - receiver: ''${ROUTES_RECEIVER}''\n    group_by: [${ROUTES_GROUP_BY}]\n    group_wait: ${ROUTES_GROUP_WAIT}\n    group_interval: ${ROUTES_GROUP_INTERVAL}\n    repeat_interval: ${ROUTES_REPEAT_INTERVAL}\n    match_re:\n      level: ${LEVEL}\n    continue: ${CONTINUE}', '\n  - receiver: ''cdms''\n    group_by: [xm_clst_id, level]\n    group_wait: 5s\n    group_interval: 5s\n    repeat_interval: 1m\n    match_re:\n      level: Critical\n    continue: true', true);


insert into public.alert_rule_config_info (config_id, created_date, modified_date, config_data, in_use) values ('config', now(), null, 'groups:${GROUPS}', true);
insert into public.alert_rule_config_info (config_id, created_date, modified_date, config_data, in_use) values ('groups', now(), null, '\n- name: "${NAME}"\n  rules:${RULES}', true);
insert into public.alert_rule_config_info (config_id, created_date, modified_date, config_data, in_use) values ('isHost', now(), null, '\n      instance: "{{ $labels.instance }}"\n      is_host: "true"', true);
insert into public.alert_rule_config_info (config_id, created_date, modified_date, config_data, in_use) values ('rules', now(), null, '\n  - alert: "${ALERT}"\n    expr: "${EXPR}"\n    labels:\n      level: "${LEVEL}"\n    for: "${FOR}"\n    annotations:\n      xm_service_name: "{{ $labels.xm_service_name }}"\n      level: "${LEVEL}"\n      meta_id: "${META_ID}"\n      xm_node_id: "{{ $labels.xm_node_id }}"\n      threshold: ${THRESHOLD}\n      xm_container_id: "{{ $labels.xm_cont_name }}"\n      message: "${MESSAGE}"\n      rule_id: ${RULE_ID}\n      xm_pod_id: "{{ $labels.xm_pod_id }}"\n      xm_clst_id: "{{ $labels.xm_clst_id }}"\n      xm_namespace: "{{ $labels.xm_namespace }}"\n      value: "{{ $value }}"\n      xm_entity_type: "{{ $labels.xm_entity_type }}"\n      alert_entity_type: "${ALERT_ENTITY_TYPE}"', true);


INSERT INTO jspd_prop values('TRX_NAME_TYPE','0', 'Set the transaction name generation method (0:default, 1:parameter, 2:param_nouri, 3:attribute)', 'integer','select','{"default":"0", "parameter":"1", "param_nouri":"2", "attribute":"3"}',true, now(), now());
INSERT INTO jspd_prop values('TRX_NAME_KEY','', 'Set the transaction name generation method by TRX_NAME_TYPE (parameter(1), param_nouri(2),attribute(3))','string','input','',true, now(), now());
INSERT INTO jspd_prop values('CURR_TRACE_TXN','*:3000', 'Option to check TXNNAME with startsWith logic and collect calltree based on elapsetime. blank or set to *:0 when collecting all.', 'string','input','', true, now(), now());
INSERT INTO jspd_prop values('CURR_TRACE_LEVEL','100', 'call tree detection level', 'integer','range','{"gte":"0", "lte":"100"}',true, now(), now());
INSERT INTO jspd_prop values('TRACE_JDBC','true', 'include call tree data', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('EXCLUDE_SERVICE','gif,js,css,xml', 'exclude service name', 'string','input','',true, now(), now());
INSERT INTO jspd_prop values('INCLUDE_EXCEPTION','', 'Exception that you do not want to be treated as an exception transaction is set.(type.Exception)', 'string','input','',true, now(), now());
INSERT INTO jspd_prop values('EXCLUDE_EXCEPTION','', 'Set the exception to be treated as an exception transaction.(type.Exception)', 'string','input','',true, now(), now());
INSERT INTO jspd_prop values('RESP_HEADER_TID','false', 'include X-Xm-Tid text for gearing imxwsmj', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('USE_RUNTIME_REDEFINE','false', 'rt.jar (socket, file, throwable) function use yn option', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('USE_RUNTIME_REDEFINE_HTTP_REMOTE','false', 'rt.jar (socket, file, throwable) function use yn option', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('RT_RMI','false', 'rt.jar (socket, file, throwable) function use yn option', 'boolean','input','',true, now(), now());

INSERT INTO jspd_prop values('RT_RMI_TYPE','3', 'remote key value(1: pkey, 2: ckey, 3: pckey)', 'integer','select','{"pkey":"1", "ckey":"2", "pckey":"3"}',true, now(), now());
INSERT INTO jspd_prop values('RT_RMI_ELAPSE_TIME','0', 'Collect transactions that are greater than or equal to the option value', 'integer','input','',true, now(), now());
INSERT INTO jspd_prop values('RT_FILE','0x10', 'Display file input/output in call tree', 'string','input','',true, now(), now());
INSERT INTO jspd_prop values('RT_SOCKET','0x10', 'Display socket input/output in call tree', 'string','input','',true, now(), now());

INSERT INTO jspd_prop values('MTD_LIMIT','100000', 'Limit the number of calltree', 'integer','range','{"gte":"0"}',true, now(), now());

INSERT INTO jspd_prop values('LIMIT_SQL','20', 'Collection limits based on SQL sentence length', 'integer','input','',true, now(), now());
INSERT INTO jspd_prop values('TXN_COUNT_LIMIT','3000', 'Transactions per second', 'integer','input','',true, now(), now());
INSERT INTO jspd_prop values('USE_SQL_ELLIPSIS','false', 'Collect length of sql string by half of SQL_TEXT_BUFFER_SIZE', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('TXN_SQL_LIMIT_COUNT','2000', 'SQL collection limit', 'integer','input','',true, now(), now());
INSERT INTO jspd_prop values('TXN_CPU_TIME','false', 'cpu time metric used in transactions option', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('TXN_MEMORY','false', 'memory alloc size metric used in transactions option', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('ENABLE_WEB_ID_WHEN_NO_USERAGENT','false', 'Do not create an web ID unless requested by the browser', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('USE_SQL_SEQ','false', 'Add sequence number to sql and packet', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('TRACE_FETCH_METHOD','false', 'Display the fetch function of ResultSet in the call tree', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('EXCLUDE_THREAD','', 'Ability to block monitoring of a specific thread name, value = String[] (prefix1,prefix2)', 'string','input','',true, now(), now());
INSERT INTO jspd_prop values('USE_METHOD_SEQ','false', 'Display the calltree in the form of a time series without summary', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('TRACE_METHOD_MEMORY','false', 'Collects allocation memory for each method of calltree. (unit k)', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('TRACE_METHOD_CPUTIME','false', 'Collects cputime for each method of calltree. (unit ms)', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('DISABLE_ROOT_METHOD','false', 'Express the service root method at the top of the call tree', 'boolean','input','',true, now(), now());
INSERT INTO jspd_prop values('MTD_BUFFER_SIZE','2500', 'size of the internal buffer that stores the call tree method data.', 'integer','input','',true, now(), now());
INSERT INTO jspd_prop values('MTD_STACK_BUFFER_SIZE','100', 'A separate option to additionally collect methods that did not generate an error among methods that were not collected because the MTD_BUFFER_SIZE option value was exceeded.', 'integer','input','',true, now(), now());
INSERT INTO jspd_prop values('MTD_EXCEPTION_BUFFER_SIZE','100', 'A separate option to additionally collect methods that have an error among methods that could not be collected because the MTD_BUFFER_SIZE option value was exceeded.', 'integer','input','',true, now(), now());
INSERT INTO jspd_prop values('DEBUG','0x000000000', 'Option to specify log level (Debugging)', 'string','input','',true, now(), now());

INSERT INTO jspd_prop values('EXCEPTION_LIMIT', '-1', 'Exception content length limit', 'integer', 'input', '', true, now(), now());
INSERT INTO jspd_prop values('TXN_SEND_PERIOD', '1000', 'Txninfo transmission cycle (ms)', 'integer', 'input', '', true, now(), now());
INSERT INTO jspd_prop values('MTD_SEND_PERIOD', '1000', 'Txnmethod transmission cycle (ms)', 'integer', 'input', '', true, now(), now());
INSERT INTO jspd_prop values('SQL_SEND_PERIOD', '1000', 'Txnspl transmission cycle (ms)', 'integer', 'input', '', true, now(), now());
INSERT INTO jspd_prop values('ETOE_SEND_PERIOD', '1000', 'E2einfo transmission cycle (ms)', 'integer', 'input', '', true, now(), now());
INSERT INTO jspd_prop values('TXN_SEND_LIMIT', '15000', 'Txninfo maximum number of transfers', 'integer', 'input', '', true, now(), now());
INSERT INTO jspd_prop values('MTD_SEND_LIMIT', '15000', 'Txnmethod maximum number of transfers', 'integer', 'input', '', true, now(), now());
INSERT INTO jspd_prop values('SQL_SEND_LIMIT', '15000', 'Txnsql maximum number of transfers', 'integer', 'input', '', true, now(), now());
INSERT INTO jspd_prop values('ETOE_SEND_LIMIT', '15000', 'E2einfo maximum number of transfers', 'integer', 'input', '', true, now(), now());



-- CLOUD-13633; 대시보드 관련 패치
-- Traefik 대시보드 지원 관련 metric meta 추가
-- Auto-generated SQL script #202303161740
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('traefik_uptime','Traefik Uptime','Traefik Process Uptime','time() - process_start_time_seconds{job="cmoa-traefik"}','Instance','Traefik','xm_clst_id, xm_namespace, xm_pod_id',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('traefik_soket_used','Traefik Socket Used','Number of sockets Traefik is using','process_open_fds{job=~"cmoa-traefik"}','Instance','Traefik','xm_clst_id, xm_namespace, xm_pod_id',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,in_use,message)
	VALUES ('traefik_http_requests_rate_last_5m','Traefik HTTP Requests Rate','Number of http requests per second received by Traefik within 5 minutes','sum(rate(traefik_service_requests_total[5m]))','Request','Traefik',true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} POD:{{$labels.xm_pod_id}}  Trafik HTTP Request Rate :{{humanize $value}}|{threshold}.');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,in_use,message)
	VALUES ('traefik_http_requests_rate_by_service','Traefik HTTP Requets Rate by Service','Number of http requests per second grouped by service within 5 minutes','sum(rate(traefik_service_requests_total[5m])) by (service)','Request','Traefik',true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} POD:{{$labels.xm_pod_id}}  Trafik HTTP Request Rate :{{humanize $value}}|{threshold}.');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,in_use,message)
	VALUES ('traefik_http_requests_rate_by_entrypoint','Traefik HTTP Requets Rate by Entrypoint','Number of http requests per second grouped by entrypoint within 5 minutes','sum(rate(traefik_entrypoint_requests_total[5m])) by (entrypoint)','Request','Traefik',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('traefik_4xx_error_rate_last_5m','Traefik 4xx Error Rate','4xx error requests per second rate within 5 minutes','sum(rate(traefik_service_requests_total{code=~"4[0-9]{2}"}[5m]))','Request','Traefik','xm_clst_id, xm_namespace, xm_pod_id',true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} POD:{{$labels.xm_pod_id}}  Trafik 4xx Error Rate :{{humanize $value}}|{threshold}.');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('traefik_5xx_error_rate_last_5m','Traefik 5xx Error Rate','5xx error requests per second rate within 5 minutes','sum(rate(traefik_service_requests_total{code=~"5[0-9]{2}"}[5m]))','Request','Traefik','xm_clst_id, xm_namespace, xm_pod_id',true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} POD:{{$labels.xm_pod_id}}  Trafik 5xx Error Rate :{{humanize $value}}|{threshold}.');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('traefik_http_requests_4xx_total_last_10m','Traefik HTTP Requests 4xx Total Last 10m','Number of 4xx error requests in 10 minutes','sum(increase(traefik_service_requests_total{code=~"4[0-9]{2}"}[10m]))','Request','Traefik','xm_clst_id, xm_namespace, xm_pod_id',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('traefik_http_requests_5xx_total_last_10m','Traefik HTTP Requests 5xx Total Last 10m','Number of 5xx error requests in 10 minutes','sum(increase(traefik_service_requests_total{code=~"5[0-9]{2}"}[10m]))','Request','Traefik','xm_clst_id, xm_namespace, xm_pod_id',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('traefik_http_requests_4xx_total_last_1h','Traefik HTTP Requests 4xx Total Last 1h','Number of 4xx error requests in 1 hour','sum(increase(traefik_service_requests_total{code=~"4[0-9]{2}"}[1h]))','Request','Traefik','xm_clst_id, xm_namespace, xm_pod_id',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('traefik_http_requests_5xx_total_last_1h','Traefik HTTP Requests 5xx Total Last 1h','Number of 5xx error requests in 1 hour','sum(increase(traefik_service_requests_total{code=~"5[0-9]{2}"}[1h]))','Request','Traefik','xm_clst_id, xm_namespace, xm_pod_id',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,in_use,message)
	VALUES ('traefik_http_response_time_ms','Traefik HTTP Response Time Milisecond','Traefik HTTP Response Time (ms)','sum(increase(traefik_service_request_duration_seconds_sum[5m])) / sum(increase(traefik_entrypoint_requests_total[5m])) * 1000','Response','Traefik',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,in_use,message)
	VALUES ('traefik_entrypoint_open_connections','Traefik Entrypoint Open Connections','The current count of open connections on an entrypoint','sum(traefik_entrypoint_open_connections) by (method)','Entrypoint','Traefik',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,in_use,message)
	VALUES ('traefik_service_open_connections','Traefik Service Open Connections','The current count of open connections on an service','sum(traefik_service_open_connections) by (method)','Service','Traefik',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('traefik_http_requests_total_last_10m','Traefik HTTP Requests Total Last 10m','Number requests in 10 minutes','sum(increase(traefik_service_requests_total{}[10m]))','Request','Traefik','xm_clst_id, xm_namespace, xm_pod_id',true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} POD:{{$labels.xm_pod_id}}  Trafik Request Count (10m) :{{humanize $value}}|{threshold}.');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('traefik_http_requests_total_last_1h','Traefik HTTP Requests Total Last 1h','Number requests in 1 hour','sum(increase(traefik_service_requests_total{}[1h]))','Request','Traefik','xm_clst_id, xm_namespace, xm_pod_id',true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} POD:{{$labels.xm_pod_id}}  Trafik Request Count (1h) :{{humanize $value}}|{threshold}.');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES
     ('traefik_http_requests_bad_total_last_10m','Traefik HTTP Requests  Bad Total Last 10m','Number bad requests in 10 minutes','sum(increase(traefik_service_requests_total{code=~"4[0-9]{2}|5[0-9]{2}"}[10m]))','Request','Traefik','service',true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} POD:{{$labels.xm_pod_id}}  Trafik Bad Request Count (10m) :{{humanize $value}}|{threshold}.','2023-03-17 14:10:13.163','2023-03-17 14:10:13.163'),
     ('traefik_http_requests_bad_total_last_1h','Traefik HTTP Requests Bad Total Last 1h','Number bad requests in 1 hour','sum(increase(traefik_service_requests_total{code=~"4[0-9]{2}|5[0-9]{2}"}[1h]))','Request','Traefik','service',true,false,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} POD:{{$labels.xm_pod_id}}  Trafik Bad Request Count (1h) :{{humanize $value}}|{threshold}.','2023-03-17 14:10:13.163','2023-03-17 14:10:13.163');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message,created_date,modified_date) VALUES
     ('traefik_status_code_count','Traefik Status Code Count ','Traefik Status Code Count ','sum(increase(traefik_service_requests_total{protocol=~"http|https"}[10m])) by (code)','Request','Traefik','code',true,false,'None','2023-03-17 14:33:13.020','2023-03-17 14:33:13.020');

-- MySQL-MariaDB 대시보드 지원 관련 metric meta 추가
-- Auto-generated SQL script #202303201205
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message)
	VALUES ('mysql_query_per_second','Query Per Second','Based on the queries reported by MySQL''s SHOW STATUS command, it is the number of statements executed by the server within the last second.','irate(mysql_global_status_queries{}[5m])','Query','MySQL','instance',true,true,'CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} MySQL QPS :{{humanize $value}}%|{threshold}%.');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('mysql_Innodb_buffer_pool_size','InnoDB Buffer Pool Size in GiB','Describes a storage area called the buffer pool for caching data and indexes in memory.','mysql_global_variables_innodb_buffer_pool_size / 1024 / 1024 / 1024','InnoDB','MySQL','instance',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('mysql_Innodb_buffer_pool_size_gib_with_limit','InnoDB Buffer Pool Size with Limit','Describes a storage area called the buffer pool for caching data and indexes in memory.','(mysql_global_variables_innodb_buffer_pool_size{} * 100) / on (xm_pod_id,xm_cont_name) imxc_kubernetes_container_resource_limit_memory{xm_pod_id!~"|POD", pod_state="Running"}','InnoDB','MySQL','instance',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('mysql_global_status_questions','MySQL Questions','The number of statements executed by the server.','rate(mysql_global_status_questions{}[5m])','Query','MySQL','instance',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('mysql_global_status_max_used_connections','Max Used Connections','Maximum number of connections that have been in use simultaneously since the server started.','mysql_global_status_max_used_connections','Connection','MySQL','instance',true,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,message)
	VALUES ('mysql_global_variables_max_connections','Max Connections','Maximum permitted number of simultaneous client connections. By default, this is 151.','mysql_global_variables_max_connections','Connection','MySQL','instance',true,'None');

-- Nginx Ingress 대시보드 지원 관련 metric meta 추가
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_ingress_nginx_up','Nginx Ingress Up','Nginx Ingress Up','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, class) (nginx_ingress_nginx_up{ {filter} })','Pod','Nginx-Ingress','',true,false,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_ingress_nginx_connections_active','Nginx Ingress Connection Active','Nginx Ingress Client Connection Active','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, class) (nginx_ingress_nginx_connections_active{ {filter} })','Connection','Nginx-Ingress','',true,false,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_ingress_controller_nginx_last_reload_status','Nginx Ingress last reload status','Status of the last NGINX reload','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, class) (nginx_ingress_controller_nginx_reload_errors_total{ {filter} })','Config','Nginx-Ingress','',true,false,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_ingress_controller_nginx_reload_errors_total','Nginx Ingress reload error total','Number of unsuccessful NGINX reloads','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, class) (nginx_ingress_controller_nginx_reload_errors_total{ {filter} })','Config','Nginx-Ingress','',true,false,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_ingress_controller_nginx_reloads_total','Nginx Ingress reload success total','Number of successful NGINX reloads','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, class) (nginx_ingress_controller_nginx_reloads_total{ {filter} })','Config','Nginx-Ingress','',true,false,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_ingress_nginx_http_requests_total','Nginx Ingress Http Request Total','Total http requests','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, class) (nginx_ingress_nginx_http_requests_total{ {filter} })','Request','Nginx-Ingress','',true,false,'None');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_ingress_nginx_http_requests_second','Nginx Ingress Http Request Seconds','Http request per second','sum by (xm_clst_id, xm_namespace, xm_node_id, instance, class) (rate(nginx_ingress_nginx_http_requests_total{ {filter} }[1m]))','Request','Nginx-Ingress','',true,false,'None');

-- Nginx 대시보드 지원 관련 metric meta 추가
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_up','Nginx Up','Nginx Up Time','sum by (instance) (nginx_up{ {filter} })','State','Nginx','','true','false','"Nginx Up Time : {{$value}}|{threshold}"');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_connections_accepted','Nginx Accepted Connection Count','Accepted connection count of Nginx','sum by (instance) (irate(nginx_connections_accepted{ {filter} }[5m]))','Connection','Nginx','','true','false','"Nginx Connection : {{$value}}|{threshold}"');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_connections_handled','Nginx Handled Connection Count','Handled connection count of Nginx','sum by (instance) (irate(nginx_connections_handled{ {filter} }[5m]))','Connection','Nginx','','true','false','"Nginx Connection : {{$value}}|{threshold}"');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_connections_active','Nginx Active Connection Count','Active connection count of Nginx','sum by (instance) (nginx_connections_active{ {filter} })','Connection','Nginx','','true','false','"Nginx Connection : {{$value}}|{threshold}"');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_connections_reading','Nginx Reading Connection Count','Reading connection count of Nginx','sum by (instance) (nginx_connections_reading{ {filter} })','Connection','Nginx','','true','false','"Nginx Connection : {{$value}}|{threshold}"');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_connections_waiting','Nginx Waiting Connection Count','Waiting connection count of Ngin','sum by (instance) (nginx_connections_waiting{ {filter} })','Connection','Nginx','','true','false','"Nginx Connection : {{$value}}|{threshold}"');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_connections_writing','Nginx Writing Connection Count','Writing connection count of NginX','sum by (instance) (nginx_connections_writing{ {filter} })','Connection','Nginx','','true','false','"Nginx Connection : {{$value}}|{threshold}"');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('nginx_http_requests_total','Nginx Http Requests','Http request count of Nginx','sum by (instance) (irate(nginx_http_requests_total{ {filter} }[1m]))','Request','Nginx','','true','false','"Http requests : {{$value}}|{threshold}"');

-- Kube Event 관련 metric meta 추가
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_node','Kubernetes Node Event','Kubernetes Node Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{involved_kind="Node", {filter} })','Event','Node','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_job','Kubernetes Job Event','Kubernetes Job Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{involved_kind="Job", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_cronjob','Kubernetes CronJob Event','Kubernetes CronJob Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{involved_kind="CronJob", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_daemonset','Kubernetes DaemonSet Event','Kubernetes DaemonSet Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{involved_kind="DaemonSet", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_deployment','Kubernetes Deployment Event','Kubernetes Deployment Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{involved_kind="Deployment", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_deploymentconfig','Kubernetes DeploymentConfig Event','Kubernetes DeploymentConfig Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{involved_kind="DeploymentConfig", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_endpoints','Kubernetes Endpoints Event','Kubernetes Endpoints Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{involved_kind="Endpoints", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_persistentvolumeclaim','Kubernetes PersistentVolumeClaim Event','Kubernetes PersistentVolumeClaim Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{involved_kind="PersistentVolumeClaim", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_pod','Kubernetes Pod Event','Kubernetes Pod Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{involved_kind="Pod", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_warning','Kubernetes Warning Event','Kubernetes Warning Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{type="Warning", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}} Name: {{$involved_name}} Reason : {{$labels.reason}} Level : {{$labels.type}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_replicaset','Kubernetes ReplicaSet Event','Kubernetes ReplicaSet Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{involved_kind="ReplicaSet", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('kube_event_statefulset','Kubernetes StatefulSet Event','Kubernetes StatefulSet Event','count by (xm_clst_id,xm_namespace,entity_type,involved_kind,involved_name,reason,type) (imxc_kubernetes_event_in_last_min{involved_kind="StatefulSet", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} ');

-- Event Alert 관련 metric meta 추가
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('event_alert_successful_create','Event Alert SuccessfulCreate','Event Alert SuccessfulCreate','count by (xm_clst_id, xm_namespace, entity_type, involved_kind, involved_name, reason, type) (imxc_kubernetes_event_in_last_min{reason=~"SuccessfulCreate", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} Name : {{$labels.involved_name}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('event_alert_successful_delete','Event Alert SuccessfulDelete','Event Alert SuccessfulDelete','count by (xm_clst_id, xm_namespace, entity_type, involved_kind, involved_name, reason, type) (imxc_kubernetes_event_in_last_min{reason=~"SuccessfulDelete", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} Name : {{$labels.involved_name}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('event_alert_deadline_exceeded','Event Alert DeadlineExceeded','Event Alert DeadlineExceeded','count by (xm_clst_id, xm_namespace, entity_type, involved_kind, involved_name, reason, type) (imxc_kubernetes_event_in_last_min{reason=~"DeadlineExceeded", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} Name : {{$labels.involved_name}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('event_alert_job','Event Alert Job','Event Alert Job','count by (xm_clst_id, xm_namespace, entity_type, involved_kind, involved_name, reason, type) (imxc_kubernetes_event_in_last_min{involved_kind=~"Job", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} Name : {{$labels.involved_name}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('event_alert_cronjob','Event Alert CronJob','Event Alert CronJob','count by (xm_clst_id, xm_namespace, entity_type, involved_kind, involved_name, reason, type) (imxc_kubernetes_event_in_last_min{involved_kind=~"CronJob", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} Name : {{$labels.involved_name}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('event_alert_normal','Event Alert Normal','Event Alert Normal','count by (xm_clst_id, xm_namespace, involved_kind, involved_name, reason, type) (imxc_kubernetes_event_in_last_min{type=~"Normal", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} Name : {{$labels.involved_name}} ');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('event_alert_warning','Event Alert Warning','Event Alert Warning','count by (xm_clst_id, xm_namespace, involved_kind, involved_name, reason, type) (imxc_kubernetes_event_in_last_min{type=~"Warning", {filter} })','Event','Workload','','true','false','CLST:{{$labels.xm_clst_id}} NS:{{$labels.xm_namespace}}  Reason : {{$labels.reason}} Level : {{$labels.type}} Name : {{$labels.involved_name}} ');

-- Container 의 Limit 대비 CPU/Memory 사용량 metric meta 추가
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('container_cpu_usage_against_limit','Container CPU Usage Against Limits (%)','Conatiner CPU Usage Against Limits ( % ) ','sum by(xm_clst_id,xm_namespace,owner_name,xm_pod_id,xm_cont_name,xm_entity_type) (rate(imxc_kubernetes_container_resource_limit_cpu{xm_cont_name!="POD"} [1m])+ on (xm_clst_id,xm_namespace,xm_pod_id,xm_cont_name) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_cpu{container_state="Running",pod_state="Running",{filter}}) without (instance)) * 0)','CPU','Workload','','true','false','CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} CPU Usage (%):{{humanize $value}}%|{threshold}%.');
INSERT INTO public.metric_meta2 (id,meta_name,description,expr,resource_type,entity_type,groupby_keys,in_use,anomaly_score,message) VALUES('container_memory_usage_against_limit','Container Memory Usage Against Limit','Container Memory Usage Against Limit','sum by(xm_clst_id,xm_namespace,xm_pod_id,xm_cont_name,xm_entity_type,owner_name) (container_memory_usage_bytes{xm_cont_name!="POD"} / on (xm_clst_id,xm_namespace,xm_cont_name,xm_pod_id) group_left(owner_name) (sum (imxc_kubernetes_container_resource_limit_memory{container_state="Running",pod_state="Running",xm_cont_name!="POD",{filter}}) without (instance))) * 100','Memory','Workload','','true','false','CLST:{{$labels.xm_clst_id}} DP:{{$labels.owner_name}} CT:{{$labels.xm_cont_name}} PD:{{$labels.xm_pod_id}} Memory Limit Against Usage:{{humanize $value}}%|{threshold}%.');
