def __init__(self, name, init_config, instances=None): AgentCheck.__init__(self, name, init_config, instances) self.payload = None self.name = None self.baseurl = None self.http = None self.upstreams = {}
def __init__(self, name, init_config, agentConfig, instances=None): AgentCheck.__init__(self, name, init_config, agentConfig, instances) self.log.setLevel(logging.DEBUG) self.trace_ids = {} self.region = None self.account_id = None self.tags = None self.arns = {}
def __init__(self, name, init_config, agentConfig, instances=None): AgentCheck.__init__(self, name, init_config, agentConfig, instances) self.trace_ids = {} self.region = None # default the account id to the role_arn, this will be replaced by the account id after a successful login self.account_id = self.instance.get('role_arn', 'unknown-instance') self.tags = None self.arns = {}
def __init__(self, name, init_config, instances=None): AgentCheck.__init__(self, name, init_config, instances) self.url = None self.token = None self.tags = [] self.environment = None self.domain = None self.verify = None self.cert = None self.keyfile = None
def __init__(self, name, init_config, instances=None): AgentCheck.__init__(self, name, init_config, instances) self.host = None self.url = None self.user = None self.password = None self.tags = None # `zeep` logs lots of stuff related to wsdl parsing on DEBUG level so we avoid that zeep_logger = logging.getLogger("zeep") zeep_logger.setLevel(logging.WARN) zeep_logger.propagate = True
def __init__(self, name, init_config, agentConfig, instances=None): AgentCheck.__init__(self, name, init_config, agentConfig, instances) self.dbs = {} self.versions = {} self.instance_metrics = {} self.bgw_metrics = {} self.archiver_metrics = {} self.db_bgw_metrics = [] self.db_archiver_metrics = [] self.replication_metrics = {} self.activity_metrics = {} self.custom_metrics = {} # Deprecate custom_metrics in favor of custom_queries if instances is not None and any('custom_metrics' in instance for instance in instances): self.warning( "DEPRECATION NOTICE: Please use the new custom_queries option " "rather than the now deprecated custom_metrics")
def __init__(self, name, init_config, instances=None): AgentCheck.__init__(self, name, init_config, instances) self.url = None self.user = None self.password = None
def __init__(self, name, init_config, instances=None): AgentCheck.__init__(self, name, init_config, instances) self.session = requests.Session() self.organization_id = None
def __init__(self, name, init_config, agentConfig, instances=None): AgentCheck.__init__(self, name, init_config, agentConfig, instances) self.dynatrace_entities_cache = None
def __init__(self, name, init_config, agentConfig, instances=None): AgentCheck.__init__(self, name, init_config, agentConfig, instances) self.url = None self.tags = None self.roles = None