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

Bugfix/Prevent duplicated metrics on prometheus and opentel #4269

Merged

Conversation

HenryHengZJ
Copy link
Contributor

Error: A metric with the name http_request_duration_ms has already been registered.
    at Registry.registerMetric (/usr/src/node_modules/.pnpm/[email protected]/node_modules/prom-client/lib/registry.js:103:10)
    at new Metric (/usr/src/node_modules/.pnpm/[email protected]/node_modules/prom-client/lib/metric.js:64:13)
    at new Histogram (/usr/src/node_modules/.pnpm/[email protected]/node_modules/prom-client/lib/histogram.js:20:3)
    at Prometheus.initializeCounters (/usr/src/packages/server/dist/metrics/Prometheus.js:66:48)

@HenryHengZJ HenryHengZJ merged commit 3098c8e into main Apr 8, 2025
2 checks passed
JJK801 pushed a commit to JJK801/Flowise that referenced this pull request Apr 9, 2025
…I#4269)

prevent duplicated metrics on prometheus and opentel
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.

1 participant