Skip to content

Commit 6e91223

Browse files
authored
Report grape gem version in environment metadata (#1534)
Grape is a supported integration (loaded via Appsignal.load(:grape)) but was missing from the SUPPORTED_GEMS list that drives environment gem-version reporting. As a result, Grape apps never reported a ruby_grape_version, making Grape adoption invisible in telemetry (unlike its sibling loader frameworks hanami, sinatra, and padrino, which are all in the list). Add grape so its version is reported like the others.
1 parent c644027 commit 6e91223

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
bump: patch
3+
type: add
4+
---
5+
6+
Report the `grape` gem version in the environment metadata. For more information, see [our environment metadata docs](https://docs.appsignal.com/application/environment-metadata).

lib/appsignal/environment.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def self.report(key)
8787
elasticsearch
8888
excon
8989
faraday
90+
grape
9091
gvltools
9192
hanami
9293
hiredis

0 commit comments

Comments
 (0)