Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add browser timing metrics #263

Merged
merged 20 commits into from Aug 31, 2021
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 4 additions & 5 deletions default.json
Expand Up @@ -19,9 +19,7 @@
},
"rendering": {
"chromeBin": null,
"args": [
"--no-sandbox"
],
"args": ["--no-sandbox"],
"ignoresHttpsErrors": false,

"timezone": null,
Expand All @@ -40,6 +38,7 @@
},

"verboseLogging": false,
"dumpio": false
"dumpio": false,
"timingMetrics": false
}
}
}
12 changes: 5 additions & 7 deletions dev.json
Expand Up @@ -19,10 +19,7 @@
},
"rendering": {
"chromeBin": null,
"args": [
"--no-sandbox",
"--disable-setuid-sandbox"
],
"args": ["--no-sandbox", "--disable-setuid-sandbox"],
"ignoresHttpsErrors": false,

"timezone": null,
Expand All @@ -40,7 +37,8 @@
"maxConcurrency": 5
},

"verboseLogging": false,
"dumpio": true
"verboseLogging": true,
"dumpio": false,
"timingMetrics": true
}
}
}
2 changes: 1 addition & 1 deletion devenv/docker/custom-config/docker-compose.yaml
Expand Up @@ -14,4 +14,4 @@ services:
ports:
- 8081
volumes:
- ./config.json:/usr/src/app/config.json
- ./config.json:/usr/share/grafana/config.json
6 changes: 3 additions & 3 deletions devenv/docker/ha/config.json
Expand Up @@ -2,7 +2,7 @@
"service": {
"port": 8081,
"metrics": {
"enabled": false,
"enabled": true,
"collectDefaultMetrics": true,
"requestDurationBuckets": [1, 5, 7, 9, 11, 13, 15, 20, 30]
}
Expand All @@ -11,11 +11,11 @@
"timezone": null,
"chromeBin": null,
"ignoresHttpsErrors": false,
"timingMetrics": true,
"mode": "default",
"clustering": {
"mode": "browser",
"maxConcurrency": 5
}
},
"timingMetrics": true
}
}
2 changes: 1 addition & 1 deletion devenv/docker/ha/docker-compose.yaml
Expand Up @@ -65,13 +65,13 @@ services:
renderer:
image: grafana/grafana-image-renderer:${RENDERER_VERSION}
volumes:
- ./config.json:/usr/src/app/config.json
environment:
- VIRTUAL_HOST=renderer.loc
- ENABLE_METRICS=true
- RENDERING_MODE=${RENDERING_MODE}
- RENDERING_CLUSTERING_MODE=${RENDERING_CLUSTERING_MODE}
- RENDERING_CLUSTERING_MAX_CONCURRENCY=${RENDERING_CLUSTERING_MAX_CONCURRENCY}
- ./config.json:/usr/share/grafana/config.json
ports:
- 8081
# mem_limit: 500mb
Expand Down