Skip to content

Commit

Permalink
Update readme to reflect changes to region selection
Browse files Browse the repository at this point in the history
  • Loading branch information
hannessolo committed Sep 15, 2020
1 parent c368d6f commit 38665d0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,11 @@ This call will send the following payload to Datadog:
"ddtags": "callsite:testLog():39,foo:bar,request-id:abc-123"
}
```

### Select Region

The Datadog API uses a different URL in the EU region compared to the US. If your account was created using Datadog EU, you need to set the `region` option when initializing `DataDogLogHandler`:

```swift
DataDogLogHandler(label: $0, key: "xxx", hostname: "hostname", region: .EU)
```

0 comments on commit 38665d0

Please sign in to comment.