spinframework / spinframework/otel-plugin

issue running `spin otel setup`

Open
#37 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
15
Forks
3
PR merge metrics
No merged PRs in 30d

Description

$ spin otel setup
Pulling and running Spin OpenTelemetry resources...
time="2026-04-02T15:22:35-07:00" level=warning msg="/opt/homebrew/etc/spinframework-spin/plugins/otel/otel-config/compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
 Container otel-config-jaeger-1  Creating
 Container otel-config-jaeger-1  Created
 Container otel-config-prometheus-1  Starting
 Container otel-config-tempo-1  Starting
 Container otel-config-loki-1  Starting
 Container otel-config-jaeger-1  Starting
 Container otel-config-jaeger-1  Started
Error response from daemon: mounts denied:
The path /opt/homebrew/etc/spinframework-spin/plugins/otel/otel-config/loki.yaml is not shared from the host and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.
See https://docs.docker.com/go/mac-file-sharing/ for more info.

Error: exit status 1
Usage:
  otel setup [flags]

Flags:
      --aspire   Use .NET Aspire dashboard as OTel stack
  -h, --help     help for setup

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the spin otel setup entry point and inspect the referenced otel-config/compose.yaml and loki.yaml paths. Reproduce the command on macOS with Docker Desktop, then verify that setup completes without the reported mounts-denied error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.