From ba8153119c9ab702c3bf7aa7c6455b744d4fc8b5 Mon Sep 17 00:00:00 2001 From: Robin Schroer Date: Mon, 19 Aug 2024 13:06:45 +0900 Subject: [PATCH] Update setup instructions --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 742fa12..b821527 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,14 @@ Internal library for StatsD and tracing. ```ruby gem 'degica_datadog', git: "https://github.com/degica/degica_datadog.git", branch: "main" ``` -1. Set the `SERVICE_NAME` environment variable to the name of your service. 1. Then add this to your `config/application.rb` to enable tracing: ```ruby require "degica_datadog" - # Config.init is optional if you don't need to set any special config. DegicaDatadog::Config.init( service_name: "hats", - version: "1.3", - environment: "staging", + version: "1.3", # optional + environment: "staging", # optional repository_url: "github.com/degica/not-hats" ) DegicaDatadog::Tracing.init