Skip to content
Snippets Groups Projects
  1. Aug 28, 2019
  2. Aug 22, 2019
  3. Aug 21, 2019
    • Robert Fratto's avatar
      promtail: add "max_age" field to configure cutoff for journal reading (#921) · 4c418430
      Robert Fratto authored
      The journal scrape config in promtail has been updated to support
      a "max_age" field. max_age determines the oldest journal entry
      promtail will read when starting the journal reader. When
      unspecified, max_age defaults to 7h.
      
      Even if a position in the journal is saved in the promtail
      positions file, that position may be ignored if the entry corresponding
      to that position is older than the max_age cutoff time.
      
      Example promtail config for getting up to the last 12h of journal
      entries:
      
        server:
          http_listen_port: 9080
          grpc_listen_port: 0
      
        positions:
          filename: /tmp/positions.yaml
      
        clients:
          - url: http://localhost:3100/api/prom/push
      
        scrape_configs:
        - job_name: journal
          journal:
            max_age: 12h
            path: /var/log/journal
            labels:
              job: systemd-journal
          relabel_configs:
            - source_labels: ['__journal__systemd_unit']
              target_label: 'unit'
      4c418430
    • Marco Pracucci's avatar
      Documented promtail known failure modes · 75a3e61a
      Marco Pracucci authored
      75a3e61a
  4. Aug 20, 2019
  5. Aug 19, 2019
  6. Aug 18, 2019
  7. Aug 17, 2019
  8. Aug 15, 2019
    • sh0rez's avatar
      chore(packaging): set tag length to 7 (#901) · 205b4330
      sh0rez authored
      
      * chore(packaging): set tag length to 7
      
      relied on git approximation before, which causes problems with other parts of
      the automation.
      
      Because we do not need the tag to be strictly unique, but just to identify the
      latest version, limiting to 7 is fine.
      
      If this ever causes problems, raise the limit but make sure to update all other
      places as well.
      
      * chore(packaging): request at least 7 characters
      
      Co-Authored-By: default avatarDan Cech <dan@aussiedan.com>
      205b4330
    • sh0rez's avatar
    • sh0rez's avatar
      chore(ci/cd): build containers using drone.io (#891) · 45bdebf8
      sh0rez authored
      Because drone.io provides us with native ARM runners, we evaluate the platform to figure out if it is a suitable replacement for CircleCI and qemu.
      
      Configuration is done using .drone/drone.jsonnet, the .drone/drone.yml is generated from that.
      Images are built on amd64, arm64 and arm, natively and without emulation. This allows to get rid of cross-compilation, which in turn allows more advanced builds (CGO, etc.)
      
      Hopefully this will make the CI faster and more reliable in the future. Let's see!
      45bdebf8
    • Robert Fratto's avatar
      ksonnet: update ingester config to transfer chunks on rollout (#894) · a7e0e482
      Robert Fratto authored
      ingester.max_transfer_retries and
      ingester.lifecycler.{join_after, claim_on_rollout} have been
      added and set to match values proven to work for Cortex in production.
      a7e0e482
  9. Aug 14, 2019
  10. Aug 13, 2019
  11. Aug 12, 2019
  12. Aug 09, 2019
  13. Aug 08, 2019
  14. Aug 07, 2019
Loading