Skip to content

Commit

Permalink
Fix links in docstrings (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
beliaev-maksim authored Dec 15, 2022
1 parent 1a25f57 commit e279964
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lib/charms/prometheus_k8s/v0/prometheus_remote_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
This library facilitates the integration of the prometheus_remote_write interface.
Source code can be found on GitHub at:
https://github.com/canonical/prometheus-k8s-operator/tree/main/lib/charms/prometheus_k8s
Charms that need to push data to a charm exposing the Prometheus remote_write API,
should use the `PrometheusRemoteWriteConsumer`. Charms that operate software that exposes
the Prometheus remote_write API, that is, they can receive metrics data over remote_write,
Expand Down Expand Up @@ -42,7 +45,7 @@

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


logger = logging.getLogger(__name__)
Expand Down
9 changes: 7 additions & 2 deletions lib/charms/prometheus_k8s/v0/prometheus_scrape.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
"""Source code can be found on GitHub at canonical/observability-libs/lib/charms/observability_libs.
"""Prometheus Scrape Library.
## Overview
Expand All @@ -13,6 +13,11 @@
shared between Prometheus charms and any other charm that intends to
provide a scrape target for Prometheus.
## Source code
Source code can be found on GitHub at:
https://github.com/canonical/prometheus-k8s-operator/tree/main/lib/charms/prometheus_k8s
## Dependencies
Using this library requires you to fetch the juju_topology library from
Expand Down Expand Up @@ -354,7 +359,7 @@ def _on_scrape_targets_changed(self, event):

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

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit e279964

Please sign in to comment.