Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add observability with opentelemetry #21

Open
ericrlessa opened this issue Feb 9, 2024 · 5 comments
Open

Add observability with opentelemetry #21

ericrlessa opened this issue Feb 9, 2024 · 5 comments
Assignees

Comments

@ericrlessa
Copy link
Contributor

ericrlessa commented Feb 9, 2024

To improve the observability of our project, we propose integrating OpenTelemetry for logging and metrics. Initially, our focus will be on implementing logging and metrics functionalities. As our project currently operates as a monolith, tracing can be considered for future iterations.

For logging and metrics, we intend to use CloudWatch as the provider. However, it's crucial for us to maintain platform independence and isolate specific API usage. OpenTelemetry provides a solution that allows us to achieve this goal effectively.

Here are some suggested metrics to monitor:

Notifications: Track various notification events, such as emails sent, errors encountered, messages bounced, or those treated as spam.

Baskets: Monitor the lifecycle of shopping baskets, including creation, reservation, and delivery statuses.

Stocks: Keep track of product availability metrics, such as products out of stock, sold-out items, and high-demand products.

General Errors: Capture and analyze general errors occurring within the system to identify and address issues promptly.

@IamNatri IamNatri self-assigned this Mar 5, 2024
@faermanj
Copy link
Contributor

I believe the next step here would be to experiment and record a demo.
What do you think @IamNatri @idmcarvalho

@StuxxNet
Copy link

Hey guys!

Is there a branch where you are currently working in this topic? If so, what's that? I would like to participate on this topic and for that would be cool to understand what's the current status of the task and what are we striving for, although I could get some context based on the description of this issue.

@idmcarvalho
Copy link

Hello @StuxxNet I'm trying to implement some configurations to handle the Jaeger exporter and provide some traces. Your help would be much appreciated.
Have you joined our Discord channel? So we can discuss a little more
https://discord.gg/NJ99Qat2

at last i didnt' commited anything, my changes stayed local but we can create an feat-opentelemtry branch to start this issue

@idmcarvalho
Copy link

@faermanj @StuxxNet Let me know when we could meet to discuss about this issue

@idmcarvalho idmcarvalho pinned this issue May 27, 2024
@idmcarvalho idmcarvalho self-assigned this May 28, 2024
@IamNatri
Copy link
Contributor

IamNatri commented Jun 23, 2024

The otel instrumentation is already up to date, check the branch

Now we are capturing metrics and trances with OTELP (OpenTelemetry protocol). For logs we need to export for a specific vendor as quarkus don't have a native export component for logs in OTLP.

API test metric endpoint (api/product)
the status of the issue and futher steps are:

  • Otel instrumentation
  • prometheus ready to use
  • zipikin ready to date
  • grafana ready to use with prometheus and zipikin
  • logs export in quarkus api and Instrument grafana with the log vendor config
  • create custom metrics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

5 participants