Most of trends rely on the Open Metrics framework; to view these, you must enable metrics and Filebeat in the products that support it:
Supported Products
JFrog Artifactory 7.7 and above
JFrog Xray 3.17.2 and above
JFrog Insight 1.1.1 and above with JFrog Artifactory 7.29.x and above
Enable Metrics
Enable metrics in the system YAML of the product. For more information, see Open Metrics.
To enable metrics in Artifactory, in the Artifactory System YAML make the following changes:
artifactory: metrics: enabled: true
To enable metrics in Xray, in the Xray System YAML make the following configuration changes:
xray: metrics: enabled: true
To enable metrics in Insight, to the Insight System YAML make the following configuration changes:
## Insight scheduler template insight-scheduler: metrics: enabled: true ## Insight server template insight-server: metrics: enabled: true
Note
In the system.yaml
files, the metric parameters are grouped under the term metrics
whereas in the Helm Chart they are grouped under the term openMetrics
.
Enable Filebeat
Allows Filebeat (bundled with the products) to send log and metric data to Elasticsearch.
shared: metrics: enabled: true filebeat: enabled: true elasticsearch: url: <URL_TO_JFMC_ELASTICSEARCH> username: <ELASTICSEARCH_USERNAME> password: <ELASTICSEARCH_PASSWORD>
The Elasticsearch URL should be:
If using the ElasticSearch bundled with JFrog Insight, use the Insight address:
http://<insight-ip>:<insight-port>/elasticsearch
. If you are using JFrog Mission Control, use the JFMC address:http://<jfmc-ip>:<jfmc-port>/elasticsearch
.Example:
http://192.168.2.100:8082/elasticsearch
If using an external ElasticSearch, use the ElasticSearch request port.
Example:
http://10.3.4.2:9200