how to send metrics data from jenkins to signoz?
# support
s
how to send metrics data from jenkins to signoz?
a
1. You can install the prometheus plugin in jenkins. 2. Create a user (to use in scrape config with basic auth) and give it the necessary permission to view metrics/health 3. Then, scrape the metrics, use the following scrape config in signoz.
Copy code
- job_name: 'jenkins'
metrics_path: /prometheus
scheme: http
tls_config:
  insecure_skip_verify: true
static_configs:
  - targets: ['company.jenkins.com:8080']
basic_auth:
  username: 'JohnDoe@gmail.com'
  password: 'abc123'
s
Does this work with the otel collector or do I need a running prometheus?
a
You don't need prometheus. Just create a scrape config in otel collector.
s
Cool I'll try that