-
Notifications
You must be signed in to change notification settings - Fork 28
Conversation
| c.APIEndpoint = apiEndpointPrefix + yc.Site | ||
| } | ||
| if yc.TraceAgent.Endpoint != "" { | ||
| c.APIEndpoint = yc.TraceAgent.Endpoint |
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.
👍
| }) | ||
| } | ||
|
|
||
| func TestSite(t *testing.T) { |
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.
@olivielpeau can you double check if it respects entirely our specification?
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.
it does 💯
olivielpeau
left a comment
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, just a nit on the log message
| }) | ||
| } | ||
|
|
||
| func TestSite(t *testing.T) { |
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.
it does 💯
|
@palazzem PTAL |
Adds support for a new
sitetop level configuration option, such that:siteis set,https://trace.agent.<site>is used.siteandapm_dd_urlare set, the latter takes precedence and user is notified.apm_dd_urlis set, that value will be used.