appscope icon indicating copy to clipboard operation
appscope copied to clipboard

Add reporter to http.req metric & event

Open ricksalsa opened this issue 2 years ago • 3 comments

AppScope captures inbound and outbound HTTP requests and generates http.req metric and event. Without a dimension, such as reporter, it is difficult to identify the origin of the request/response.

Adding a dimension such as reporter, users using either metrics or events can determine if the request was inbound (to the instrumented app) or outbound (generated by the instrumented app).

ricksalsa avatar Jun 07 '23 22:06 ricksalsa

Adding a dimension/label for reporter can help users determine requests made in and out of an instrumented application.

Set the value to client if it originated from the instrumented app, server if it is inbound to the instrumented app, or unknown if its origin is not known.

ricksalsa avatar Jun 07 '23 22:06 ricksalsa

reporter is client or server?

iapaddler avatar Jun 08 '23 16:06 iapaddler

reporter is client or server?

client, server or unknown in case of an error where we don't know the origin.

Can we confirm the origin for our http.duration.server and http.duration.client metrics as well?

ricksalsa avatar Jun 08 '23 17:06 ricksalsa