This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"version":1,"resource":"file:///d%3A/Git_DBA_Postgres/pg_ansible/postgresql_cluster_HA/vars/main_fedrps_dev.yml","entries":[{"id":"RSBg.yml","timestamp":1660286214123}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from mamonsu.lib.plugin import Plugin | |
from mamonsu.plugins.pgsql.pool import Pooler | |
# Count all queries running more then 5 minutes | |
class LongQueriesCount(Plugin): | |
# execute method run() every 60s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from mamonsu.lib.plugin import Plugin | |
from mamonsu.plugins.pgsql.pool import Pooler | |
# Считаем нагрузку по количеству выполняемых запросов в БД | |
class SparkmesActivity(Plugin): | |
# execute method run() every 60s | |
Interval = 60 |