Log in

Coalmine

Coalmine is a cloud-based service that silently captures exceptions in real time and alerts you instantly.

Here's how it works:

  1. Plug Coalmine into your app (it takes less than a minute—see below)
  2. Coalmine collects valuable debugging data about the bugs your users are seeing
  3. Search and filter bug reports, fix errors, and mark them as resolved!

Coalmine already works with several technologies, and the list is growing.

See the code on GitHub
# Gemfile
gem "coalmine"

# config/initializers/coalmine.rb
Coalmine.configure do |config|
  config.signature = "your-signature";
end
See the code on GitHub
<script src="/path/to/coalmine.min.js">
<script>
coalmine.configure(function (config) {
  config.signature = "your-signature";
  config.environment = "production"; // Set from server side
});
</script>
See the code on GitHub
<!-- pom.xml, if you use Maven -->
<dependency>
  <groupId>com.coalmine</groupId>
  <artifactId>connector</artifactId>
  <version>0.1.6</version>
</dependency>

<!-- web.xml -->
<filter>
  <filter-name>coalmine</filter-name>
  <filter-class>com.coalmine.connector.servlet.filter.CoalmineFilter</filter-class>
  <init-param>
    <param-name>signature</param-name>
    <param-value>your-signature</param-value>
  </init-param>
  <init-param>
    <param-name>environment</param-name>
    <param-value>Production</param-value>
  </init-param>
</filter>
<filter-mapping>
  <filter-name>coalmine</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>
See the code on GitHub
<!-- pom.xml, if you use Maven -->
<dependency>
  <groupId>com.coalmine</groupId>
  <artifactId>connector</artifactId>
  <version>0.1.6</version>
</dependency>

<!-- web.xml -->
<filter>
  <filter-name>coalmine</filter-name>
  <filter-class>com.coalmine.connector.servlet.filter.GaeCoalmineFilter</filter-class>
  <init-param>
    <param-name>signature</param-name>
    <param-value>your-signature</param-value>
  </init-param>
  <init-param>
    <param-name>jul-handler</param-name>
    <param-value>true</param-value>
  </init-param>
</filter>
<filter-mapping>
  <filter-name>coalmine</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>
See the code on GitHub
require_once "Coalmine.php";

Coalmine::configure(function ($config) {
    $config->signature = "your-signature";
    $config->environment = $environment;
});
See the code on GitHub
# conf/dependencies.yml
require:
    - coalmine -> coalmine

repositories:
    - coalmine:
        type: local
        artifact: "${application.path}/repo/coalmine-0.1.0"
        contains:
            - coalmine

# conf/application.conf
coalmine.signature=your-signature