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

FEATURE:: Support for metrics collection - Prometheus and Open Telemetry #3420

Merged
merged 5 commits into from
Nov 8, 2024

Conversation

vinodkiran
Copy link
Contributor

This PR adds support metrics collection. The following events are published by default
CHATFLOW_CREATED, AGENTFLOW_CREATED, ASSISTANT_CREATED, TOOL_CREATED, CHATFLOW_PREDICTION_INTERNAL, CHATFLOW_PREDICTION_EXTERNAL (success/failure), AGENTFLOW_PREDICTION_INTERNAL (success/failure),
AGENTFLOW_PREDICTION_EXTERNAL, TOTAL_HTTP_REQUESTS (with http status code), Timing for Each HTTP Request (in ms) in addition to native metrics from the node host (cpu/memory/load/...).

Native Support for Prometheus (and Grafana) and Open Telemetry is now enabled. Refer to the Open Telemetry documentation to configure DataDog, Zipkin, Jeager, New Relic, Splunk and other platforms.

# Conflicts:
#	packages/server/.env.example
#	packages/server/src/index.ts
#	pnpm-lock.yaml
@HenryHengZJ HenryHengZJ marked this pull request as ready for review November 1, 2024 18:38
@HenryHengZJ HenryHengZJ merged commit fe03683 into FlowiseAI:main Nov 8, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants