Skip to content

Commit

Permalink
Update code references for v0.35.3 patch release (#4767)
Browse files Browse the repository at this point in the history
Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com>
  • Loading branch information
tpaschalis committed Aug 9, 2023
1 parent f8ea4df commit 0be02ad
Show file tree
Hide file tree
Showing 16 changed files with 35 additions and 30 deletions.
21 changes: 13 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,8 @@ Main (unreleased)
- Flow: Allow the `logging` configuration block to tee the Agent's logs to one
or more loki.* components. (@tpaschalis)

- Clustering: Nodes take part in distributing load only after loading their
component graph. (@tpaschalis)

- Allow `loki.source.file` to define the encoding of files. (@tpaschalis)

- Enable graceful termination when receiving SIGTERM/CTRL_SHUTDOWN_EVENT
signals. (@tpaschalis)

- Added support for `promtail` configuration conversion in `grafana-agent convert` and `grafana-agent run` commands. (@thampiotr)

- Flow: Add a new stage `non_indexed_labels` to attach non-indexed labels from extracted data to log line entry. (@vlad-diachenko)
Expand Down Expand Up @@ -70,15 +64,26 @@ Main (unreleased)

- Fix potential goroutine leak in log file tailing in static mode. (@thampiotr)

- Fix a bug which prevented the `app_agent_receiver` integration from processing traces. (@ptodev)

- Fix issue on Windows where DNS short names were unresolvable. (@rfratto)

v0.35.3 (2023-08-09)
--------------------

### Bugfixes

- Fix a bug which prevented the `app_agent_receiver` integration from processing traces. (@ptodev)

- (Agent static mode) Jaeger remote sampling works again, through a new `jaeger_remote_sampling`
entry in the traces config. It is no longer configurable through the jaeger receiver.
Support Jaeger remote sampling was removed accidentally in v0.35, and it is now restored,
albeit via a different config entry.

- Clustering: Nodes take part in distributing load only after loading their
component graph. (@tpaschalis)

- Fix graceful termination when receiving SIGTERM/CTRL_SHUTDOWN_EVENT
signals. (@tpaschalis)

v0.35.2 (2023-07-27)
--------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/sources/operator/deploy-agent-operator-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ To deploy the `GrafanaAgent` resource:
labels:
app: grafana-agent
spec:
image: grafana/agent:v0.35.2
image: grafana/agent:v0.35.3
integrations:
selector:
matchLabels:
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/operator/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ To install Agent Operator:
serviceAccountName: grafana-agent-operator
containers:
- name: operator
image: grafana/agent-operator:v0.35.2
image: grafana/agent-operator:v0.35.3
args:
- --kubelet-service=default/kubelet
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ docker run \
-v "/proc:/host/proc:ro,rslave" \
-v /tmp/agent:/etc/agent \
-v /path/to/config.yaml:/etc/agent-config/agent.yaml \
grafana/agent:v0.35.2 \
grafana/agent:v0.35.3 \
--config.file=/etc/agent-config/agent.yaml
```

Expand Down Expand Up @@ -69,7 +69,7 @@ metadata:
name: agent
spec:
containers:
- image: grafana/agent:v0.35.2
- image: grafana/agent:v0.35.3
name: agent
args:
- --config.file=/etc/agent-config/agent.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ docker run \
-v "/proc:/proc:ro" \
-v /tmp/agent:/etc/agent \
-v /path/to/config.yaml:/etc/agent-config/agent.yaml \
grafana/agent:v0.35.2 \
grafana/agent:v0.35.3 \
--config.file=/etc/agent-config/agent.yaml
```

Expand All @@ -38,7 +38,7 @@ metadata:
name: agent
spec:
containers:
- image: grafana/agent:v0.35.2
- image: grafana/agent:v0.35.3
name: agent
args:
- --config.file=/etc/agent-config/agent.yaml
Expand Down
4 changes: 2 additions & 2 deletions docs/sources/static/set-up/install/install-agent-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ To run a Grafana Agent Docker container on Linux, run the following command in a
docker run \
-v WAL_DATA_DIRECTORY:/etc/agent/data \
-v CONFIG_FILE_PATH:/etc/agent/agent.yaml \
grafana/agent:v0.35.2
grafana/agent:v0.35.3
```

Replace `CONFIG_FILE_PATH` with the configuration file path on your Linux host system.
Expand All @@ -50,7 +50,7 @@ To run a Grafana Agent Docker container on Windows, run the following command in
docker run ^
-v WAL_DATA_DIRECTORY:C:\etc\grafana-agent\data ^
-v CONFIG_FILE_PATH:C:\etc\grafana-agent ^
grafana/agent:v0.35.2-windows
grafana/agent:v0.35.3-windows
```

Replace the following:
Expand Down
2 changes: 1 addition & 1 deletion pkg/operator/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package operator

// Supported versions of the Grafana Agent.
var (
DefaultAgentVersion = "v0.35.2"
DefaultAgentVersion = "v0.35.3"
DefaultAgentBaseImage = "grafana/agent"
DefaultAgentImage = DefaultAgentBaseImage + ":" + DefaultAgentVersion
)
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/agent-bare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.35.2
image: grafana/agent:v0.35.3
imagePullPolicy: IfNotPresent
name: grafana-agent
ports:
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/agent-loki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.35.2
image: grafana/agent:v0.35.3
imagePullPolicy: IfNotPresent
name: grafana-agent-logs
ports:
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/agent-traces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/agent:v0.35.2
image: grafana/agent:v0.35.3
imagePullPolicy: IfNotPresent
name: grafana-agent-traces
ports:
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/build/lib/version.libsonnet
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'grafana/agent:v0.35.2'
'grafana/agent:v0.35.3'
4 changes: 2 additions & 2 deletions production/kubernetes/build/templates/operator/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ local ksm = import 'kube-state-metrics/kube-state-metrics.libsonnet';
local this = self,

_images:: {
agent: 'grafana/agent:v0.35.2',
agent_operator: 'grafana/agent-operator:v0.35.2',
agent: 'grafana/agent:v0.35.3',
agent_operator: 'grafana/agent-operator:v0.35.3',
ksm: 'registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.5.0',
},

Expand Down
4 changes: 2 additions & 2 deletions production/operator/templates/agent-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ spec:
containers:
- args:
- --kubelet-service=default/kubelet
image: grafana/agent-operator:v0.35.2
image: grafana/agent-operator:v0.35.3
imagePullPolicy: IfNotPresent
name: grafana-agent-operator
serviceAccount: grafana-agent-operator
Expand Down Expand Up @@ -436,7 +436,7 @@ metadata:
name: grafana-agent
namespace: ${NAMESPACE}
spec:
image: grafana/agent:v0.35.2
image: grafana/agent:v0.35.3
integrations:
selector:
matchLabels:
Expand Down
4 changes: 2 additions & 2 deletions production/tanka/grafana-agent/v1/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ local service = k.core.v1.service;
(import './lib/traces.libsonnet') +
{
_images:: {
agent: 'grafana/agent:v0.35.2',
agentctl: 'grafana/agentctl:v0.35.2',
agent: 'grafana/agent:v0.35.3',
agentctl: 'grafana/agentctl:v0.35.3',
},

// new creates a new DaemonSet deployment of the grafana-agent. By default,
Expand Down
4 changes: 2 additions & 2 deletions production/tanka/grafana-agent/v2/internal/base.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ function(name='grafana-agent', namespace='') {
local this = self,

_images:: {
agent: 'grafana/agent:v0.35.2',
agentctl: 'grafana/agentctl:v0.35.2',
agent: 'grafana/agent:v0.35.3',
agentctl: 'grafana/agentctl:v0.35.3',
},
_config:: {
name: name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function(
) {
local _config = {
api: error 'api must be set',
image: 'grafana/agentctl:v0.35.2',
image: 'grafana/agentctl:v0.35.3',
schedule: '*/5 * * * *',
configs: [],
} + config,
Expand Down

0 comments on commit 0be02ad

Please sign in to comment.