- Adding Prometheus and grafana services in development

- Adding Prometheus metrics to the business events
- Ensure asynchronous behaviour of crewai specialists.
- Adapt Business events to working in mixed synchronous / asynchronous contexts
- Extend business events with specialist information
- Started adding a grafana dashboard (TBC)
This commit is contained in:
Josako
2025-03-24 16:39:22 +01:00
parent 238bdb58f4
commit b6ee7182de
25 changed files with 1337 additions and 83 deletions

View File

@@ -5,7 +5,7 @@ import os
from common.langchain.templates.template_manager import TemplateManager
from common.utils.celery_utils import make_celery, init_celery
from common.extensions import db, template_manager, cache_manager
from common.extensions import db, template_manager, cache_manager, eveai_metrics
from config.logging_config import LOGGING
from config.config import get_config
@@ -45,6 +45,7 @@ def register_extensions(app):
db.init_app(app)
cache_manager.init_app(app)
template_manager.init_app(app)
eveai_metrics.init_app(app)
def register_cache_handlers(app):