Skip to content

Commit 1339d0e

Browse files
authored
Merge pull request #67 from jfrog/PTRENG-6169
PTRENG-6169 - Fix metrics documentation and helm values
2 parents 0108956 + fc94970 commit 1339d0e

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

33
All changes to the log analytics integration will be documented in this file.
44

5+
## [1.0.10] - August 8, 2024
6+
7+
* Fix metrics configuration due to deprication of `artifactory.openMetrics` as part of Artifactory 7.87.x charts and renaming it to `artifactory.metrics`
8+
59
## [1.0.9] - July 22, 2024
610

711
* FluentD sidecar version bumped to 4.5, to upgrade base image to bitnami/fluentd 1.17.0
8-
* Fixing metrics documentation
12+
* Fixing metrics documentation
913

1014
## [1.0.8] - June 7, 2024
1115

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ helm upgrade --install artifactory jfrog/artifactory \
177177
-n $INST_NAMESPACE
178178
```
179179

180-
**If you are installing in the same cluster with the deprecated solution, Use the same namespace as the previous one instead of jfrog-plg above.**
180+
**If you are installing in the same cluster with the deprecated solution, use the same namespace as the previous one instead of jfrog-plg above.**
181+
182+
:bulb: Metrics collection is disabled by default in Artifactory. Please make sure that you are enabling them in Artifactory by setting `artifactory.metrics.enabled` to `true` in your [helm values file](helm/artifactory-values.yaml). For Artifactory versions <=7.86.x, please instead set the flag `artifactory.openMetrics.enabled` to `true`
181183

182184
Artifactory-HA ⎈:
183185

@@ -194,6 +196,9 @@ helm upgrade --install artifactory-ha jfrog/artifactory-ha \
194196
```
195197

196198
**💡Note: If you are installing in the same cluster with the deprecated solution, Use the same namespace as the previous one instead of jfrog-plg above.**
199+
200+
:bulb: Metrics collection is disabled by default in Artifactory-HA. Please make sure that you are enabling them in Artifactory by setting `artifactory.metrics.enabled` to `true` in your [helm values file](helm/artifactory-ha-values.yaml). For Artifactory versions <=7.86.x, please instead set the flag `artifactory.openMetrics.enabled` to `true`
201+
197202
Note the above examples are only references you will need additional parameters to configure TLS, binary blob storage, or other common Artifactory features.
198203

199204
This will complete the necessary configuration for Artifactory and expose a new service monitor `servicemonitor-artifactory` to expose metrics to Prometheus.

helm/artifactory-ha-values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ global:
66
release_name: prometheus
77
installerInfo: '{ "productId": "Helm_prometheus_artifactory/{{ .Chart.Version }}", "features": [ { "featureId": "ArtifactoryVersion/{{ default .Chart.AppVersion .Values.artifactory.image.version }}" }, { "featureId": "{{ if .Values.postgresql.enabled }}postgresql{{ else }}{{ .Values.database.type }}{{ end }}/0.0.0" }, { "featureId": "Platform/{{ default "kubernetes" .Values.installer.platform }}" }, { "featureId": "Channel/Helm_prometheus_artifactory" } ] }'
88
artifactory:
9-
openMetrics:
9+
# For Artifactory versions <= 7.86.x please use artifactory.openMetrics.enabled instead of artifactory.metrics.enabled
10+
metrics:
1011
enabled: true
1112
customInitContainersBegin: |
1213
- name: "prepare-fluentd-conf-on-persistent-volume"

helm/artifactory-values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ global:
66
release_name: prometheus
77
installerInfo: '{ "productId": "Helm_prometheus_artifactory/{{ .Chart.Version }}", "features": [ { "featureId": "ArtifactoryVersion/{{ default .Chart.AppVersion .Values.artifactory.image.version }}" }, { "featureId": "{{ if .Values.postgresql.enabled }}postgresql{{ else }}{{ .Values.database.type }}{{ end }}/0.0.0" }, { "featureId": "Platform/{{ default "kubernetes" .Values.installer.platform }}" }, { "featureId": "Channel/Helm_prometheus_artifactory" } ] }'
88
artifactory:
9-
openMetrics:
9+
# For Artifactory versions <= 7.86.x please use artifactory.openMetrics.enabled instead of artifactory.metrics.enabled
10+
metrics:
1011
enabled: true
1112
customInitContainersBegin: |
1213
- name: "prepare-fluentd-conf-on-persistent-volume"

0 commit comments

Comments
 (0)