Module: Skylight
- Defined in:
- lib/skylight/core.rb,
lib/skylight/core/test.rb,
lib/skylight/core/errors.rb,
lib/skylight/core/fanout.rb,
lib/skylight/core/sidekiq.rb,
lib/skylight/core/version.rb,
lib/skylight/core/instrumentable.rb,
lib/skylight/core/formatters/http.rb
Defined Under Namespace
Modules: Core
Constant Summary collapse
- TIERS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
%w[ rack api app view db noise other ].freeze
- TIER_REGEX =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
/^(?:#{TIERS.join('|')})(?:\.|$)/u
- CATEGORY_REGEX =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
/^[a-z0-9_-]+(?:\.[a-z0-9_-]+)*$/iu
- DEFAULT_CATEGORY =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"app.block".freeze
- DEFAULT_OPTIONS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
{ category: DEFAULT_CATEGORY }.freeze