Skip to content

v0.4.3 #44

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

Merged
merged 5 commits into from
Mar 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Commands:
add Add live instruments/views
get Get live instruments/views
remove Remove live instruments/views
subscribe Subscribe to live instrument/view streams
subscribe Subscribe to live instrument/view events
version Display version information
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kotlin.code.style=official

cliGroup=com.sourceplusplus
projectVersion=0.4.2
projectVersion=0.4.3

vertxVersion=4.2.4
graalVersion = 21.3.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/spp/cli/commands/developer/Subscribe.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ package spp.cli.commands.developer

import com.github.ajalt.clikt.core.CliktCommand

class Subscribe : CliktCommand(help = "Subscribe to live instrument/view streams") {
class Subscribe : CliktCommand(help = "Subscribe to live instrument/view events") {
override fun run() = Unit
}
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class SubscribeView : CliktCommand(
if (value == null) value = metric.getNumber("value").toString()

val metricType = metric.getJsonObject("meta").getString("metricsName")
println("$eventTime ${metric.getString("entityId")} ($metricType): $value")
println("$eventTime ${metric.getString("entityName")} ($metricType): $value")
}
}

Expand Down