mirror of
https://github.com/grafana/loki.git
synced 2025-08-06 15:10:46 +08:00
Update docs 2.8.2 (#9379)
**What this PR does / why we need it**: Update docs and changelog with Loki 2.8.2 changes. **Which issue(s) this PR fixes**: Fixes #<issue number> **Special notes for your reviewer**: **Checklist** - [ ] Reviewed the [`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md) guide (**required**) - [ ] Documentation added - [ ] Tests updated - [ ] `CHANGELOG.md` updated - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/upgrading/_index.md`
This commit is contained in:
19
CHANGELOG.md
19
CHANGELOG.md
@ -4,10 +4,6 @@
|
|||||||
|
|
||||||
#### Loki
|
#### Loki
|
||||||
|
|
||||||
##### Security
|
|
||||||
|
|
||||||
* [9370](https://github.com/grafana/loki/pull/9370) **dannykopping**: upgrade to go1.20.4
|
|
||||||
|
|
||||||
##### Enhancements
|
##### Enhancements
|
||||||
|
|
||||||
* [8067](https://github.com/grafana/loki/pull/8067) **DylanGuedes**: Distributor: Add auto-forget unhealthy members support.
|
* [8067](https://github.com/grafana/loki/pull/8067) **DylanGuedes**: Distributor: Add auto-forget unhealthy members support.
|
||||||
@ -49,7 +45,6 @@
|
|||||||
##### Enhancements
|
##### Enhancements
|
||||||
|
|
||||||
* [8474](https://github.com/grafana/loki/pull/8787) **andriikushch**: Promtail: Add a new target for the Azure Event Hubs
|
* [8474](https://github.com/grafana/loki/pull/8787) **andriikushch**: Promtail: Add a new target for the Azure Event Hubs
|
||||||
* [8994](https://github.com/grafana/loki/pull/8994) **DylanGuedes**: Promtail: Add new `decompression` configuration to customize the decompressor behavior.
|
|
||||||
* [8874](https://github.com/grafana/loki/pull/8874) **rfratto**: Promtail: Support expoential backoff when polling unchanged files for logs.
|
* [8874](https://github.com/grafana/loki/pull/8874) **rfratto**: Promtail: Support expoential backoff when polling unchanged files for logs.
|
||||||
|
|
||||||
##### Fixes
|
##### Fixes
|
||||||
@ -80,6 +75,20 @@
|
|||||||
* [8855](https://github.com/grafana/loki/pull/8855) **JoaoBraveCoding**: Add gRPC port to loki compactor mixin
|
* [8855](https://github.com/grafana/loki/pull/8855) **JoaoBraveCoding**: Add gRPC port to loki compactor mixin
|
||||||
* [8880](https://github.com/grafana/loki/pull/8880) **JoaoBraveCoding**: Normalize headless service name for query-frontend/scheduler
|
* [8880](https://github.com/grafana/loki/pull/8880) **JoaoBraveCoding**: Normalize headless service name for query-frontend/scheduler
|
||||||
|
|
||||||
|
## 2.8.2 (2023-05-03)
|
||||||
|
|
||||||
|
#### Loki
|
||||||
|
|
||||||
|
##### Security
|
||||||
|
|
||||||
|
* [9370](https://github.com/grafana/loki/pull/9370) **dannykopping**: upgrade to go1.20.4
|
||||||
|
|
||||||
|
#### Promtail
|
||||||
|
|
||||||
|
##### Enhancements
|
||||||
|
|
||||||
|
* [8994](https://github.com/grafana/loki/pull/8994) **DylanGuedes**: Promtail: Add new `decompression` configuration to customize the decompressor behavior.
|
||||||
|
|
||||||
## 2.8.1 (2023-04-24)
|
## 2.8.1 (2023-04-24)
|
||||||
|
|
||||||
#### Loki
|
#### Loki
|
||||||
|
@ -22,10 +22,10 @@ The configuration acquired with these installation instructions run Loki as a si
|
|||||||
Copy and paste the commands below into your command line.
|
Copy and paste the commands below into your command line.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://raw.githubusercontent.com/grafana/loki/v2.8.0/cmd/loki/loki-local-config.yaml -O loki-config.yaml
|
wget https://raw.githubusercontent.com/grafana/loki/v2.8.2/cmd/loki/loki-local-config.yaml -O loki-config.yaml
|
||||||
docker run --name loki -d -v $(pwd):/mnt/config -p 3100:3100 grafana/loki:2.8.0 -config.file=/mnt/config/loki-config.yaml
|
docker run --name loki -d -v $(pwd):/mnt/config -p 3100:3100 grafana/loki:2.8.2 -config.file=/mnt/config/loki-config.yaml
|
||||||
wget https://raw.githubusercontent.com/grafana/loki/v2.8.0/clients/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml
|
wget https://raw.githubusercontent.com/grafana/loki/v2.8.2/clients/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml
|
||||||
docker run --name promtail -d -v $(pwd):/mnt/config -v /var/log:/var/log --link loki grafana/promtail:2.8.0 -config.file=/mnt/config/promtail-config.yaml
|
docker run --name promtail -d -v $(pwd):/mnt/config -v /var/log:/var/log --link loki grafana/promtail:2.8.2 -config.file=/mnt/config/promtail-config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
When finished, `loki-config.yaml` and `promtail-config.yaml` are downloaded in the directory you chose. Docker containers are running Loki and Promtail using those config files.
|
When finished, `loki-config.yaml` and `promtail-config.yaml` are downloaded in the directory you chose. Docker containers are running Loki and Promtail using those config files.
|
||||||
@ -40,10 +40,10 @@ Copy and paste the commands below into your terminal. Note that you will need to
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd "<local-path>"
|
cd "<local-path>"
|
||||||
wget https://raw.githubusercontent.com/grafana/loki/v2.8.0/cmd/loki/loki-local-config.yaml -O loki-config.yaml
|
wget https://raw.githubusercontent.com/grafana/loki/v2.8.2/cmd/loki/loki-local-config.yaml -O loki-config.yaml
|
||||||
docker run --name loki -v <local-path>:/mnt/config -p 3100:3100 grafana/loki:2.8.0 --config.file=/mnt/config/loki-config.yaml
|
docker run --name loki -v <local-path>:/mnt/config -p 3100:3100 grafana/loki:2.8.2 --config.file=/mnt/config/loki-config.yaml
|
||||||
wget https://raw.githubusercontent.com/grafana/loki/v2.8.0/clients/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml
|
wget https://raw.githubusercontent.com/grafana/loki/v2.8.2/clients/cmd/promtail/promtail-docker-config.yaml -O promtail-config.yaml
|
||||||
docker run -v <local-path>:/mnt/config -v /var/log:/var/log --link loki grafana/promtail:2.8.0 --config.file=/mnt/config/promtail-config.yaml
|
docker run -v <local-path>:/mnt/config -v /var/log:/var/log --link loki grafana/promtail:2.8.2 --config.file=/mnt/config/promtail-config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
When finished, `loki-config.yaml` and `promtail-config.yaml` are downloaded in the directory you chose. Docker containers are running Loki and Promtail using those config files.
|
When finished, `loki-config.yaml` and `promtail-config.yaml` are downloaded in the directory you chose. Docker containers are running Loki and Promtail using those config files.
|
||||||
@ -55,6 +55,6 @@ Navigate to http://localhost:3100/metrics to view the output.
|
|||||||
Run the following commands in your command line. They work for Windows or Linux systems.
|
Run the following commands in your command line. They work for Windows or Linux systems.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://raw.githubusercontent.com/grafana/loki/v2.8.0/production/docker-compose.yaml -O docker-compose.yaml
|
wget https://raw.githubusercontent.com/grafana/loki/v2.8.2/production/docker-compose.yaml -O docker-compose.yaml
|
||||||
docker-compose -f docker-compose.yaml up
|
docker-compose -f docker-compose.yaml up
|
||||||
```
|
```
|
||||||
|
@ -6,7 +6,7 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
read:
|
read:
|
||||||
image: grafana/loki:2.8.0
|
image: grafana/loki:2.8.2
|
||||||
command: "-config.file=/etc/loki/config.yaml -target=read"
|
command: "-config.file=/etc/loki/config.yaml -target=read"
|
||||||
ports:
|
ports:
|
||||||
- 3101:3100
|
- 3101:3100
|
||||||
@ -27,7 +27,7 @@ services:
|
|||||||
- loki
|
- loki
|
||||||
|
|
||||||
write:
|
write:
|
||||||
image: grafana/loki:2.8.0
|
image: grafana/loki:2.8.2
|
||||||
command: "-config.file=/etc/loki/config.yaml -target=write"
|
command: "-config.file=/etc/loki/config.yaml -target=write"
|
||||||
ports:
|
ports:
|
||||||
- 3102:3100
|
- 3102:3100
|
||||||
@ -46,7 +46,7 @@ services:
|
|||||||
<<: *loki-dns
|
<<: *loki-dns
|
||||||
|
|
||||||
promtail:
|
promtail:
|
||||||
image: grafana/promtail:2.8.0
|
image: grafana/promtail:2.8.2
|
||||||
volumes:
|
volumes:
|
||||||
- ./promtail-local-config.yaml:/etc/promtail/config.yaml:ro
|
- ./promtail-local-config.yaml:/etc/promtail/config.yaml:ro
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
@ -1532,7 +1532,7 @@ spec:
|
|||||||
- /manager
|
- /manager
|
||||||
env:
|
env:
|
||||||
- name: RELATED_IMAGE_LOKI
|
- name: RELATED_IMAGE_LOKI
|
||||||
value: docker.io/grafana/loki:2.8.0
|
value: docker.io/grafana/loki:2.8.2
|
||||||
- name: RELATED_IMAGE_GATEWAY
|
- name: RELATED_IMAGE_GATEWAY
|
||||||
value: quay.io/observatorium/api:latest
|
value: quay.io/observatorium/api:latest
|
||||||
- name: RELATED_IMAGE_OPA
|
- name: RELATED_IMAGE_OPA
|
||||||
@ -1653,7 +1653,7 @@ spec:
|
|||||||
provider:
|
provider:
|
||||||
name: Grafana Loki SIG Operator
|
name: Grafana Loki SIG Operator
|
||||||
relatedImages:
|
relatedImages:
|
||||||
- image: docker.io/grafana/loki:2.8.0
|
- image: docker.io/grafana/loki:2.8.2
|
||||||
name: loki
|
name: loki
|
||||||
- image: quay.io/observatorium/api:latest
|
- image: quay.io/observatorium/api:latest
|
||||||
name: gateway
|
name: gateway
|
||||||
|
@ -1518,7 +1518,7 @@ spec:
|
|||||||
- /manager
|
- /manager
|
||||||
env:
|
env:
|
||||||
- name: RELATED_IMAGE_LOKI
|
- name: RELATED_IMAGE_LOKI
|
||||||
value: docker.io/grafana/loki:2.8.0
|
value: docker.io/grafana/loki:2.8.2
|
||||||
- name: RELATED_IMAGE_GATEWAY
|
- name: RELATED_IMAGE_GATEWAY
|
||||||
value: quay.io/observatorium/api:latest
|
value: quay.io/observatorium/api:latest
|
||||||
- name: RELATED_IMAGE_OPA
|
- name: RELATED_IMAGE_OPA
|
||||||
@ -1634,7 +1634,7 @@ spec:
|
|||||||
provider:
|
provider:
|
||||||
name: Grafana Loki SIG Operator
|
name: Grafana Loki SIG Operator
|
||||||
relatedImages:
|
relatedImages:
|
||||||
- image: docker.io/grafana/loki:2.8.0
|
- image: docker.io/grafana/loki:2.8.2
|
||||||
name: loki
|
name: loki
|
||||||
- image: quay.io/observatorium/api:latest
|
- image: quay.io/observatorium/api:latest
|
||||||
name: gateway
|
name: gateway
|
||||||
|
@ -9,7 +9,7 @@ spec:
|
|||||||
- name: manager
|
- name: manager
|
||||||
env:
|
env:
|
||||||
- name: RELATED_IMAGE_LOKI
|
- name: RELATED_IMAGE_LOKI
|
||||||
value: docker.io/grafana/loki:2.8.0
|
value: docker.io/grafana/loki:2.8.2
|
||||||
- name: RELATED_IMAGE_GATEWAY
|
- name: RELATED_IMAGE_GATEWAY
|
||||||
value: quay.io/observatorium/api:latest
|
value: quay.io/observatorium/api:latest
|
||||||
- name: RELATED_IMAGE_OPA
|
- name: RELATED_IMAGE_OPA
|
||||||
|
@ -9,7 +9,7 @@ spec:
|
|||||||
- name: manager
|
- name: manager
|
||||||
env:
|
env:
|
||||||
- name: RELATED_IMAGE_LOKI
|
- name: RELATED_IMAGE_LOKI
|
||||||
value: docker.io/grafana/loki:2.8.0
|
value: docker.io/grafana/loki:2.8.2
|
||||||
- name: RELATED_IMAGE_GATEWAY
|
- name: RELATED_IMAGE_GATEWAY
|
||||||
value: quay.io/observatorium/api:latest
|
value: quay.io/observatorium/api:latest
|
||||||
- name: RELATED_IMAGE_OPA
|
- name: RELATED_IMAGE_OPA
|
||||||
|
@ -9,6 +9,6 @@ spec:
|
|||||||
- name: manager
|
- name: manager
|
||||||
env:
|
env:
|
||||||
- name: RELATED_IMAGE_LOKI
|
- name: RELATED_IMAGE_LOKI
|
||||||
value: docker.io/grafana/loki:2.8.0
|
value: docker.io/grafana/loki:2.8.2
|
||||||
- name: RELATED_IMAGE_GATEWAY
|
- name: RELATED_IMAGE_GATEWAY
|
||||||
value: quay.io/observatorium/api:latest
|
value: quay.io/observatorium/api:latest
|
||||||
|
@ -29,7 +29,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: logcli
|
- name: logcli
|
||||||
image: docker.io/grafana/logcli:2.8.0-amd64
|
image: docker.io/grafana/logcli:2.8.2-amd64
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
@ -73,7 +73,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: promtail
|
- name: promtail
|
||||||
image: docker.io/grafana/promtail:2.8.0
|
image: docker.io/grafana/promtail:2.8.2
|
||||||
args:
|
args:
|
||||||
- -config.file=/etc/promtail/promtail.yaml
|
- -config.file=/etc/promtail/promtail.yaml
|
||||||
- -log.level=info
|
- -log.level=info
|
||||||
|
@ -29,7 +29,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: logcli
|
- name: logcli
|
||||||
image: docker.io/grafana/logcli:2.8.0-amd64
|
image: docker.io/grafana/logcli:2.8.2-amd64
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
@ -70,7 +70,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: promtail
|
- name: promtail
|
||||||
image: docker.io/grafana/promtail:2.8.0
|
image: docker.io/grafana/promtail:2.8.2
|
||||||
args:
|
args:
|
||||||
- -config.file=/etc/promtail/promtail.yaml
|
- -config.file=/etc/promtail/promtail.yaml
|
||||||
- -log.level=info
|
- -log.level=info
|
||||||
|
@ -58,7 +58,7 @@ const (
|
|||||||
EnvRelatedImageGateway = "RELATED_IMAGE_GATEWAY"
|
EnvRelatedImageGateway = "RELATED_IMAGE_GATEWAY"
|
||||||
|
|
||||||
// DefaultContainerImage declares the default fallback for loki image.
|
// DefaultContainerImage declares the default fallback for loki image.
|
||||||
DefaultContainerImage = "docker.io/grafana/loki:2.8.0"
|
DefaultContainerImage = "docker.io/grafana/loki:2.8.2"
|
||||||
|
|
||||||
// DefaultLokiStackGatewayImage declares the default image for lokiStack-gateway.
|
// DefaultLokiStackGatewayImage declares the default image for lokiStack-gateway.
|
||||||
DefaultLokiStackGatewayImage = "quay.io/observatorium/api:latest"
|
DefaultLokiStackGatewayImage = "quay.io/observatorium/api:latest"
|
||||||
|
@ -5,7 +5,7 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
loki:
|
loki:
|
||||||
image: grafana/loki:2.8.0
|
image: grafana/loki:2.8.2
|
||||||
ports:
|
ports:
|
||||||
- "3100:3100"
|
- "3100:3100"
|
||||||
command: -config.file=/etc/loki/local-config.yaml
|
command: -config.file=/etc/loki/local-config.yaml
|
||||||
@ -13,7 +13,7 @@ services:
|
|||||||
- loki
|
- loki
|
||||||
|
|
||||||
promtail:
|
promtail:
|
||||||
image: grafana/promtail:2.8.0
|
image: grafana/promtail:2.8.2
|
||||||
volumes:
|
volumes:
|
||||||
- /var/log:/var/log
|
- /var/log:/var/log
|
||||||
command: -config.file=/etc/promtail/config.yml
|
command: -config.file=/etc/promtail/config.yml
|
||||||
|
@ -16,7 +16,7 @@ services:
|
|||||||
# Loki would not have permissions to create the directories.
|
# Loki would not have permissions to create the directories.
|
||||||
# Therefore the init container changes permissions of the mounted directory.
|
# Therefore the init container changes permissions of the mounted directory.
|
||||||
init:
|
init:
|
||||||
image: grafana/loki:2.8.0
|
image: grafana/loki:2.8.2
|
||||||
user: root
|
user: root
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- "chown"
|
- "chown"
|
||||||
@ -73,7 +73,7 @@ services:
|
|||||||
- ./loki/:/var/log/
|
- ./loki/:/var/log/
|
||||||
|
|
||||||
promtail:
|
promtail:
|
||||||
image: grafana/promtail:2.8.0
|
image: grafana/promtail:2.8.2
|
||||||
volumes:
|
volumes:
|
||||||
- ./loki/:/var/log/
|
- ./loki/:/var/log/
|
||||||
- ./config:/etc/promtail/
|
- ./config:/etc/promtail/
|
||||||
@ -115,7 +115,7 @@ services:
|
|||||||
- loki
|
- loki
|
||||||
|
|
||||||
loki-read:
|
loki-read:
|
||||||
image: grafana/loki:2.8.0
|
image: grafana/loki:2.8.2
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/etc/loki/
|
- ./config:/etc/loki/
|
||||||
- ./rules:/loki/rules:ro
|
- ./rules:/loki/rules:ro
|
||||||
@ -138,7 +138,7 @@ services:
|
|||||||
# only needed for interactive debugging with dlv
|
# only needed for interactive debugging with dlv
|
||||||
|
|
||||||
loki-write:
|
loki-write:
|
||||||
image: grafana/loki:2.8.0
|
image: grafana/loki:2.8.2
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/etc/loki/
|
- ./config:/etc/loki/
|
||||||
ports:
|
ports:
|
||||||
|
Reference in New Issue
Block a user