# Feature OP-16325 - Export metrics in prometheus format

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-16325

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 16.0.0 |
| Sprint | 16.0.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a instance / system admin  
**I want to** read service metrics from prometheus  
**so that** I can better monitor the service.

**Acceptance criteria**

*   Have an endpoint that returns a list of metrics that an external tool may easily scrape
    
*   Have an option to export on a dedicated port
    

I believe this would be a good addition as on one hand it is very easy to implement, the way prometheus metrics are &quot;exported&quot; is basically just a metric name followed by a value, per line. On the other hand, it is very easy to collect the metrics and if you do not use prometheus it is also very easy to re-use data from that endpoint. Last but not least, it is very easily extendible and if you look around, there is a growing number of projects natively offering to export metrics in prometheus format.
