-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rum] added extra installation method in readme #571
Conversation
cff29cb
to
c06b158
Compare
@bcaudan Few details I am not sure about:
|
|
Codecov Report
@@ Coverage Diff @@
## master #571 +/- ##
==========================================
+ Coverage 88.13% 88.63% +0.50%
==========================================
Files 46 46
Lines 2359 2359
Branches 492 492
==========================================
+ Hits 2079 2091 +12
+ Misses 280 268 -12
Continue to review full report at Codecov.
|
packages/logs/README.md
Outdated
### CDN sync | ||
|
||
```html | ||
<script src="https://www.datadoghq-browser-agent.com/datadog-logs.js"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be:
<script src="https://www.datadoghq-browser-agent.com/datadog-logs.js"> | |
<script src="https://www.datadoghq-browser-agent.com/datadog-logs.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add a prettier-ignore
comment line otherwise I think this commit will break the prettier CI check for later commits.
Co-authored-by: Benoît Zugmeyer <benoit.zugmeyer@datadoghq.com>
Co-authored-by: Benoît Zugmeyer <benoit.zugmeyer@datadoghq.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs look good
@@ -15,7 +15,7 @@ With the `datadog-logs` library, you can send logs directly to Datadog from JS c | |||
|
|||
**Datadog client token**: For security reasons, [API keys][1] cannot be used to configure the `datadog-logs` library, because they would be exposed client-side in the JavaScript code. To collect logs from web browsers, a [client token][2] must be used. See the [client token documentation][2] for more details. | |||
|
|||
**Datadog browser log library**: Configure the library through [NPM](#npm) or use the [bundle](#bundle) directly in the head tag. | |||
**Datadog browser log library**: Configure the library through [NPM](#npm) or use the [CDN async](#cdn-async) or [CDN sync](#cdn-sync) code snippets in the head tag. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about getting rid of all bundle references then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the normal doc you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in this page at least, in other doc would be great as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My latest commit should have removed the last reference of bundle :)
@@ -133,22 +171,6 @@ init(configuration: { | |||
}) | |||
``` | |||
|
|||
### Name click actions | |||
|
|||
The RUM library uses various strategies to automatically name click actions. If you want more control, define a `data-dd-action-name` attribute on clickable elements (or any of their parents) to name the action, for example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it documented elsewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll open a PR to add it in the normal doc.
…owser-agent into hdelaby/document-async-bundle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Motivation
Release of
async
loading of the SDKChanges
async
code snippetTesting
Only documentation modification.
I have gone over the contributing documentation.