---
title: Charmhub | Deploy Velero Operator Charm using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of Velero Operator Charm on any cloud.
url: https://charmhub.io/velero-operator/docs/integrate-with-cos
---

# Velero Operator Charm

[Kubeflow Charmers](https://charmhub.io/publisher/ckfbot "View all packages from Kubeflow Charmers")

* [Kubeflow Charmers](https://charmhub.io/publisher/ckfbot "View all packages from Kubeflow Charmers")

Platform:

24.04

edge 503

```
juju deploy velero-operator --channel edge
```

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

---

#### Relevant links

* [Homepage](https://github.com/canonical/velero-operator)

---

#### Contacts

* [Submit a bug](https://github.com/canonical/velero-operator/issues)

---

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

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

# Integrate with COS

This guide describes how to integrate Charmed Velero with the [Canonical Observability Stack (COS)](https://charmhub.io/topics/canonical-observability-stack).

## [Requirements](https://charmhub.io/velero-operator/docs/integrate-with-cos#p-37265-requirements)

* A Juju controller bootstrapped on a MicroK8s cloud. Follow [this guide](https://documentation.ubuntu.com/juju/latest/reference/cloud/list-of-supported-clouds/the-microk8s-cloud-and-juju/index.html) for more details.

## [Deploy COS Lite](https://charmhub.io/velero-operator/docs/integrate-with-cos#p-37265-deploy-cos-lite)

Follow [Deploy COS Lite on MicroK8s](https://charmhub.io/topics/canonical-observability-stack/tutorials/install-microk8s) for details on how to set up `cos-lite` on MicroK8s.

Ensure to set up `cos-lite` with [this offers overlay](https://github.com/canonical/cos-lite-bundle/blob/main/overlays/offers-overlay.yaml) so that the COS model is ready for cross-model relations. See —relevant section in the above guide [here](https://charmhub.io/topics/canonical-observability-stack/tutorials/install-microk8s#heading--deploy-the-cos-lite-bundle-with-overlays).

## [Deploy an OpenTelemetry Collector](https://charmhub.io/velero-operator/docs/integrate-with-cos#p-37265-deploy-an-opentelemetry-collector)

You can deploy an OpenTelemetry Collector in the same model as the Charmed Velero.

It is used to scrape Prometheus metrics and export them to Prometheus in the COS model. A [Grafana dashboard](https://grafana.com/grafana/dashboards/16829-kubernetes-tanzu-velero/) and a list of [Prometheus alert rules](https://github.com/vmware-tanzu/helm-charts/blob/d3c3d645a0249d26ad1d7b41b3a53634fd377940/charts/velero/values.yaml#L297) are also shipped with Charmed Velero and OpenTelemetry Collector can export them to COS as well.

To do so, first relate the charms:

```
juju deploy opentelemetry-collector-k8s --channel 2/stable
juju relate opentelemetry-collector-k8s:metrics-endpoint velero-operator:metrics-endpoint
juju relate opentelemetry-collector-k8s:grafana-dashboard-consumer velero-operator:grafana-dashboard
```

See [Opentelemetry Collector documentation](https://charmhub.io/opentelemetry-collector-k8s) for more details.

The required integration is provided by [Juju Offers](https://juju.is/docs/juju/juju-offer). Verify if the offers from the COS model are visible:

```
juju find-offers -m microk8s-controller:cos-model
```

Now add the necessary relations to the `opentelemetry-collector-k8s` charm:

```
juju relate opentelemetry-collector-k8s cos.prometheus-receive-remote-write
juju relate opentelemetry-collector-k8s cos.grafana-dashboards
juju relate opentelemetry-collector-k8s cos.loki-logging
```

## [Check metrics](https://charmhub.io/velero-operator/docs/integrate-with-cos#p-37265-check-metrics)

The metrics are available via `http://10.43.8.34:80/cos-prometheus-0`, which is exposed by COS.

---
