You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Copyright 2022 Canonical Ltd.# See LICENSE file for licensing details.name: tempo-coordinator-k8stype: charmassumes:
- k8s-api# Juju 3.4.0 needed for pebble notify
- juju >= 3.4.0description: | Tempo is a distributed tracing backend by Grafana, supporting Jaeger, Zipkin, and OpenTelemetry protocols.summary: | Tempo is a distributed tracing backend by Grafana.containers:
nginx:
resource: nginx-imagenginx-prometheus-exporter:
resource: nginx-prometheus-exporter-imageresources:
nginx-image:
type: oci-imagedescription: OCI image for nginxupstream-source: ubuntu/nginx:1.24-24.04_betanginx-prometheus-exporter-image:
type: oci-imagedescription: OCI image for nginx-prometheus-exporterupstream-source: nginx/nginx-prometheus-exporter:1.1.0links:
documentation: https://discourse.charmhub.io/t/tempo-coordinator-k8s-docs-index/15419website: https://charmhub.io/tempo-coordinator-k8ssource: https://github.com/canonical/tempo-coordinator-k8s-operatorissues: https://github.com/canonical/tempo-coordinator-k8s-operator/issuesprovides:
tempo-cluster:
interface: tempo_clusterdescription: | Connect any number of tempo-worker-k8s charms to cluster the Tempo components off to different nodes.grafana-dashboard:
interface: grafana_dashboarddescription: | Forwards the built-in grafana dashboard(s) for monitoring Tempo.grafana-source:
interface: grafana_datasourcedescription: | Configures Grafana to be able to use this Tempo instance as a datasource.metrics-endpoint:
interface: prometheus_scrapedescription: | Exposes the Prometheus metrics endpoint providing telemetry about the Tempo instance.tracing:
interface: tracingdescription: | Integration to offer other charms the possibility to send traces to Tempo.requires:
self-tracing:
interface: tracingdescription: | Integration to enable Tempo to send its own traces to another Tempo instance.limit: 1s3:
interface: s3limit: 1description: | Obtains access to the s3 bucket for data storage.logging:
interface: loki_push_apidescription: | Integration with Loki to push Tempo logs to the observability stack.ingress:
interface: traefik_routedescription: | Ingress integration for Tempo server and Tempo receiver endpoints, so that cross-model workloads can send their traces to Tempo through the ingress. Uses `traefik_route` to open ports on Traefik host for tracing ingesters.certificates:
interface: tls-certificateslimit: 1description: | Certificate and key files for securing Tempo internal and external communications with TLS.send-remote-write:
interface: prometheus_remote_writedescription: | Prometheus-like remote write endpoints to push traces' metrics generated by the `metrics-generator` component.storage:
data:
type: filesystemlocation: /tempo-dataactions:
list-receivers:
description: | Returns a list of all enabled receiver endpoints.peers:
peers:
interface: tempo_peersdescription: | peer relation for internal coordinationbases:
- build-on:
- name: "ubuntu"channel: "22.04"run-on:
- name: "ubuntu"channel: "22.04"parts:
charm:
build-snaps:
- rustup
- astral-uvoverride-build: | rustup toolchain install stable make generate-requirements craftctl default# uncomment this if you add git+ dependencies in requirements.txt# build-packages:# - "git"charm-binary-python-packages:
- "pydantic>=2"
- "cryptography"
- "jsonschema"
- "opentelemetry-exporter-otlp-proto-http==1.21.0"prime:
- -*.charm
- -spread.yaml
- -rockcraft.yaml
- -.venv
- -CONTRIBUTING.md
- -Makefile
- -pyproject.toml
- -README.md
- -requirements-dev.txt
- -scripts/
- -tests/
- -uv.lock
- -*.egg-infoconfig:
options:
retention-period:
description: | Maximum trace retention period, in hours. This will be used to configure the compactor to clean up trace data after this time. Defaults to 720 hours, which is equivalent to 30 days. Per-stream retention limits are currently not supported.type: intdefault: 720always_enable_zipkin:
description:
Force-enable the receiver for the 'zipkin' protocol in Tempo, even if there is no integration currentlyrequesting it.type: booleandefault: falsealways_enable_otlp_grpc:
description:
Force-enable the receiver for the 'otlp_grpc' protocol in Tempo, even if there is no integration currentlyrequesting it.type: booleandefault: falsealways_enable_otlp_http:
description:
Force-enable the receiver for the 'otlp_http' protocol in Tempo, even if there is no integration currentlyrequesting it.type: booleandefault: falsealways_enable_jaeger_thrift_http:
description:
Force-enable the receiver for the 'jaeger_thrift_http' protocol in Tempo, even if there is no integrationcurrently requesting it.type: booleandefault: falsealways_enable_jaeger_grpc:
description:
Force-enable the receiver for the 'jaeger_grpc' protocol in Tempo, even if there is no integration currentlyrequesting it.type: booleandefault: falsecpu_limit:
description: | K8s cpu resource limit, e.g. "1" or "500m". Default is unset (no limit). This value is used for the "limits" portion of the resource requirements. See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/type: stringmemory_limit:
description: | K8s memory resource limit, e.g. "1Gi". Default is unset (no limit). This value is used for the "limits" portion of the resource requirements. See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/type: string
Relevant log output
❯ charmcraft pack --format json tempo-coordinator-k8s-operator
IMPORTANT: The behaviour of the 'prime' keyword has changed in Charmcraft 3. This keyword will no longer add files that would otherwise be excluded from the charm, instead filtering existing files. Additional files may be added using the 'dump' plugin.
To include extra files, see: https://juju.is/docs/sdk/include-extra-files-in-a-charm
Packed tempo-coordinator-k8s_ubuntu-22.04-amd64.charm
The text was updated successfully, but these errors were encountered:
Bug Description
To Reproduce
charmcraft pack --format json
Environment
installed: 3.2.1 (4914) 61MB classic
charmcraft.yaml
Relevant log output
The text was updated successfully, but these errors were encountered: