Four developer tools that work with Typetalk

As mentioned in one of our previous posts, we use the Typetalk API heavily to keep ourselves updated with specific information, set reminders for tasks and also to make our working time more fun. All examples shown there are working but only tailored and made available to us.

In this post, I’d like to introduce four developer tools that you can use with Typetalk. These tools are widely popular among developers and you may already be using some of them. Making these familiar tools work with Typetalk encourages your team to have an active conversation especially when noticeable events occur.

GitHub

“Service” on GitHub is a built-in integration between GitHub and external services and each “service” performs pre-defined actions reacting to events that occur on GitHub. You can select Typetalk from “Available Services” in the repository setting page as follows.

With credential information and topic to post configured properly, you can receive notifications from GitHub in the specified topic on Typetalk.

Currently, Typetalk service can notify two types of events: one is to push to a certain branch as shown above and the other is to pull request being sent.

Jenkins

With Typetalk Plugin enabled and configured on your Jenkins, you can receive notifications from Jenkins

  • when build starts or ends
  • when build fails

After setting the credential information, you will have to configure “when to notify” in each job setting.

You will then receive notifications like this:

For more detailed instructions, you can refer to the plugin page.

Fluentd

If you use fluentd to collect and analyze your server logs, I strongly recommend you to configure it to send notifications when something unusual is being detected like multiple 4xx responses in web server access log or error messages in your application log.

Here is an sample configuration to notify to Typetalk when “ERROR”, “WARN” or “Exception” is found in tomcat log over 10 times within a minute.

To enable this, you have to add fluent-plugin-typetalk and fluent-plugin-grepcounter to your fluentd.

You can then get the following notification.

Ansible

As posted in the official Ansible’s blog, Ansible has several notification modules and one of them is for Typetalk. Its task definition looks like this:

Here, you can include variables defined by Ansible like {{ansible_ec2_ami_id}}  to your message.

One of the typical use cases is to notify the result of long running jobs like AMI creation as shown above. Ansible 1.6 is now available and you can use Typetalk module just by installing the latest version of Ansible.


We’re using these tools in our daily development and server operation and it’s safe for you to use them.

In addition to that you can use these tools freely and even modify them since their source code is shared on GitHub as open source.

If you find any bugs or you would like to suggest new features, drop a feedback on those projects. Enjoy Typetalk and make your work more efficient!

Acknowledgement

Cover image “Tools” by zzpza, available on Flickr.

Make communication fun, again

Try It Free