https://github.com/mocyuto/fluent-plugin-raven
fluent plugin for sentry
https://github.com/mocyuto/fluent-plugin-raven
fluentd fluentd-plugin sentry
Last synced: 5 months ago
JSON representation
fluent plugin for sentry
- Host: GitHub
- URL: https://github.com/mocyuto/fluent-plugin-raven
- Owner: mocyuto
- License: apache-2.0
- Created: 2019-12-26T12:22:01.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T01:15:47.000Z (almost 3 years ago)
- Last Synced: 2025-11-23T17:12:10.022Z (6 months ago)
- Topics: fluentd, fluentd-plugin, sentry
- Language: Ruby
- Homepage:
- Size: 25.4 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# fluent-plugin-raven
[Fluentd](https://fluentd.org/) output plugin for [Sentry](https://sentry.io/welcome/).
## Installation
```
$ gem install fluent-plugin-raven
```
## Configuration
### Tag
If `tag` is specified as bufferd chunk key, it send as tag for Sentry.
### config params
- `dsn` (required): DSN KEY shown at setting page
- `environment` : set environment. default values is `development`
- `logger_level` : set log level of the Sentry logger. default value is `info`
- `default_level`: set default log level for Sentry. default value is `error`
### record keys
- `message` (required): message body for sentry as events. A record will be filtered if `message` isn't set, because Sentry identify issues by `message` value.
- `level`: log level for Sentry as events.
### Example
```aconf
@type raven
dsn https://12345678@sentry.io/123456
logger_level warn
environment development
@type file
path fluentd/log/error.*.buffer
timekey 5m
timekey_wait 1m
flush_interval 1s
```
## Development
```
bundle install
bundle exec fluentd -c example/fluentd.conf
```
## Copyright
* Copyright(c) 2019- Yuto Suzuki
* License
* Apache License, Version 2.0