Top Level Namespace

Defined Under Namespace

Modules: Mongo, Oboe, OboeMethodProfiling, Oboe_metal, Sequel, TraceView, TraceViewBase, TraceViewMethodProfiling Classes: Cassandra, OboeNoop

Constant Summary collapse

OBOE_TRACE_NEVER =

Constants from liboboe

0
OBOE_TRACE_ALWAYS =
1
OBOE_TRACE_THROUGH =
2
OBOE_SAMPLE_RATE_SOURCE_FILE =
1
OBOE_SAMPLE_RATE_SOURCE_DEFAULT =
2
OBOE_SAMPLE_RATE_SOURCE_OBOE =
3
OBOE_SAMPLE_RATE_SOURCE_LAST_OBOE =
4
OBOE_SAMPLE_RATE_SOURCE_DEFAULT_MISCONFIGURED =
5
OBOE_SAMPLE_RATE_SOURCE_OBOE_DEFAULT =
6
ZERO_MASK =

Masks for bitwise ops

0b0000000000000000000000000000
SAMPLE_RATE_MASK =
0b0000111111111111111111111111
SAMPLE_SOURCE_MASK =
0b1111000000000000000000000000
ZERO_SAMPLE_RATE_MASK =
0b1111000000000000000000000000
ZERO_SAMPLE_SOURCE_MASK =
0b0000111111111111111111111111
TV_STR_BLANK =
''.freeze
TV_STR_LAYER =
'Layer'.freeze
TV_STR_LABEL =
'Label'.freeze
TRACE_FILE =

Used in tests to store local trace data

'/tmp/traceview_traces.bson'.freeze
Traceview =

Setup an alias so we don’t bug users about single letter capitalization

TraceView
TV =
TraceView
COLL_OTHER_OPS =

Collection Related Operations

[:create, :drop, :insert_one, :insert_many, :bulk_write, :map_reduce].freeze
COLL_QUERY_OPS =
[:find, :update_many, :delete_one].freeze
COLL_OPS =
COLL_QUERY_OPS + COLL_OTHER_OPS
VIEW_QUERY_OPS =

Collection View Related Operations

[:delete_one, :delete_many, :count, :distinct, :find_one_and_delete, :find_one_and_update,
:replace_one, :update_one, :update_many].freeze
VIEW_OTHER_OPS =
[:aggregate, :map_reduce ].freeze
VIEW_OPS =
VIEW_QUERY_OPS + VIEW_OTHER_OPS
INDEX_OPS =

Collection Index View Related Operations

[:create_one, :create_many, :drop_one, :drop_all].freeze