Skip to content

Commit

Permalink
scrape own profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldmitry committed Jan 21, 2025
1 parent 264cda3 commit 0e840f6
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 313 deletions.
301 changes: 0 additions & 301 deletions lib/charms/observability_libs/v0/juju_topology.py

This file was deleted.

4 changes: 2 additions & 2 deletions lib/charms/parca_k8s/v0/parca_scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ def _on_scrape_targets_changed(self, event):
import json
import logging
import socket
from cosl import JujuTopology
from typing import List, Optional, Union

import ops
from charms.observability_libs.v0.juju_topology import JujuTopology

# The unique Charmhub library identifier, never change it
LIBID = "dbc3d2e89cb24917b99c40e14354dd25"
Expand All @@ -184,7 +184,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 = 1
LIBPATCH = 2


logger = logging.getLogger(__name__)
Expand Down
Loading

0 comments on commit 0e840f6

Please sign in to comment.