Skip to content

Commit

Permalink
Clarifies site init param for DD possible org locations (#1646)
Browse files Browse the repository at this point in the history
* Clarifies site init param for DD possible org locations

* Removes examples, only links to doc for Log collection

* Unifies RUM site doc with Logs SDK doc

* References Site parameter column based on Getting Started/Sites
  • Loading branch information
tbavelier authored Jul 20, 2022
1 parent 798f75f commit fba5527
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ The following parameters are available to configure the Datadog browser logs SDK
| Parameter | Type | Required | Default | Description |
| --------------------- | ------------------------------------------------------------------------- | -------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `clientToken` | String | Yes | | A [Datadog client token][2]. |
| `site` | String | Yes | `datadoghq.com` | The Datadog site of your organization. US: `datadoghq.com`, EU: `datadoghq.eu` |
| `site` | String | Yes | `datadoghq.com` | The [Datadog site parameter of your organization][9]. |
| `service` | String | No | | The service name for your application. It should follow the [tag syntax requirements][7]. |
| `env` | String | No | | The application’s environment, for example: prod, pre-prod, staging, etc. It should follow the [tag syntax requirements][7]. |
| `version` | String | No | | The application’s version, for example: 1.2.3, 6c44da20, 2020.02.13, etc. It should follow the [tag syntax requirements][7]. |
Expand Down Expand Up @@ -677,3 +677,4 @@ window.DD_LOGS && DD_LOGS.logger.setHandler(['<HANDLER1>', '<HANDLER2>'])
[6]: https://docs.datadoghq.com/real_user_monitoring/faq/proxy_rum_data/
[7]: https://docs.datadoghq.com/getting_started/tagging/#defining-tags
[8]: https://developer.mozilla.org/en-US/docs/Web/API/Reporting_API
[9]: https://docs.datadoghq.com/getting_started/site/
4 changes: 2 additions & 2 deletions packages/rum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ A [Datadog client token][5].
: Required<br/>
**Type**: String<br/>
**Default**: `datadoghq.com`<br/>
The Datadog site of your organization, the same value as the [Agent site configuration][14].
[The Datadog site parameter of your organization][14].

`service`
: Optional<br/>
Expand Down Expand Up @@ -361,7 +361,7 @@ A service is an independent, deployable code repository that maps to a set of pa
[11]: https://www.datadoghq.com/pricing/?product=real-user-monitoring--session-replay#real-user-monitoring--session-replay
[12]: https://docs.datadoghq.com/real_user_monitoring/connect_rum_and_traces?tab=browserrum
[13]: https://docs.datadoghq.com/real_user_monitoring/session_replay/privacy_options?tab=maskuserinput
[14]: https://docs.datadoghq.com/agent/basic_agent_usage#datadog-site
[14]: https://docs.datadoghq.com/getting_started/site/
[15]: https://docs.datadoghq.com/getting_started/tagging/#defining-tags
[16]: https://docs.datadoghq.com/real_user_monitoring/browser/monitoring_page_performance/#how-page-activity-is-calculated
[17]: https://docs.datadoghq.com/real_user_monitoring/session_replay/
Expand Down

0 comments on commit fba5527

Please sign in to comment.