-
Notifications
You must be signed in to change notification settings - Fork 0
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
feature(metrics): Add InfluxDB for metrics #3
base: master
Are you sure you want to change the base?
Conversation
scheduler.cancel() | ||
context.close() | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a new line here because they're important
|
||
private val context = Executors.newSingleThreadExecutor().asCoroutineDispatcher() | ||
|
||
@OptIn(ObsoleteCoroutinesApi::class) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to add Xopt-in=kotlin.RequiresOptIn
as a compiler argument to the build.gradle.kts
*/ | ||
const val NAME = "service_name" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a new line here as well
## What to change | ||
- Package name: `app.ryss.service` | ||
- Main Service class: `app.ryss.service.core.Service` | ||
- Service Name: `app.ryss.service.core.Service#NAME` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Afaik you don't actually use the #
to reference properties in Kotlin you just use a normal .
No description provided.