fluent / fluent-operator

Operate Fluent Bit and Fluentd in the Kubernetes way - Previously known as FluentBit Operator
Apache License 2.0
578 stars 246 forks source link

help request: cannot start prometheus input plugin #1310

Open pkutakovvk opened 1 month ago

pkutakovvk commented 1 month ago

Describe the issue

I'm trying to use prometheus input plugin with a very simple way taken from examples. Unfortunately logs of the fluent-bit pods contain the following error: Input plugin 'prometheus_scrape' cannot be loaded Error: Configuration file contains errors. Aborting I cannot find a way to check the config and have no idea how to fix it, please help.

How did you install fluent operator?

via one of the official way: kubectl apply -f https://raw.githubusercontent.com/fluent/fluentbit-operator/master/manifests/setup/setup.yaml --server-side

Additional context

` apiVersion: fluentbit.fluent.io/v1alpha2 kind: FluentBit metadata: name: fluent-bit namespace: fluent labels: app.kubernetes.io/name: fluent-bit spec: image: kubesphere/fluent-bit:v1.8.11 positionDB: hostPath: path: /var/lib/fluent-bit/ resources: requests: cpu: 10m memory: 25Mi limits: cpu: 500m memory: 200Mi fluentBitConfigName: fluent-bit-only-config tolerations: