chore: remove yabeda-graphql

This commit is contained in:
Colin Darie 2024-08-19 11:47:32 +02:00
parent ea667d49ad
commit e314365083
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
5 changed files with 1 additions and 11 deletions

View file

@ -105,7 +105,6 @@ gem 'view_component'
gem 'vite_rails' gem 'vite_rails'
gem 'warden' gem 'warden'
gem 'webrick', require: false gem 'webrick', require: false
gem 'yabeda-graphql'
gem 'yabeda-prometheus' gem 'yabeda-prometheus'
gem 'yabeda-sidekiq' gem 'yabeda-sidekiq'
gem 'zipline' gem 'zipline'

View file

@ -859,9 +859,6 @@ GEM
anyway_config (>= 1.0, < 3) anyway_config (>= 1.0, < 3)
concurrent-ruby concurrent-ruby
dry-initializer dry-initializer
yabeda-graphql (0.2.3)
graphql (>= 1.9, < 3)
yabeda (~> 0.2)
yabeda-prometheus (0.9.1) yabeda-prometheus (0.9.1)
prometheus-client (>= 3.0, < 5.0) prometheus-client (>= 3.0, < 5.0)
rack rack
@ -1026,7 +1023,6 @@ DEPENDENCIES
web-console web-console
webmock webmock
webrick webrick
yabeda-graphql
yabeda-prometheus yabeda-prometheus
yabeda-sidekiq yabeda-sidekiq
zipline zipline

View file

@ -195,4 +195,4 @@ La compatibilité est testée par Browserstack.<br>[<img src="app/assets/images/
Nous utilisons Skylight pour suivre les performances de notre application. Nous utilisons Skylight pour suivre les performances de notre application.
Par ailleurs, nous utilisons [Yabeda](https://github.com/yabeda-rb/yabeda) pour exporter des metriques au format prometheus. L'activation se fait via la variable d'environnement `PROMETHEUS_EXPORTER_ENABLED` voir config/env.example.optional . Par ailleurs, nous utilisons [Yabeda](https://github.com/yabeda-rb/yabeda) pour exporter des métriques au format prometheus pour Sidekiq. L'activation se fait via la variable d'environnement `PROMETHEUS_EXPORTER_ENABLED` voir config/env.example.optional .

View file

@ -147,7 +147,6 @@ class API::V2::Schema < GraphQL::Schema
use Timeout, max_seconds: 30 use Timeout, max_seconds: 30
use GraphQL::Batch use GraphQL::Batch
use GraphQL::Backtrace use GraphQL::Backtrace
use Yabeda::GraphQL
if Rails.env.development? if Rails.env.development?
class LogQueryDepth < GraphQL::Analysis::AST::QueryDepth class LogQueryDepth < GraphQL::Analysis::AST::QueryDepth

View file

@ -2,9 +2,5 @@
require_relative "config/environment" require_relative "config/environment"
if ENV['PROMETHEUS_EXPORTER_ENABLED'] == 'enabled'
Yabeda::Prometheus::Exporter.start_metrics_server!
end
run Rails.application run Rails.application
Rails.application.load_server Rails.application.load_server