7 Matching Annotations
  1. Feb 2021
    1. STATSD_SAMPLE_RATE: (default: 1.0)

      It's recommended to configure this library by setting environment variables.

      The thing I don't like about configuration via environment variables is that everything is limited/reduced to the string type. You can't even use simple numeric types, let alone nice rich value objects like you could if configuration were done in the native language (Ruby).

      If you try to, you get:

      config/initializers/statsd.rb:8:in `[]=': no implicit conversion of Integer into String (TypeError)
  2. Jan 2021
  3. May 2020
    1. Some GitLab features can behave differently for each environment. For example, you can create a secret variable to be injected only into a production environment.
  4. Dec 2019
    1. neutrino build --require dotenv/config You can then tell Neutrino to inject these environment variables in your neutrinorc: ['@neutrinojs/env', [ 'NODE_ENV', 'APPLICATION_NAME', 'LOGIN_STRATEGIES', 'TASKCLUSTER_ROOT_URL', ]],