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

Change http url targets #715

Merged
merged 2 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
v -> {
Span workflow = splunkRum.startWorkflow("User Login");
// not really a login, but it does make an http call
makeCall("https://pmrum.o11ystore.com?user=me&pass=secret123secret", workflow);
makeCall(
"https://frontend-us.o11ystore.com/?user=me&pass=secret123secret",
workflow);
// maybe this call gave us a real customer id, so let's put it into the global
// attributes
splunkRum.setGlobalAttribute(longKey("customerId"), 123456L);
Expand All @@ -100,7 +102,7 @@ public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
binding.httpMeNotFound.setOnClickListener(
v -> {
Span workflow = splunkRum.startWorkflow("Workflow with 404");
makeCall("https://pmrum.o11ystore.com/foobarbaz", workflow);
makeCall("https://frontend-us.o11ystore.com/foobarbaz", workflow);
});

binding.volleyRequest.setOnClickListener(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
*/
public class VolleyExample {

private static final String URL = "https://pmrum.o11ystore.com?user=me&pass=secret123secret";
private static final String URL =
"https://frontend-us.o11ystore.com?user=me&pass=secret123secret";
private final SplunkRum splunkRum;

public VolleyExample(SplunkRum splunkRum) {
Expand Down