OpenTSDB has a strong and growing base of users running TSDs in production. There are also a number of talented developers creating tools for OpenTSDB or contributing code directly to the project. If you are interested in helping, by adding new features, fixing bugs, adding tools or simply updating documentation, please read the guidelines below. Then sign the contributors agreement and send us a pull request!
If you are looking to integrate OpenTSDB with your application, the compiled JAVA library has a consistent and well documented API. Please see JAVA API Documentation.
- Please file issues on GitHub after checking to see if anyone has posted a bug already. Make sure your bug reports contain enough details so they can be easily understood by others and quickly fixed.
- Read the Development page for tips
- The best way to contribute code is to fork the main repo and send a pull request on GitHub.
- Bug fixes should be done in the
- New features or major changes should be done in the
- Alternatively, you can send a plain-text patch to the mailing list.
- Before your code changes can be included, please file the Contribution License Agreement.
- Unlike, say, the Apache Software Foundation, we do not require every single code change to be attached to an issue. Feel free to send as many small fixes as you want.
- Please break down your changes into as many small commits as possible.
- Please respect the coding style of the code you're changing.
- Indent code with 2 spaces, no tabs
- Keep code to 80 columns
- Curly brace on the same line as
- Variables need descriptive names
like_this (instead of the typical Java style of
- Methods named
likeThis() starting with lower case letters
- Classes named
LikeThis, starting with upper case letters
- Use the
final keyword as much as you can, particularly in method parameters and returns statements.
- Avoid checked exceptions as much as possible
- Always provide the most restrictive visibility to classes and members
- Javadoc all of your classes and methods. Some folks make use the Java API directly and we'll build docs for the site, so the more the merrier
- Don't add dependencies to the core OpenTSDB library unless absolutely necessary
- Add unit tests for any classes/methods you create and verify that your change doesn't break existing unit tests. We know UTs aren't fun, but they are useful