• 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.

問題を作成する

newrelic_get_linking_metadata

構文

newrelic_get_linking_metadata()

データをトレースやエンティティにリンクするために必要なメタデータのコレクションを返します。

要件

Requires PHP agent version 9.3 or higher.

トランザクションの中で呼び出す必要があります

説明

このコールは、このアプリケーションとNew Relicバックエンドの他のデータとの関連付けに使用できる、キーと値のペアの不透明なマップを返します。

リンク用ペイロードの作成

リンクデータを取得し、ツールにエクスポートするためにJSONとしてエンコードします。

if (extension_loaded('newrelic')) {
$linking_md = newrelic_get_linking_metadata();
$payload = json_encode($linking_md);
}
Copyright © 2024 New Relic株式会社。

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