---
title: Charmhub | Deploy HTTPRequest Lego provider using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of HTTPRequest Lego provider as a Kubernetes
  Operator on any cloud.
url: https://charmhub.io/httprequest-lego-provider/docs/reference-integrations
---

# HTTPRequest Lego provider

[Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

* [Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

Platform:

stable 51

```
juju deploy httprequest-lego-provider
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://charmhub.io/httprequest-lego-provider)

---

#### Contacts

* [Submit a bug](https://github.com/canonical/httprequest-lego-provider/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# Integrations

### [db](https://charmhub.io/httprequest-lego-provider/docs/reference-integrations#db)

*Interface*: postgresql\_client
*Supported charms*: [postgresql-k8s](https://charmhub.io/postgresql-k8s), [postgresql](https://charmhub.io/postgresql), [pgbouncer-k8s](https://charmhub.io/pgbouncer-k8s)

Database integration is a required relation for the HTTPRequest Lego Provider charm to supply structured data storage for HTTPRequest Lego Provider.

Example db integrate command:

```
juju integrate httprequest-lego-provider postgresql-k8s
```

### [ingress](https://charmhub.io/httprequest-lego-provider/docs/reference-integrations#ingress)

*Interface*: ingress
*Supported charms*: [nginx-ingress-integrator](https://charmhub.io/nginx-ingress-integrator), [traefik-k8s](https://charmhub.io/traefik-k8s), [istio-pilot](https://charmhub.io/istio-pilot), [content-cache-k8s](https://charmhub.io/content-cache-k8s)

Ingress manages external http/https access to services in a kubernetes cluster. Ingress relation through [nginx-ingress-integrator](https://charmhub.io/nginx-ingress-integrator) charm enables additional `blog_hostname` and `use_nginx_ingress_modesec` configurations. Note that the kubernetes cluster must already have an nginx ingress controller already deployed. Documentation to enable ingress in microk8s can be found [here](https://microk8s.io/docs/addon-ingress).

Example ingress integrate command:

```
juju integrate httprequest-lego-provider nginx-ingress-integrator
```

### [metrics-endpoint](https://charmhub.io/httprequest-lego-provider/integrations#metrics-endpoint)

*Interface*: prometheus\_scrape
*Supported charms*: [prometheus-k8s](https://charmhub.io/prometheus-k8s), [grafana-agent-k8s](https://charmhub.io/grafana-agent-k8s)

Metrics-endpoint relation allows scraping the `/metrics` endpoint provided by apache-exporter sidecar on port 9117, which provides apache metrics from apache’s `/server-status` route. This internal apache’s `/server-status` route is not exposed and can only be accessed from within the same Kubernetes pod. The metrics are exposed in the [open metrics format](https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#data-model) and will only be scraped by Prometheus once the relation becomes active. For more information about the metrics exposed, please refer to the apache-exporter [documentation](https://github.com/Lusitaniae/apache_exporter#collectors).

Metrics-endpoint integrate command:

```
juju integrate httprequest-lego-provider prometheus-k8s
```

### [grafana-dashboard](https://charmhub.io/httprequest-lego-provider/docs/reference-integrations#grafana-dashboard)

*Interface*: grafana-dashboard
*Supported charms*: [grafana-k8s](https://charmhub.io/grafana-k8s)

Grafana-dashboard relation enables quick dashboard access already tailored to fit the needs of operators to monitor the charm. To be able to use Grafana dashboards you need to create a `/src/grafana_dashboards/lego.json` file and fill it. For information about how to create a Grafana Dashboard you can check out [Grafana - Create a new dashboard for an existing charm](https://charmhub.io/grafana-k8s/docs/new-dashboard).

Grafana-Prometheus integrate command:
`juju integrate grafana-k8s:grafana-source prometheus-k8s:grafana-source`

Grafana-dashboard integrate command:

```
juju integrate httprequest-lego-provider grafana-dashboard
```

See more information in [Charm Architecture](https://charmhub.io/httprequest-lego-provider/docs/explanation-charm-architecture).

---
