module TingYun
The Agent
is a singleton that is instantiated when the plugin is activated. It collects performance data from ruby applications in realtime as the application runs, and periodically sends that data to the server. TingYun::Agent::Agent.instance
This file is distributed under Ting Yun's license terms.
This file is distributed under Ting Yun's license terms.
This class serves as the base for objects wanting to monitor and respond to incoming web requests. Examples include cross application tracing and synthetics.
Subclasses are expected to define on_finished_configuring(events) which will be called when the agent is fully configured. That method is expected to subscribe to the necessary request events, such as before_call and after_call for the monitor to do its work.
before the real start,do check and log things
This file is distributed under Ting Yun's license terms.
This file is distributed under Ting Yun's license terms.
This file is distributed under Ting Yun's license terms.
This file is distributed under Ting Yun's license terms.
This file is distributed under Ting Yun's license terms.
This file is distributed under Ting Yun's license terms.
This file is distributed under Ting Yun's license terms.
this struct uniquely defines a metric, optionally inside the call scope of another metric
This file is distributed under Ting Yun's license terms.
This module includes utilities for manipulating URIs, particularly from the context of Net::HTTP
requests. We don't always have direct access to the full URI from our instrumentation points in Net::HTTP
, and we want to filter out some URI parts before saving URIs from instrumented calls - logic for that lives here.
This file is distributed under Ting Yun's license terms.
@items=[{dependent => dependencies}…] every dependent has some dependencies
This file is distributed under Ting Yun's license terms.
Some parts adapted from golang.org/src/pkg/json/decode.go and golang.org/src/pkg/utf8/utf8.go
This file is distributed under Ting Yun's license terms.
This file is distributed under Ting Yun's license terms.