Skip to content

3.6.0 loki failing health checks with 404 error #19923

Description

@pcanham

Describe the bug
When upgrading to 3.6.0 seeing that loki no longer passed health check for localhost:3100/ready getting a 404 error

To Reproduce
Steps to reproduce the behavior:

  1. Started Loki (SHA or version)
  2. Started Promtail (SHA or version) to tail '...'
  3. Query: {} term

Expected behavior
A clear and concise description of what you expected to happen.

Environment:

  • Infrastructure: bare-metal
  • Deployment tool: docker-compose

Screenshots, Promtail config, or terminal output

  loki:
    image: grafana/loki:3.6.0
    container_name: loki
    restart: unless-stopped
    hostname: loki
    logging:
      options:
        max-size: "100m"
        max-file: "5"
    env_file:
      - path: /data/loki/loki.env
        required: false
    command:
      - -config.file=/etc/loki/local-config.yaml
    volumes:
     - /data/loki/loki-config.yaml:/etc/loki/local-config.yaml
    healthcheck:
      test: [ "CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:3100/ready || exit 1" ]
      interval: 10s
      timeout: 5s
      retries: 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomehing is not working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions