• EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

사용자의 편의를 위해 제공되는 기계 번역입니다.

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

문제 신고

후속 계측

Sequel 데이터베이스 툴킷을 Ruby 계측용 ORM으로 사용하는 경우 New Relic은 애플리케이션의 데이터베이스 사용에 대한 통찰력을 제공할 수 있습니다.

속편 설정

New Relic의 Sequel 계측은 Sequel::Models용 플러그인과 Sequel::Databases용 확장을 통해 구현됩니다. Sequel이 New Relic이 로드될 때 알고 있는 모든 데이터베이스 핸들은 자동으로 계측되지만 3.47.0 이전 버전의 Sequel을 사용하는 경우 계측이 로드된 후 생성하는 경우 확장을 직접 추가해야 합니다. :

db = Sequel.connect( ... )
db.extension :newrelic_instrumentation

3.47.0 이후 버전에서는 Database.extension 를 사용하여 새 연결을 위한 확장을 자동으로 설치합니다.

속편 비활성화

모델 또는 데이터베이스 연결이 계측되지 않도록 하려면 newrelic.ymldisable_sequel_instrumentationtrue 로 설정하여 Sequel 계측을 비활성화할 수 있습니다.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.