GithubHelp home page GithubHelp logo

cbepx / fluent-plugin-sentry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from y-ken/fluent-plugin-sentry

0.0 2.0 0.0 185 KB

Fluentd output plugin to aggregate errors/exception to sentry which are a realtime event logging and aggregation platform.

Home Page: http://rubygems.org/gems/fluent-plugin-sentry

License: Other

Ruby 100.00%

fluent-plugin-sentry's Introduction

fluent-plugin-sentry Build Status

Overview

Fluentd output plugin to send aggregated errors/exception events to Sentry which are a realtime event logging and aggregation platform.

If you have sent events to Sentry directory from front webpage without aggregation, you may got down response time and performance problem especially in PHP.
To use Sentry and Fluentd together, it will got best performance because Fluentd acts messege queue for Sentry.

http://blog.getsentry.com/images/hero.png (quoted from http://blog.getsentry.com/)

Installation

install with gem or fluent-gem command as:

# for fluentd
$ gem install fluent-plugin-sentry

# for td-agent
$ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-sentry

Preparation

create sentry dashboard first. It could start with cost free!!

OR

Usage

<source>
 type forward
</source>

<match notify.**>
  type sentry

  # Set endpoint API URL
  endpoint_url       https://API_KEY:[email protected]/PROJECT_ID

  # Set default events value of 'server_name'
  # To set short hostname, set like below.
  hostname_command   hostname -s

  # rewrite shown tag name for Sentry dashboard
  remove_tag_prefix  notify.
</match>

Parameters

  • endpoint_url (Required)
    Set endpoint API URL which shows at Sentry dashboard. (it is not sentry account information)

  • default_level
    [default] error

  • defalut_logger
    [default] flunetd

  • hostname_command
    [default] hostname Set default frontend value of 'server_name'

  • flush_interval
    [default] 0sec

It also support rewriting Tag with SetTagKeyMixin.

  • remove_tag_prefix
  • remove_tag_suffix
  • add_tag_prefix
  • add_tag_suffix

Blog Articles

TODO

Pull requests are very welcome!!

Copyright

Copyright © 2014- Kentaro Yoshida (@yoshi_ken)

License

Apache License, Version 2.0

fluent-plugin-sentry's People

Contributors

y-ken avatar

Watchers

Glerb Mekhrenin avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.