fix: report Faro app name as dancefinder-app (#3107)
dancefinder-app / build (push) Successful in 46s
dancefinder-app / deploy-prod-frostmoln (push) Successful in 57s

Faro reported the app as `Shiny Frontend` (copied from Shiny). Dancefinder's browser logs and traces would then mix with Shiny's in VictoriaLogs/VictoriaTraces once shiny/frontend#3778 moves to faro.unbound.se.

- `app.name`: `Shiny Frontend` → `dancefinder-app`. This follows the backend convention, where the OTel `service.name` is the repo name (`dancefinder`).
- `version` (`1.0.0`, the same as package.json) and `environment` (`config.name`) are unchanged.

`npm run lint` passes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01VSC7dLAgao1afzL5DQfH8F
Reviewed-on: #3107
This commit was merged in pull request #3107.
This commit is contained in:
argoyle committed 2026-10-18 19:46:28 +00:00
1 parent 4e243a0d7d
commit 3e4657b665
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ export default defineNuxtPlugin((nuxtApp) => {
if (config.grafanaUrl) {
const faro = initializeFaro({
app: {
name: 'Shiny Frontend',
name: 'dancefinder-app',
version: '1.0.0',
environment: config.name,
},