Skip to content

[BUG] Always an EmptyExporter #580

Open
@binbin0325

Description

@binbin0325

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions