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

Redo export of metrics, traces and logs #1456

Open
6 tasks
arealmaas opened this issue Nov 14, 2024 · 0 comments
Open
6 tasks

Redo export of metrics, traces and logs #1456

arealmaas opened this issue Nov 14, 2024 · 0 comments
Assignees
Labels
monitoring Issue related to logging and monitoring

Comments

@arealmaas
Copy link
Collaborator

arealmaas commented Nov 14, 2024

Introduction

A short and concise description of the functionality this issue addresses.

Description

After a meeting with platform about the steps we need to take to test out Grafana, we discussed some other points related to that.

  • We should discuss whether we should fully transition to OpenTelemetry with the collector pattern and remove App Insights-specific components from our code. With this approach, we can use the Container Apps OpenTelemetry agent to send metrics and logs to App Insights and potentially other sources.
  • They’re interested in metrics from us, so the on-call team, for instance, can get a holistic view of the status across all systems in Altinn.
  • We likely don’t need to do much with traces and logs, as App Insights is already handling these effectively. However, for metrics, we should consider testing the Grafana instance they have. A prerequisite for this is setting up an Azure Monitor Workspace to send metrics to, which they would then use as a datasource.

Implementation

  • Add an Azure Monitor Workspace via IaC.
  • Use the OT agent in Container Apps (see documentation) to send metrics to Azure Monitor and logs to App Insights.
  • Gain access to Grafana and add Azure Monitor as a datasource.
  • Increase the coverage of metrics and alerting. Ensure that we get notifications about crashing applications etc.

Image

Tasks

  1. 0 of 2
    monitoring
    arealmaas
  2. monitoring
    arealmaas
  3. monitoring
    arealmaas
  4. 0 of 2
    monitoring
    arealmaas

Threat modelling

Acceptance criteria

GIVEN ...
WHEN ....
THEN ...

GIVEN ...
WHEN ....
THEN ...

@arealmaas arealmaas moved this to New issues in Dialogporten / Arbeidsflate Nov 14, 2024
@arealmaas arealmaas changed the title WIP Export logs and metrics to Grafana Redo export of metrics, traces and logs Nov 14, 2024
@arealmaas arealmaas self-assigned this Nov 19, 2024
@arealmaas arealmaas added the monitoring Issue related to logging and monitoring label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
monitoring Issue related to logging and monitoring
Projects
Status: Ready
Development

No branches or pull requests

1 participant