Dabz / ccloudexporter

Prometheus exporter for Confluent Cloud API metric
https://docs.confluent.io/current/cloud/metrics-api.html
87 stars 53 forks source link

Turn off log-pretty-print since log management systems are not able t… #79

Open nbommu1 opened 3 years ago

nbommu1 commented 3 years ago

running this service kubernetes where we sends logs to log management system which is not able to parse that and create tons of events, it would be better to turn off by default.

Andrei-Predoiu commented 3 years ago

Plus one on this one @Dabz We have been unable to turn pretty print off when deploying to kubernetes.

Dabz commented 3 years ago

@Andrei-Predoiu , you can turn off pretty print by setting -log-pretty-print=false as a command line argument.

Andrei-Predoiu commented 3 years ago

I was trying -log-pretty-print false the readme doesn't make it clear that it should be -log-pretty-print=false since that's now most command line apps work

Dabz commented 3 years ago

Yeah, that's one of the joy of go flags :/ Maybe I should make it clear in the README or add a FAQ session.