Skip to content

How do I run the exporter on my Azure Devops? #70

@carloscancian

Description

@carloscancian

Hi, I'm running Prometheus on Docker, I've already put the settings in my prometheus.yml file below:

global:
scrape_interval: 15s
evaluation_interval: 15s

alerting:
alertmanagers:
- static_configs:
- targets:

'evaluation_interval'.
rule_files:

- "first_rules.yml"

- "second_rules.yml"

  • job_name: "prometheus"

    static_configs:

    • targets: ["localhost:9090"]
  • job_name: azure-devops-exporter
    honor_timestamps: true
    scrape_interval: 1m
    scrape_timeout: 10s
    metrics_path: /metrics
    scheme: http
    static_configs:

    • targets:
      • prometheus-azure-devops-exporter.default.svc:8080

Variables by examples
AZURE_DEVOPS_URL= https://dev.azure.com/company

Should I add these variables to the Prometheus container settings before running?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions