You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, thank you for this amazing project and seeing updates on it now again.
I configured pyrra api and pyrra kubernetes to log as json by adding --log-format=json to the args. Unfortunately pyrra kubernetes doesn't log everything as json:
pyrra-kubernetes 2024-10-22T13:09:52Z INFO setup starting manager
pyrra-kubernetes 2024-10-22T13:09:52Z INFO controller-runtime.metrics Starting metrics server
pyrra-kubernetes 2024-10-22T13:09:52Z INFO controller-runtime.metrics Serving metrics server {"bindAddress": ":8080", "secure": false}
pyrra-kubernetes 2024-10-22T13:09:52Z INFO Starting EventSource {"controller": "servicelevelobjective", "controllerGroup": "pyrra.dev", "controllerKind": "ServiceLevelObjective", "source": "kind source: *v1alpha1.ServiceLevelObjective"}
pyrra-kubernetes 2024-10-22T13:09:52Z INFO Starting Controller {"controller": "servicelevelobjective", "controllerGroup": "pyrra.dev", "controllerKind": "ServiceLevelObjective"}
pyrra-kubernetes 2024-10-22T13:09:52Z INFO Starting workers {"controller": "servicelevelobjective", "controllerGroup": "pyrra.dev", "controllerKind": "ServiceLevelObjective", "worker count": 1}
pyrra-kubernetes {"caller":"servicelevelobjective.go:55","controllers":"ServiceLevelObjective","level":"debug","msg":"reconciling","namespace":"monitoring/my-sso","reconciler":"servicelevelobjective","ts":"2024-10-22T13:09:52.218404029Z"}
pyrra-kubernetes {"caller":"servicelevelobjective.go:89","controllers":"ServiceLevelObjective","level":"info","msg":"updating prometheus rule","name":"my-sso","namespace":"monitoring","reconciler":"servicelevelobjective","ts":"2024-10-22T13:09:52.319891099Z"}
It would be great to have everything as json because otherwise the log parsing even "harder".
Just to have it mentioned, I enabled --log-level=debug, too.
The text was updated successfully, but these errors were encountered:
sebastiangaiser
changed the title
Pyrra Kubernetes not completely logging as json
pyrra kubernetes doesn't completely log as json
Oct 22, 2024
Hey, thank you for this amazing project and seeing updates on it now again.
I configured
pyrra api
andpyrra kubernetes
to log as json by adding--log-format=json
to the args. Unfortunatelypyrra kubernetes
doesn't log everything as json:It would be great to have everything as json because otherwise the log parsing even "harder".
Just to have it mentioned, I enabled
--log-level=debug
, too.The text was updated successfully, but these errors were encountered: