Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

comment listener/readability prototype #56

Closed
wants to merge 2 commits into from
Closed

Conversation

alexbyrnes
Copy link

Test of scale etc for doing readability scores. Integration points are rabbitmq (publisher is currently Pillar) and scores go to stdout. Stdout would need to be replaced.

This also gives us another couple of data points for statsd.

#mongo_host = os.environ['MONGODB_HOST']
except Exception as err:
print("ERROR: Environment variable not found. " + err, file=sys.stderr)
exit()
Copy link

Choose a reason for hiding this comment

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

you should send a non-zero exit, like exit(1), that way if you include this as part of some other tooling, they can infer something wrong happened by the exit code.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks, Chris. agreed.

@gabelula
Copy link

gabelula commented Jul 7, 2016

Great. Can we add some tests to this?

@kgardnr kgardnr added the TRUST label Jul 12, 2016
@alexbyrnes
Copy link
Author

I'm going to close this in favor of whatever happens with coral-stats branch. Will add tests there :)

@alexbyrnes alexbyrnes closed this Jul 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants