---
title: Charmhub | Deploy Parca using Charmhub - The Open Operator Collection
description: Deploy the latest version of Parca on any cloud.
url: https://charmhub.io/parca/libraries/parca_config/source-code
---

# Parca

[Canonical Observability](https://charmhub.io/publisher/observability "View all packages from Canonical Observability")

* [Canonical Observability](https://charmhub.io/publisher/observability "View all packages from Canonical Observability")

Platform:

22.04

20.04

stable 128

```
juju deploy parca
```

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

[Toggle side navigation](https://charmhub.io/parca/libraries/parca_config/source-code#drawer)

##

* [*Docstrings*Docstrings](https://charmhub.io/parca/libraries/parca_config)
  [*Code*Source code](https://charmhub.io/parca/libraries/parca_config/source-code)
* + Download

    Fetch library

    ```
    charmcraft fetch-lib
    ```

    [Download parca\_config.py](https://charmhub.io/parca/libraries/parca_config/download)
  + *Last updated*
  + *Revision* Library version 0.7

```
# Copyright 2022 Jon Seager
# See LICENSE file for licensing details.

"""The `parca` machine charm has been deprecated.

This library has been transferred to the `parca-k8s` charm.
If you are using this library, please replace it with the new one:

    charmcraft fetch-lib charms.parca_k8s.v0.parca_config
"""

# The unique Charmhub library identifier, never change it
LIBID = "96af36467bb844d7ab8447058ebbc73a"

# Increment this major API version when introducing breaking changes
LIBAPI = 0

# Increment this PATCH version before using `charmcraft publish-lib` or reset
# to 0 if you are raising the major API version
LIBPATCH = 7

raise ImportError(
    "This library has been migrated to the `parca-k8s` charm. "
    "Delete it and replace it with the equivalent `charms.parca_k8s.v0.parca_config`."
)
```
