How to use public API


#1

The public API use in official website is only show some api's method , but I don't know how to contact with my project.


(Felix Barnsteiner) #2

Based on your previous topics, I assume you are using the Java agent?

Which information do you feel is missing from the documentation: https://www.elastic.co/guide/en/apm/agent/java/current/public-api.html

Best,
Felix


#3

I don't know weather new a class in my project?


(Felix Barnsteiner) #4

I’m sorry but I don’t understand what you mean.


#5

Thanks! I mean I should create a class use public api in my java project?


(Felix Barnsteiner) #6

You can use the public API from within your existing classes.


#7

Ok,thanks.I will try it.