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

[BUG] Always an EmptyExporter #580

Open
binbin0325 opened this issue Sep 24, 2024 · 0 comments
Open

[BUG] Always an EmptyExporter #580

binbin0325 opened this issue Sep 24, 2024 · 0 comments

Comments

@binbin0325
Copy link
Collaborator

Issue Description

Read the httpaddr in the exporter init function is always a null character, because the global configuration has not been set at the time of the init function execution https://github.com/alibaba/sentinel-golang/blob/master/exporter/metric/exporter.go#L36

Type: bug report

Describe what happened

empty exporter it doesn't make sense, judgment has been made in the initCoreComponents func

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

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

No branches or pull requests

1 participant