     * `[:tesla, :request, :exception]` - emitted at the end of the request when an exception is raised.
       * Measurement: `%{duration: native_time}`
       * Metadata: `%{env: Tesla.Env.t, exception: Exception.t, stacktrace: Exception.stacktrace}`
+
+    ### Legacy Telemetry Events
+
       * `[:tesla, :request]` - This event is emitted for backwards compatibility only and should be considered deprecated.
-      This event can be disabled by setting `config :tesla, Tesla.Middleware.Telemetry, disable_legacy_event: true` in your config.
+      This event can be disabled by setting `config :tesla, Tesla.Middleware.Telemetry, disable_legacy_event: true` in your config. Be sure to run `mix deps.compile --force tesla` after changing this setting to ensure the change is picked up.
 
     Please check the [telemetry](https://hexdocs.pm/telemetry/) for the further usage.
     """

    defmodule MyClient do
      use Tesla

      plug Tesla.Middleware.Telemetry, prefix: [:my_client]

    end

    :telemetry.attach("my-tesla-telemetry", [:my_client, :tesla, :request, stop], fn event, measurements, meta, config ->
      # Do something with the event
    end)
    ```

    ### Options

    * `:event_prefix` - a list of atoms to prefix to the telemetry event. Defaults to `[]`

    ## Telemetry Events


            reraise e, stacktrace
        end

      duration = System.monotonic_time() - start_time

      emit_stop(env, duration, prefix, result)

      result
    end
