-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
error in contrib collector 0.27: unknown exporters type "elasticsearch" #3537
Comments
@urso @faec @blakerouse - I quickly took a look and noticed that the "elasticsearchexporter" was not in the components file. Is this intentional? @PCDiver - I'm guessing it's still in development and not ready to be released yet. The code owners mentioned above will better know the current status. |
Yes, it is still in development. Although events can already be send, not all feature can be configured, which will result in a panic. |
waiting |
The exporter is not registered with the otel collector contrib distribution yet (it is not compiled into the collector), because it is not finished (and not tested) yet. |
It's being added to the contrib distribution as part of #6002 and open-telemetry/opentelemetry-collector-releases#50 |
In my experience it doesn't start when you use something like metrics instead of logs or traces. I am going to contribute with a colleague to this exporter in the future since we could really use the metrics functionality with elastic search. Could you describe what is missing so we could take a look into it and help out? |
I was not aware of the exporter not being ready for prime time. One of my goals was adding metrics to the elasticsearch exporter but if more is needed I can also take a look into getting it production ready. |
The initial issue has been addressed as the component is now part of the contrib distribution. Please open follow up items for any additional issues. |
Describe the bug
I downloaded release 0.27 from the contrib collector (windows version). When I start the collector I get the error: cannot load configuration: unknown exporters type "elasticsearch" for elasticsearch. Is the elasticsearch exporter for logs already in this release? If not, when will it be?
Steps to reproduce
run: .\otelcontribcol_windows_amd64.exe --config=config.yaml
What did you expect to see?
A clear and concise description of what you expected to see.
What did you see instead?
S C:\Program Files\OpenTelemetry\collectoragent> .\otelcontribcol_windows_amd64.exe --config=config.yaml
2021-05-26T05:16:55.568+0200 info service/application.go:277 Starting otelcontribcol... {"Version": "v0.27.0", "NumCPU": 4}
2021-05-26T05:16:55.569+0200 info service/application.go:185 Setting up own telemetry...
2021-05-26T05:16:55.570+0200 info service/telemetry.go:98 Serving Prometheus metrics {"address": ":8888", "level": 0, "service.instance.id": "3d858d74-ed08-489b-a55c-bff28481603d"}
2021-05-26T05:16:55.570+0200 info service/application.go:220 Loading configuration...
Error: cannot load configuration: unknown exporters type "elasticsearch" for elasticsearch
2021/05/26 05:16:55 application run finished with error: cannot load configuration: unknown exporters type "elasticsearch" for elasticsearch
What version did you use?
Version: 0.27
What config did you use?
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:55680
exporters:
elasticsearch:
endpoints: [http://elk1.submerge.local:9200]
insecure: true
service:
pipelines:
logs:
receivers: [otlp]
exporters: [elasticsearch]
Environment
OS: Windows 10
Compiler(if manually compiled): (e.g., "go 14.2")
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: