Skip to content

Commit 148b051

Browse files
authored
Merge branch 'master' into docs/improve-collector-documentation-v2
2 parents 47c7383 + 0413911 commit 148b051

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+456
-71
lines changed

.github/workflows/nr-k8s-otel-e2e.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
kubernetes version: ${{ env.LATEST_K8S_VERSION }}
3333
# default driver doesn't support 'eval $$(minikube docker-env)'.
3434
driver: docker
35+
container runtime: containerd
3536
github token: ${{ secrets.GITHUB_TOKEN }}
3637
- name: Run e2e-test
3738
uses: newrelic/newrelic-integration-e2e-action@v1

charts/agent-control-bootstrap/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: agent-control-bootstrap
33
description: Bootstraps New Relic' Agent Control
44

55
type: application
6-
version: 1.4.1
6+
version: 1.6.0
77
# agent-control-deployment chart default version.
8-
appVersion: 1.4.1
8+
appVersion: 1.6.0
99
annotations:
1010
# agent-control-cd chart default version.
1111
agentControlCdVersion: 1.0.0

charts/agent-control-bootstrap/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fullnameOverride: ""
77
toolkitImage:
88
registry:
99
repository: newrelic/newrelic-agent-control-cli
10-
tag: "1.9.1"
10+
tag: "1.10.0"
1111
pullPolicy: IfNotPresent
1212
# -- The secrets that are needed to pull images from a custom registry.
1313
pullSecrets: []

charts/agent-control-deployment/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: A Helm chart to install New Relic Agent Control on Kubernetes
44

55
type: application
66

7-
version: 1.4.1
8-
appVersion: "1.9.1"
7+
version: 1.6.0
8+
appVersion: "1.11.0"
99

1010
dependencies:
1111
- name: common-library

charts/agent-control-deployment/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ systemIdentity:
264264

265265
image:
266266
repository: newrelic/agent-control-system-identity-registration
267-
tag: "0.1.3"
267+
tag: "0.1.4"
268268
pullPolicy: IfNotPresent
269269

270270
# -- Configuration for the parent identity

charts/newrelic-logging/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
description: A Helm chart to deploy New Relic Kubernetes Logging as a DaemonSet, supporting both Linux and Windows nodes and containers
33
name: newrelic-logging
4-
version: 1.34.0
5-
appVersion: 3.2.1
4+
version: 1.35.0
5+
appVersion: 3.4.0
66
home: https://github.com/newrelic/kubernetes-logging
77
icon: https://newrelic.com/assets/newrelic/source/NewRelic-logo-square.svg
88
maintainers:

charts/newrelic-logging/tests/images_test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ tests:
1717
asserts:
1818
- equal:
1919
path: spec.template.spec.containers[0].image
20-
value: docker.io/newrelic/newrelic-fluentbit-output:3.2.1
20+
value: docker.io/newrelic/newrelic-fluentbit-output:3.4.0
2121
template: templates/daemonset.yaml
2222
- equal:
2323
path: spec.template.spec.containers[0].image
24-
value: docker.io/newrelic/newrelic-fluentbit-output:3.2.1-windows-ltsc-2019
24+
value: docker.io/newrelic/newrelic-fluentbit-output:3.4.0-windows-ltsc-2019
2525
template: templates/daemonset-windows.yaml
2626
documentIndex: 0
2727
- equal:
2828
path: spec.template.spec.containers[0].image
29-
value: docker.io/newrelic/newrelic-fluentbit-output:3.2.1-windows-ltsc-2022
29+
value: docker.io/newrelic/newrelic-fluentbit-output:3.4.0-windows-ltsc-2022
3030
template: templates/daemonset-windows.yaml
3131
documentIndex: 1
3232
- it: global registry is used if set

charts/nr-ebpf-agent/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 1.2.2
16+
version: 1.3.0
1717

1818
dependencies:
1919
- name: common-library
@@ -23,7 +23,7 @@ dependencies:
2323
# incremented each time you make changes to the application. Versions are not expected to
2424
# follow Semantic Versioning. They should reflect the version the application is using.
2525
# It is recommended to use it with quotes.
26-
appVersion: "1.2.2"
26+
appVersion: "1.3.0"
2727
home: https://github.com/newrelic/helm-charts
2828
sources:
2929
- https://github.com/newrelic/

charts/nr-ebpf-agent/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Options that can be defined globally include `affinity`, `nodeSelector`, `tolera
107107
| apmDataFilters.dropPodLabels | object | `{}` | Pod labels to match for filtering APM data. Empty map means no label-based filtering. (Example: dropPodLabels: `{ "app": "frontend", "env": "production" }`) |
108108
| apmDataFilters.dropEntityName | list | `[]` | List of entity names to drop ebpf APM data.|
109109
| apmDataFilters.keepEntityName | list | `[]` | List of entity names to always keep APM data. By default all entities are kept/enabled. This config bypasses `dropEntityName` filter. |
110+
| apmDataFilters.jvmMetricsReporting | bool | `true` | Enable JVM Metrics Reporting. |
110111
| cluster | string | `""` | Name of the Kubernetes cluster to be monitored. Mandatory. Can be configured with `global.cluster` |
111112
| containerSecurityContext | object | `{}` | Sets all pods' containerSecurityContext. Can be configured also with `global.securityContext.container` |
112113
| customSecretLicenseKey | string | `""` | In case you don't want to have the license key in your values, this allows you to point to which secret key is the license key located. Can be configured also with `global.customSecretLicenseKey` |
@@ -129,6 +130,12 @@ Options that can be defined globally include `affinity`, `nodeSelector`, `tolera
129130
| kubernetesClusterDomain | string | `"cluster.local"` | Kubernetes cluster domain. |
130131
| labels | object | `{}` | Additional labels for chart objects. |
131132
| licenseKey | string | `""` | The license key to use. Can be configured with `global.licenseKey` |
133+
| logDataFilters.applicationReporting.enabled | bool | `true` | Enable logs collection from the entities matching the filters below. |
134+
| logDataFilters.applicationReporting.fileRegex | string | `".*\\.log$"` | Regex to match log file names to include. |
135+
| logDataFilters.applicationReporting.keepFileEntityRegex | string | `".*"` | Regex to match entity names to keep logs from log files. |
136+
| logDataFilters.applicationReporting.keepStdEntityRegex | string | `".*"` | Regex to match entity names to keep logs from stdout and stderr. |
137+
| logDataFilters.applicationReporting.maxSamplePerMinute | int | `10000` | Maximum number of log samples to collect per minute from an entity. |
138+
| logReporting | bool | `true` | Enable log reporting. When enabled, the agent collects and reports logs from entities. |
132139
| networkMetricsDataFilter.dropPodLabels | object | `{}` | Pod labels to match for filtering Network metrics data. Empty map means no label-based filtering. (Example: dropPodLabels: `{ "app": "frontend", "env": "production" }`) |
133140
| networkMetricsDataFilter.dropEntityName | list | `[]` | List of entity names to drop Network metrics data for |
134141
| networkMetricsDataFilter.keepEntityName | list | `[]` | List of entity names to always keep Network metrics data. By default all entities are kept/enabled. This config bypasses `dropEntityName` filter. |

charts/nr-ebpf-agent/templates/_helpers.tpl

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,30 @@ Extracts version from image tag and compares using semver
120120
{{- end -}}
121121
{{- end -}}
122122

123+
{{/*
124+
Select the init container image for kernel header installation.
125+
On OpenShift, automatically resolves the driver-toolkit image from the cluster's ImageStream,
126+
which contains pre-built kernel headers matching the RHCOS kernel.
127+
*/}}
128+
{{- define "nr-ebpf-agent.initContainerImage" -}}
129+
{{- $dtkImage := "" -}}
130+
{{- if .Capabilities.APIVersions.Has "image.openshift.io/v1" -}}
131+
{{- $is := (lookup "image.openshift.io/v1" "ImageStream" "openshift" "driver-toolkit") -}}
132+
{{- if $is -}}
133+
{{- range $is.spec.tags -}}
134+
{{- if eq .name "latest" -}}
135+
{{- $dtkImage = .from.name -}}
136+
{{- end -}}
137+
{{- end -}}
138+
{{- end -}}
139+
{{- end -}}
140+
{{- if $dtkImage -}}
141+
{{- $dtkImage -}}
142+
{{- else -}}
143+
{{- printf "%s:agent-base-image-latest" .Values.ebpfAgent.image.repository -}}
144+
{{- end -}}
145+
{{- end -}}
146+
123147
{{/*
124148
Validate the user inputted quantile when sampling by latency.
125149
*/}}

0 commit comments

Comments
 (0)