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

about http: multiple registrations for /metrics error #5193

Open
Autumn-27 opened this issue May 17, 2024 · 0 comments
Open

about http: multiple registrations for /metrics error #5193

Autumn-27 opened this issue May 17, 2024 · 0 comments
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@Autumn-27
Copy link

ne, err := nuclei.NewNucleiEngine(
nuclei.WithTemplateFilters(nuclei.TemplateFilters{Tags: []string{"oast"}}),
nuclei.EnableStatsWithOpts(nuclei.StatsOptions{MetricServerPort: 6064}), // optionally enable metrics server for better observability
)

How to close the MetricServerPort here? It seems impossible to directly call certain switches from the code

@Autumn-27 Autumn-27 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

1 participant