
Security News
Rspack Introduces Rslint, a TypeScript-First Linter Written in Go
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
apollo-studio-tracing
Advanced tools
This gem extends the GraphQL Ruby gem to add support for sending trace data to Apollo Studio. It is intended to be a full-featured replacement for the unmaintained apollo-tracing-ruby gem, and it is built HEAVILY from the work done within the Gusto apollo-federation-ruby gem as well an exploratory branch created here.
This gem is still in a beta stage and may have some bugs or incompatibilities. See the Known Issues and Limitations below. If you run into any problems, please file an issue.
Add this line to your application's Gemfile:
gem 'apollo-studio-tracing'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install apollo-studio-tracing
Add use ApolloStudioTracing
to your schema class.
Change your controller to add apollo_tracing_enabled: true
to the execution context. Ensure that apollo_client_name
and apollo_client_version
are set as well, for proper client information in Studio:
def execute
# ...
context = {
apollo_client_name: request.headers["apollographql-client-name"],
apollo_client_version: request.headers["apollographql-client-version"],
apollo_tracing_enabled: Rails.env.production?,
}
# ...
end
Install Google Protocol Buffers via Homebrew
$ brew install protobuf
Regenerate the Ruby protos with the included script:
$ bin/generate-proto.sh
Removing old client
Downloading latest Apollo Protobuf IDL
Generating Ruby client stubs
.define
API will not be supportedFAQs
Unknown package
We found that apollo-studio-tracing demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.