canonical / mysql-router-k8s-operator

Mysql router operator charm for kubernetes
https://charmhub.io/mysql-router-k8s
Apache License 2.0
2 stars 6 forks source link

[DPE-4817] Upgrade to use lok_push_api v1 and capture rotated log files #283

Closed shayancanonical closed 1 month ago

shayancanonical commented 2 months ago

Issue

  1. We need to upgrade to loki_push_api v1 to be able to use it in arm64. Fixes #282
  2. We are not uploading rotated log files to loki

Solution

  1. Upgrade charm lib
  2. Change log files target to include a regex that will capture both the mysqlrouter.log and any archived log files