Skip to content

fix(deps): update module github.com/giantswarm/mcp-toolkit/k8s to v0.2.0 - #379

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-giantswarm-mcp-toolkit-k8s-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-giantswarm-mcp-toolkit-k8s-0.x

Conversation

@renovate

@renovate renovate Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/giantswarm/mcp-toolkit/k8s v0.1.1 → v0.2.0 age confidence

Release Notes

giantswarm/mcp-toolkit (github.com/giantswarm/mcp-toolkit/k8s)

v0.2.0

Added
  • metrics package: metrics.Init(ctx, ...metrics.Option) (Shutdown, error) installs the global OTel MeterProvider. Exporter selected via autoexport.NewMetricReader from OTEL_METRICS_EXPORTER: otlp, prometheus (self-hosted /metrics on OTEL_EXPORTER_PROMETHEUS_HOST:OTEL_EXPORTER_PROMETHEUS_PORT, default localhost:9464), console, none, or comma-separated combinations. The provider pins exemplar.TraceBasedFilter so histogram observations recorded inside a sampled span attach the TraceID.

  • logging.Init(ctx, ...logging.Option) (*slog.Logger, Shutdown, error) installs the global OTel LoggerProvider. When OTEL_EXPORTER_OTLP_LOGS_ENDPOINT, OTEL_EXPORTER_OTLP_ENDPOINT, or OTEL_LOGS_EXPORTER is set, the primary handler is an otelslog.Handler (records emitted inside an active span carry SpanContext natively). Otherwise the handler is JSON (in-pod, auto-detected via KUBERNETES_SERVICE_HOST) or text. Call Logger.Handler() to layer a custom handler on top.

  • logging.WithTraceContextAttrs(slog.Handler) slog.Handler wraps a stdlib slog handler so emitted records carry trace_id and span_id slog.Attrs extracted from the context's active SpanContext. Use on WithExtraHandlers sinks that need trace correlation.

  • Option constructors:

    • tracing.WithServiceName, WithServiceVersion, WithResourceOptions.
    • metrics.WithServiceName, WithServiceVersion, WithViews, WithExemplarFilter, WithResourceOptions.
    • logging.WithFormat, WithLevel, WithOutput, WithLoggerName, WithServiceName, WithServiceVersion, WithExtraHandlers, WithResourceOptions.

    WithResourceOptions accepts resource.Option values appended to the toolkit defaults (semconv ServiceName/Version, Process, OS, Container, FromEnv). WithExemplarFilter accepts exemplar.AlwaysOnFilter / AlwaysOffFilter / any custom exemplar.Filter; there is no OTEL_METRICS_EXEMPLAR_FILTER env var in the OTel spec at v1.x.

Changed
  • Breaking: tracing.Init, metrics.Init, logging.Init use a functional-options API (Init(ctx, ...Option) rather than struct-arg). tracing.Init's prior positional (name, version string) signature is replaced by WithServiceName / WithServiceVersion. The Options / InitOptions structs are removed; Format / FormatAuto / FormatText / FormatJSON stay.
  • Breaking: logging.New is removed. Use logging.Init(context.Background(), ...) for the non-OTLP path.
Fixed
  • tracing.Init: a non-partial resource.New error after autoexport.NewSpanExporter succeeded no longer leaks the exporter's transport (gRPC client, batch goroutine). Closes #​15.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner December 3, 2026 11:43
@renovate renovate Bot added dependencies renovate This is an automated PR by RenovateBot labels Dec 3, 2026
@renovate
renovate Bot requested a review from teemow December 3, 2026 11:43
@circleci-architect

Copy link
Copy Markdown

Published Helm chart cluster-manager

0.40.4-r94aa066dt20261203114258h44fdf8a
Chart cluster-manager
Version 0.40.4-r94aa066dt20261203114258h44fdf8a
OCI reference oci://gsoci.azurecr.io/charts/giantswarm/cluster-manager:0.40.4-r94aa066dt20261203114258h44fdf8a
Digest sha256:e72eeb86519f052d9987e334d17179b91a6d4990628589fe6b8ffc7ecd2c1765
Registry public — gsoci.azurecr.io
Git catalog giantswarm-test-catalog (index)
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/cluster-manager --version 0.40.4-r94aa066dt20261203114258h44fdf8a

Posted by architect-orb · build 5889 · commit 44fdf8a · updated in place on every push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies renovate This is an automated PR by RenovateBot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants