Skip to content
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

Missing config option mode in monitoring.ini #13

Open
duelle opened this issue Oct 18, 2022 · 0 comments
Open

Missing config option mode in monitoring.ini #13

duelle opened this issue Oct 18, 2022 · 0 comments
Assignees

Comments

@duelle
Copy link
Contributor

duelle commented Oct 18, 2022

The monitoring fails with an exception due to a missing configuration option in the monitoring.ini.
It seems to expect an option mode in the [General] section, which is neither present, nor documented.

I assume that said option is supposed to hold either tcp or text as its value. If there is no such option named mode, the monitoring crashes:

mode = config_parser.get('General', 'mode')
if mode == 'tcp':
self.monitoring_writer = TCPWriter(config)
elif mode == 'text':
self.monitoring_writer = FileWriter(config_parser.get('FileWriter', 'file_path'), [])
else:
self.monitoring_writer = DummyWriter()

The monitoring.ini in the current version does not hold such a configuration option:
https://github.com/kieker-monitoring/kieker-lang-pack-python/blob/327c97f2535b35ef19c7f21839cb6915e380da95/monitoring.ini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants