wso2 / product-micro-integrator

The cloud-native configuration driven runtime that helps developers implement composite microservices.
https://wso2.com/integration/
Apache License 2.0
204 stars 221 forks source link

[Improvement]: Capture entry point details in logs #3560

Open chathurace opened 3 months ago

chathurace commented 3 months ago

Description

Having entry point details such as API, resource, and inbound endpoint configurations in logs is useful for improving search and drill-down features in log analysis. Currently, only the API name is provided.

Entry point details differ depending on the type of entry point. For example... REST APIs: api, method, resource File inbound ep: folder path Kafka: host, port, topics

Describe your problem(s)

No response

Describe your solution(s)

One option is to have a single entry_point field in logs that contains a string created by concatenating required details (e.g. REST API: api1_resource2, Kafka: example.come_8090_orders).

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response