hello i am using the library:
apm-agent-attach-1.7.0
apm-agent-api-1.17.0
but the final transitional but transitional is registering it to the right it seems in the last transaction it is registering it the correct start time the code I am using is:
Map<String, String> map = new HashMap<String, String>();
map.put("service_name", "apidb-ace-query");
map.put("application_packages", "ib.bus");
map.put("server_urls", System.getenv("SERVER_URL_APM"));
Transaction transaction = ElasticApm.startTransactionWithRemoteParent(key->Elastic);
try (final Scope scope = transaction.activate()) {
} catch (Exception e) {
transaction.captureException(e);
throw e;
} finally {
transaction.end();
}
I am not using spring which service is implemented in ibm ace and I am using pure java and possible to be the same time the 2 service that was invoked was sent?
Timestamp timestamp = new Timestamp(System.currentTimeMillis());
transaction.setStartTimestamp(timestamp.getTime());
I have used but it does not register correctly
incorrect
correct