Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
add service name -charm prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroPasotti committed Jun 18, 2024
1 parent 6250468 commit e0c901d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/charms/tempo_k8s/v1/charm_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ def wrap_init(self: CharmBase, framework: Framework, *args, **kwargs):
# self.handle = Handle(None, self.handle_kind, None)

original_event_context = framework._event_context

_service_name = service_name or self.app.name
# default service name isn't just app name because it could conflict with the workload service name
_service_name = service_name or f"{self.app.name}-charm"

resource = Resource.create(
attributes={
Expand Down

0 comments on commit e0c901d

Please sign in to comment.