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

Improve logging and documentation #5644

Merged
merged 4 commits into from
Feb 6, 2020

Conversation

FlorianVeaux
Copy link
Member

Based on recent feedback, improve the instructions on how to install the MapR integration. Also improve logging to automatically identify common painpoints and give human readable error messages.

@codecov
Copy link

codecov bot commented Feb 4, 2020

Codecov Report

Merging #5644 into master will decrease coverage by 2.38%.
The diff coverage is 62.06%.

Impacted Files Coverage Δ
mapr/datadog_checks/mapr/utils.py 100% <100%> (ø) ⬆️
mapr/tests/test_unit.py 98.33% <100%> (+0.22%) ⬆️
mapr/tests/conftest.py 96.66% <100%> (+1.21%) ⬆️
mapr/datadog_checks/mapr/mapr.py 69.07% <42.1%> (-3.97%) ⬇️
mapr/datadog_checks/mapr/__about__.py 100% <0%> (ø) ⬆️
mapr/tests/common.py 100% <0%> (ø) ⬆️
mapr/datadog_checks/mapr/common.py 100% <0%> (ø) ⬆️
mapr/datadog_checks/mapr/__init__.py 100% <0%> (ø) ⬆️
... and 896 more

import socket


def get_stream_id_for_topic(topic_name, rng=2):
def get_stream_id_for_topic(topic_name, rng=1):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note for reviewer: Even though this function supports multiple rng values, we MapR default value since 6.1 si to have a single stream for all topics.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ that should be a in code comment

cswatt
cswatt previously approved these changes Feb 5, 2020
Copy link
Contributor

@cswatt cswatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved for docs/grammar/style

@FlorianVeaux FlorianVeaux merged commit 0eef3b4 into master Feb 6, 2020
@FlorianVeaux FlorianVeaux deleted the florian/mapr_check_token_permissions branch February 6, 2020 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants