Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add performance monitoring section to the admin page #767

Draft
wants to merge 4 commits into
base: development
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/tests-real-data-stageportal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- "3306:3306"
env:
MYSQL_ROOT_PASSWORD: root
memcached:
image: memcached:1.6
redis:
image: redis:latest
ports:
- 11211:11211
- 6379:6379
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests-real-data-testportal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- "3306:3306"
env:
MYSQL_ROOT_PASSWORD: root
memcached:
image: memcached:1.6
redis:
image: redis:latest
ports:
- 11211:11211
- 6379:6379
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests-system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
- "3306:3306"
env:
MYSQL_ROOT_PASSWORD: root
memcached:
image: memcached:1.6
redis:
image: redis:latest
ports:
- 11211:11211
- 6379:6379
chrome-server:
image: selenium/standalone-chrome:112.0-chromedriver-112.0-grid-4.9.0-20230421
options: "--shm-size=2g"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ jobs:
- "3306:3306"
env:
MYSQL_ROOT_PASSWORD: root
memcached:
image: memcached:1.6
redis:
image: redis:latest
ports:
- 11211:11211
- 6379:6379

steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
14 changes: 9 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ gem 'puma', '~> 5.0'

# Use JavaScript with ESM import maps
# [https://github.com/rails/importmap-rails]
gem 'importmap-rails'
gem 'importmap-rails', '2.0.1'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not required


# Hotwire's SPA-like page accelerator
# [https://turbo.hotwired.dev]
Expand All @@ -55,8 +55,9 @@ gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', require: false

# Memcached client for Ruby
gem 'dalli'
# For Rails cache store support
gem 'redis'
gem 'redis-rails'

# GraphQL client for Ruby
gem 'graphql-client'
Expand All @@ -65,7 +66,7 @@ gem 'graphql-client'
gem 'haml', '~> 5.1'

# Internationalization (i18n)
gem 'i18n'
gem 'i18n', '~> 1.14.6'
gem 'rails-i18n', '~> 7.0.0'

# MySQL database adapter
Expand Down Expand Up @@ -96,7 +97,7 @@ gem 'flag-icons-rails', '~> 3.4'
gem 'iso-639', '~> 0.3.6'

# Custom API client
gem 'ontologies_api_client', git: 'https://github.com/ontoportal-lirmm/ontologies_api_ruby_client.git', branch: 'development'
gem 'ontologies_api_client', git: 'https://github.com/ontoportal-lirmm/ontologies_api_ruby_client.git', branch: 'feature/add-rails-performance'

# Ruby 2.7.8 pinned gems (to remove when migrating to Ruby >= 3.0)
gem 'ffi', '~> 1.16.3'
Expand All @@ -114,6 +115,9 @@ gem 'omniauth-orcid'
# Used to generate colors randomly
gem "color", "~> 1.8"

# Application performance monitoring
gem 'rails_performance'

group :staging, :production, :appliance do
# Application performance monitoring
gem 'newrelic_rpm'
Expand Down
Loading
Loading