All Projects → thierryxing → sentry-ruby-api

thierryxing / sentry-ruby-api

Licence: BSD-2-Clause license
Ruby wrapper for getsentry/Sentry REST API

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to sentry-ruby-api

prometheus-sentry-exporter
Exports sentry project metrics for prometheus.
Stars: ✭ 32 (+68.42%)
Mutual labels:  sentry
pink-lady
a template project of gin app.
Stars: ✭ 44 (+131.58%)
Mutual labels:  sentry
incubator-sentry
Mirror of Apache Sentry
Stars: ✭ 35 (+84.21%)
Mutual labels:  sentry
send-test-info
Attach unit test information to exceptions sent by Raven to Sentry
Stars: ✭ 17 (-10.53%)
Mutual labels:  sentry
fullstack-nextjs-ecommerce
Fullstack Next.js E-Commerce made with NextAuth + Prisma, Docker + TypeScript + React Query + Stripe + Tailwind Sentry and much more 🛒
Stars: ✭ 524 (+2657.89%)
Mutual labels:  sentry
clash-api
Ruby wrapper for the Clash of Clans API
Stars: ✭ 14 (-26.32%)
Mutual labels:  ruby-wrapper
sentry-ocaml
A work-in-progress OCaml client for Sentry
Stars: ✭ 26 (+36.84%)
Mutual labels:  sentry
django-docker
Toy project. Trying to use Django inside a Docker container for both local development and production deployment.
Stars: ✭ 18 (-5.26%)
Mutual labels:  sentry
micro-sentry
Tiny Sentry client with idiomatic wrapper for Angular
Stars: ✭ 100 (+426.32%)
Mutual labels:  sentry
sentry-typo3
TYPO3 Sentry integration
Stars: ✭ 17 (-10.53%)
Mutual labels:  sentry
aiohttp-sentry
An aiohttp server middleware for reporting failed requests to Sentry
Stars: ✭ 35 (+84.21%)
Mutual labels:  sentry
logging
mod: zap logging in golang
Stars: ✭ 44 (+131.58%)
Mutual labels:  sentry
docker-compose-sentry
Docker Compose configuration for running a Sentry server.
Stars: ✭ 20 (+5.26%)
Mutual labels:  sentry
rarbg
Ruby client for the RARBG Torrent API.
Stars: ✭ 17 (-10.53%)
Mutual labels:  ruby-wrapper
rhythm
Time-based job scheduler for Apache Mesos
Stars: ✭ 30 (+57.89%)
Mutual labels:  sentry
craft
The universal Sentry release CLI 🚀
Stars: ✭ 117 (+515.79%)
Mutual labels:  sentry
sentry-beaconfire
Kotlin based sentry android application
Stars: ✭ 35 (+84.21%)
Mutual labels:  sentry
thvu-blog
My digital home on the internet.
Stars: ✭ 51 (+168.42%)
Mutual labels:  sentry
sentry-mattermost
Sends Sentry notifications to Mattermost Open Source Chat
Stars: ✭ 30 (+57.89%)
Mutual labels:  sentry
app
Buggregator is a beautiful, lightweight debug server build on Laravel that helps you catch your smpt, sentry, var-dump, monolog, ray outputs. It runs without installation on multiple platforms.
Stars: ✭ 259 (+1263.16%)
Mutual labels:  sentry

Sentry Ruby API

Build Status Gem Version License

Sentry Ruby API is a Ruby wrapper for the getsentry/sentry API.

Installation

Install it from rubygems:

gem install sentry-api

Or add to a Gemfile:

gem 'sentry-api'

Usage

Configuration example:

SentryApi.configure do |config|
  config.endpoint = 'http://example.com/api/0'
  config.auth_token = 'your_auth_token'
  config.default_org_slug = 'sentry-sc'
end

(Note: If you are using getsentry.com's hosted service, your endpoint will be https://sentry.io/api/0/)

Usage examples:

# set an API endpoint
SentryApi.endpoint = 'http://example.com/api/0'
# => "http://example.com/api/0"

# set a user private token
SentryApi.auth_token = 'your_auth_token'
# => "your_auth_token"

# configure a proxy server
SentryApi.http_proxy('proxyhost', 8888)
# proxy server w/ basic auth
SentryApi.http_proxy('proxyhost', 8888, 'user', 'pass')

# list projects
SentryApi.projects

# initialize a new client
s = SentryApi.client(endpoint: 'https://api.example.com', auth_token: 'your_auth_token', default_org_slug: 'sentry-sc')

# a paginated response
projects = SentryApi.projects

# check existence of the next page
projects.has_next_page?

# retrieve the next page
projects.next_page

# iterate all projects
projects.auto_paginate do |project|
  # do something
end

# retrieve all projects as an array
projects.auto_paginate

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

License

Released under the BSD 2-clause license. See LICENSE.txt for details.

Special Thank

Thanks to NARKOZ's gitlab ruby wrapper which really gives me a lot of inspiration.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].