Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: OTel Railtie #1111

Merged
merged 4 commits into from
Mar 23, 2022

Commits on Mar 19, 2022

  1. feat: OTel Railtie

    This gem provides a minimal Railtie to use in lieu of manual configuration.
    
    Operators may customize SDK settings using environment variables but this gem will provide some defaults:
    
    Sets a minimal set of values for OTEL_SERVICE_NAME and OTEL_RESOURCE_ATTRIBUTES when left unset
    Users may override SDK configurations using standard OTel SDK environment variables
    Users may override Instrumentation libraries are configurable using OTEL_RUBY_*_CONFIG_OPTS
    arielvalentin committed Mar 19, 2022
    Configuration menu
    Copy the full SHA
    4334230 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2022

  1. refactor: Move Railtie Under instrumentation

    This commit moves the Railtie from its own gem into opentelemetry-instrumentation-rails.
    
    Users will have to explicitly require the railtie in their bundler file or as part of Rails bootstrap after bundler
    has required dependencies.
    
    It also reverses the decision to set default OTEL_RESOURCES_ATTRIBUTES based on the Rails.env since we have run into
    some issues in production.
    
    cc: @robertlaurin @ericmustin
    arielvalentin committed Mar 20, 2022
    Configuration menu
    Copy the full SHA
    c2a11bb View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. Configuration menu
    Copy the full SHA
    b699eec View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Configuration menu
    Copy the full SHA
    8b8235d View commit details
    Browse the repository at this point in the history