-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Need documentation for a working setup for fileexporter #20279
Comments
Pinging code owners for exporter/file: @atingchen. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I'll try to add this documentation and would love to see you improve it. |
@Juliaj I'm sorry for replying to you so late. We will follow the documentation to first install the operator in an existing cluster and then create an OpenTelemetry Collector (otelcol) instance, like: kubectl apply -f - <<EOF
apiVersion: opentelemetry.io/v1alpha1
kind: OpenTelemetryCollector
metadata:
name: fileexporter
spec:
config: |
receivers:
otlp:
protocols:
grpc:
http:
processors:
exporters:
logging:
file:
path: /data/metrics.json
service:
pipelines:
metrics:
receivers: [otlp]
processors: []
exporters: [logging,file]
volumes:
- name: file
emptyDir: {}
volumeMounts:
- name: file
mountPath: /data
EOF |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
No response
Describe the issue you're reporting
fileexporter is a good choice for debugging, especially with intermittent metrics errors. However, there is no instruction to help set it up. The readme states,
If users want to explore the path of creating a writable directory for the path, there are a few obstacles on the way.
hostPath
, i.e.kubectl exec -it
doesn't work.initContainers
is not allowed thus creating custom path is impossible.Experts, please help document the setup to promote the usage of this good tool.
The text was updated successfully, but these errors were encountered: