fix: report Faro app name as dancefinder-app (#3107)
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:
1 parent
4e243a0d7d
commit
3e4657b665
1 file changed
+1
-1
@@ -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,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user