Skip to content

[Artifactory] OpenMetrics System Yaml Error #1962

@vronnG-dw

Description

@vronnG-dw

Helm Chart 107.104.6
Artifactory version 7.104.6

According to Jfrog Artifactory doc, To enable metrics in Artifactory, add the following values to the Artifactory System YAML file and restart Artifactory for it to take effect:
ref: https://jfrog.com/help/r/jfrog-platform-administration-documentation/open-metrics

shared:
    metrics:
        enabled: true
artifactory:
    metrics:
        enabled: true

but looks like in helm chart doesn't support metrics for artifactory but only for shared.
https://github.com/jfrog/charts/blob/master/stable/artifactory/files/system.yaml#L13C1-L13C46

Verified by installing the helm chart too:
Values:

artifactory:
  metrics:
    enabled: true
    filebeat:
      enabled: true
      elasticsearch:
        url: "http://localhost:8082/elasticsearch"
        username: xxxx
        password: xxxx

System.yaml (removed the unnecessary options, irrelevant of the issue

artifactory:
    database:
        maxOpenConnections: 100
    tomcat:
        connector:
            extraConfig: acceptCount="400"
            maxThreads: 200
            sendReasonPhrase: false
        maintenanceConnector:
            port: 8091
shared:
    metrics:
        enabled: true
        filebeat:
            elasticsearch:
                password: xxx
                url: http://localhost:8082/elasticsearch
                username: xxx
            enabled: true
            log:
                enabled: false
                level: info

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions