Module: NewRelic::PostgresPlugin

Defined in:
lib/newrelic_postgres_plugin/version.rb,
lib/newrelic_postgres_plugin/agent.rb

Defined Under Namespace

Classes: Agent

Constant Summary collapse

VERSION =
'0.2.1'

Class Method Summary collapse

Class Method Details

.runObject

Register and run the agent



4
5
6
7
8
9
10
# File 'lib/newrelic_postgres_plugin/agent.rb', line 4

def self.run
  # Register this agent.
  NewRelic::Plugin::Setup.install_agent :postgres, self

  # Launch the agent; this never returns.
  NewRelic::Plugin::Run.setup_and_run
end