Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
🚀
This server has been upgraded to GitLab release
15.7
.
🚀
Open sidebar
Sebastian Schüpbach
Metrics Client
Commits
ab6fe8c2
Verified
Commit
ab6fe8c2
authored
Aug 23, 2021
by
Sebastian Schüpbach
Browse files
fix argument name for kafka topic
parent
484535c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Cargo.toml
View file @
ab6fe8c2
...
...
@@ -4,7 +4,7 @@ version = "0.0.1-SNAPSHOT"
authors
=
[
"Sebastian Schüpbach <sebastian.schuepbach@unibas.ch>"
]
edition
=
"2018"
description
=
"k8s metrics client"
documentation
=
"https://sschuepbach.pages.switch.ch/metrics-client/metrics
-
client"
documentation
=
"https://sschuepbach.pages.switch.ch/metrics-client/metrics
_
client"
readme
=
"README.md"
homepage
=
"https://gitlab.switch.ch/sschuepbach/metrics-client"
repository
=
"https://gitlab.switch.ch/sschuepbach/metrics-client"
...
...
README.md
View file @
ab6fe8c2
...
...
@@ -12,3 +12,7 @@ Settings are defined via environmental variables:
*
`RETENTION_TIME_MIN`
:
*
`TOPIC_NAME`
*
`UPDATE_INTERVAL_MIN`
:
## API Documentation
https://sschuepbach.pages.switch.ch/metrics-client/metrics_client
src/main.rs
View file @
ab6fe8c2
...
...
@@ -28,7 +28,7 @@ fn parse_config() -> ArgMatches<'static> {
)
.arg
(
Arg
::
with_name
(
"topic"
)
.short
(
"
k
"
)
.short
(
"
t
"
)
.long
(
"topic"
)
.value_name
(
"NAME"
)
.help
(
"Sets Kafka topic name"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment