---
title: "PE - Configuring Prometheus Exporter for Confluence Lite"
canonical: "https://support.appfire.com/space/PE/14680384/PE%20-%20Configuring%20Prometheus%20Exporter%20for%20Confluence%20Lite"
format: markdown
---
> Macro (aura-html)

## Configuring a secret token (recommended)

> ❌ **Warning**
> ❌ 
> ❌ Note that this plugin publicly exposes some sensitive data by default. The metrics page exposes the usernames for who logged in last, who was the last editing pages and so on. We recommend that you enable token protection to make sure the public cannot view usernames.

To configure a secret token:

1. Log into your Confluence as Admin.
2. Go to Confluence Administration and click **Prometheus Exporter Settings**.   
The **Prometheus Exporter Settings** page opens.
3. Generate or create a token**. **We recommend to use 128 characters.  
  
** **> Macro (inline-external-image)
4. Use this secret token in the following **scrape_configs** inside the **prometheus.yml** configuration file:
  **prometheus.yml**