Simple and extensible plugin to track task times in your Gradle Project.
type
in TaskLength
representing the task type [#393]processMetrics
, enabled by default. [#393]processMetrics
is enabled, it will include: [#393]
gradleJvmArgs
: jvm arguments for Gradle processeskotlinJvmArgs
: jvm arguments for Kotlin processesprocessesStats
: stats collected at the end of the build for java and kotlin processes. Includes meetrics like Usage, Uptime and GC Time.[NEW] Differentiate build execution from build duration. New property executionDurationMs
in ExecutionReport
#383
[FIX] Parsing module name from path #382
[FIX] Identify skipped tasks in Build Service #384
[INFRA] Merge assemble and lint due to strange concurrency limit errors in Circle CI #385
Core Library:
Standard/Legacy Plugin:
Internal:
Breaking Changes
New version 1.5.0
plugins {
id "io.github.cdsap.talaiot.plugin.influxdb" version "1.5.0"
}
plugins {
id "io.github.cdsap.talaiot.plugin.rethinkdb" version "1.5.0"
}
plugins {
id "io.github.cdsap.talaiot.plugin.elasticsearch" version "1.5.0"
}
plugins {
id "io.github.cdsap.talaiot.plugin.pushgateway" version "1.5.0"
}
plugins {
id "io.github.cdsap.talaiot.plugin.base" version "1.5.0"
}
plugins {
id "io.github.cdsap.talaiot.plugin.graph" version "1.5.0"
}
plugins {
id "io.github.cdsap.talaiot" version "1.5.0"
}
In case you want to create your own plugin you can use the available publishers implementing the Talaiot core functionality:
Publisher | Description |
---|---|
io.github.cdsap.talaiot:base-publisher:1.5.0 | Talaiot core functionality with Json, Output and Timeline publishers |
io.github.cdsap.talaiot:elasticsearch-publisher:1.5.0 | Talaiot core functionality with Elasticsearch publisher |
io.github.cdsap.talaiot:graph-publisher:1.5.0 | Talaiot core functionality with Graph publisher |
io.github.cdsap.talaiot:influxdb-publisher:1.5.0 | Talaiot core functionality with Influxdb publisher |
io.github.cdsap.talaiot:pushgateway-publisher:1.5.0 | Talaiot core functionality with Pushgateway publisher |
io.github.cdsap.talaiot:rethinkdb-publisher:1.5.0 | Talaiot core functionality with Rethinkdb publisher |
io.github.cdsap.talaiot:hybrid-publisher:1.5.0 | Talaiot core functionality with All publishers |
You will need to create your Gradle plugin using the Publisher/s required in your implementation
The core is available as dependency.
io.github.cdsap.talaiot:talaiot-core:1.5.0
publishers {
influxDbPublisher {
dbName = "tracking"
url = "http://localhost:8086"
taskMetricName = "task"
buildMetricName = "build"
tags = [com.cdsap.talaiot.metrics.BuildMetrics.Custom]
}
}
Kotlin version
publishers {
influxDbPublisher {
dbName = "tracking"
url = "http://localhost:8086"
taskMetricName = "task"
buildMetricName = "build"
tags = listOf(com.cdsap.talaiot.metrics.BuildMetrics.Custom)
}
}
The complete list of build metrics is:
Duration,
Configuration,
Success,
BuildId,
BuildInvocationId,
RequestedTasks,
CacheRatio,
Start,
RootProject,
OsVersion,
MaxWorkers,
JavaRuntime,
JavaVmName,
JavaXmsBytes,
JavaXmxBytes,
JavaMaxPermSize,
TotalRamAvailableBytes,
CpuCount,
Locale,
Username,
DefaultCharset,
IdeVersion,
GradleVersion,
GitBranch,
GitUser,
Hostname,
OsManufacturer,
PublicIp,
CacheUrl,
LocalCacheHit,
LocalCacheMiss,
RemoteCacheHit,
RemoteCacheMiss,
CacheStore,
SwitchCache,
SwitchScan,
SwitchConfigurationOnDemand,
SwitchContinueOnFailure,
SwitchDaemon,
SwitchDryRun,
SwitchOffline,
SwitchParallel,
SwitchRefreshDependencies,
SwitchRerunTasks,
Custom
Use Custom
for your custom Build Metrics.
Fixes https://github.com/cdsap/Talaiot/issues/232