spinframework/containerd-shim-spin

Output all triggers on app startup

Open

#226 opened on Nov 7, 2024

 (0 comments) (3 reactions) (0 assignees)Rust (30 forks)auto 404
good first issue

Repository metrics

Stars
 (138 stars)
PR merge metrics
 (PR metrics pending)

Description

Right now, the shim only logs the HTTP endpoints available at startup. Ideally it would log information about other triggers that are available. Take for example an app that has 2 HTTP triggered components and 1 mqtt triggered component, the output is simply:

Serving http://0.0.0.0:80
Available Routes:
  api: http://0.0.0.0:80/api
  frontend: http://0.0.0.0:80 (wildcard)

It would be nice to also have information about the other triggers

Contributor guide