Skip to content
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

Added 'User-Agent' header in REST API calls for the telemetry #151

Merged
merged 4 commits into from
Apr 29, 2022

Conversation

akaila-splunk
Copy link
Contributor

  • Added a "User-Agent" header in the client and server REST API calls
  • To test: use the JavaScript SDK to make a request to the REST API (execute client or server side test cases/examples), then search index=_internal "splunk-sdk-javascript/1.11.0" to make sure the event appears as expected

Copy link
Contributor

@fantavlik fantavlik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good start with the node.js client, I believe these clients also need to follow the same logic for the browser clients to work and we'd like to test to make sure the User-Agent isn't being overwritten by browser information for those scenarios: https://github.com/splunk/splunk-sdk-javascript/tree/master/lib/platform/client

@ashah-splunk ashah-splunk merged commit 9323b02 into develop Apr 29, 2022
@ashah-splunk ashah-splunk deleted the DVPL-10513 branch May 2, 2022 06:59
@akaila-splunk akaila-splunk mentioned this pull request Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants