File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/io/opentelemetry/contrib/generator/telemetry/cli Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -182,10 +182,10 @@ private static PayloadHandler getPayloadHandler(String targetEnvYAML) {
182
182
restPayloadHandler .setMetricsURL (targetEnvironmentDetails .getRestURL ().getMetricsPath ());
183
183
}
184
184
if (!StringUtils .defaultString (targetEnvironmentDetails .getRestURL ().getLogsPath ()).isBlank ()) {
185
- restPayloadHandler .setMetricsURL (targetEnvironmentDetails .getRestURL ().getLogsPath ());
185
+ restPayloadHandler .setLogsURL (targetEnvironmentDetails .getRestURL ().getLogsPath ());
186
186
}
187
187
if (!StringUtils .defaultString (targetEnvironmentDetails .getRestURL ().getTracesPath ()).isBlank ()) {
188
- restPayloadHandler .setMetricsURL (targetEnvironmentDetails .getRestURL ().getTracesPath ());
188
+ restPayloadHandler .setTracesURL (targetEnvironmentDetails .getRestURL ().getTracesPath ());
189
189
}
190
190
return restPayloadHandler ;
191
191
}
You can’t perform that action at this time.
0 commit comments