class AppDynamics::Backend::Base

Attributes

category[R]
description[R]
meta[R]
title[R]

Public Class Methods

matches(matchers) click to toggle source
# File lib/app_dynamics/backend.rb, line 29
def self.matches(matchers)
  AppDynamics::Backend.register(self, Matcher.new(matchers))
end
new(cat, title, desc, meta) click to toggle source
# File lib/app_dynamics/backend.rb, line 35
def initialize(cat, title, desc, meta)
  @category    = cat
  @title       = title
  @description = desc
  @meta        = meta
end

Public Instance Methods

backend_name() click to toggle source
# File lib/app_dynamics/backend.rb, line 47
def backend_name
  self.class.name.split('::').last
end
backend_type() click to toggle source

One of “HTTP”, “DB”, “CACHE”, “RABBITMQ”, “WEBSERVICE”, “JMS”

# File lib/app_dynamics/backend.rb, line 43
def backend_type
  ''
end
identifying_properties() click to toggle source
# File lib/app_dynamics/backend.rb, line 51
def identifying_properties
  { }
end
identifying_properties_array() click to toggle source

Make it easier for C API to consume

# File lib/app_dynamics/backend.rb, line 56
def identifying_properties_array
  identifying_properties.to_a.flatten.map(&:to_s)
end