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 the OT agent to our container app environment #1463

Open
Tracked by #1456
arealmaas opened this issue Nov 14, 2024 · 0 comments
Open
Tracked by #1456

Add the OT agent to our container app environment #1463

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

Add the OT agent in our container app environment. The following'ish configuration:

{
  "properties": {
    "appInsightsConfiguration": {
        "connectionString": "<YOUR_APP_INSIGHTS_CONNECTION_STRING>"
    },
    "openTelemetryConfiguration": {
      "destinationsConfiguration":{
        "otlpConfigurations": [
          {
            "name": "azure-monitor-workspace",
            "endpoint": "<endpoint-to-azure-monitor-workspace>",
            "insecure": false,
            "headers": "api-key-1=key"
          }
        ]
      },
      "logsConfiguration": { 
        "destinations": ["appInsights"]
      },
      "tracesConfiguration":{
        "destinations": ["appInsights"]
      },
      "metricsConfiguration": {
        "destinations": ["azure-monitor-workspace"]
      }
    }
  }
}

This ensures that:

  • Logs and traces are sent to application insights
  • Metrics are sent to Azure Monitor Workspace

https://learn.microsoft.com/en-us/azure/container-apps/opentelemetry-agents?tabs=arm

@arealmaas arealmaas added the monitoring Issue related to logging and monitoring label Nov 19, 2024
@arealmaas arealmaas self-assigned this Nov 19, 2024
arealmaas added a commit that referenced this issue Nov 21, 2024
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

Related to #1485

## Related Issue(s)

- #1463

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
  - Introduced a new module for managing container app identities.
- Enhanced monitoring configurations with new parameters for Application
Insights and metrics ingestion.
- Added functionality for assigning Monitoring Metrics Publisher roles
to specified identities.
- Introduced new resources for data collection endpoints and rules for
improved monitoring capabilities.

- **Improvements**
- Updated existing modules to support new identity and monitoring
features, enhancing overall deployment capabilities.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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: Doing
Development

No branches or pull requests

1 participant