mirror of
https://github.com/mii443/prometheus-android-exporter.git
synced 2025-08-22 15:15:35 +00:00
add grafana dashboard
This commit is contained in:
@ -72,6 +72,7 @@ opening the app and hitting "Start" button.
|
||||
- Folder `local` contains simple docker-compose.yaml files to spin up prometheus database on localhost
|
||||
quickly for testing purposes with desired configuration.
|
||||
- Configuration options for the YAML file are described in `config_file_structure.yaml`.
|
||||
- Grafana dashboard as an exported json is present in file `grafana_dashboard.json`.
|
||||
|
||||
|
||||
## Some helpful information for development
|
||||
|
@ -33,7 +33,7 @@ internal class LastTimeRingBuffer(private val scrapeInterval: Int) {
|
||||
companion object {
|
||||
private const val hysteresisMemory: Int = 3
|
||||
private const val hysteresisCoefficient: Double = 1.2
|
||||
private const val scrapeTimeCoefficient: Double = 2.2
|
||||
private const val scrapeTimeCoefficient: Double = 1.7
|
||||
}
|
||||
|
||||
fun setLastTime(timestamp: Long) {
|
||||
|
1
grafana_dashboard.json
Normal file
1
grafana_dashboard.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user