• /
  • EnglishEspañolFrançais日本語한국어Português
  • ログイン今すぐ開始

この機械翻訳は、参考として提供されています。

英語版と翻訳版に矛盾がある場合は、英語版が優先されます。詳細については、このページを参照してください。

問題を作成する

Azure Cosmos DB(Document DB)のモニタリング統合

New Relic インフラストラクチャ モニタリング は、 Microsoft Azure の Cosmos DB サービスの統合を提供し、Cosmos DB のメトリクスやその他のデータを New Relic にレポートします。このドキュメントでは、Cosmos DB インテグレーションを有効にする方法と、取得可能なデータについて説明します。

特徴

New Relicは、Azure Cosmos DBサービスからデータベースデータとコレクションの請求データの両方を収集します。New RelicからAzure Cosmos DBのデータを監視したり、アラートを出したりすることができ、 カスタムクエリやカスタムチャート・ダッシュボードを作成することができます

統合をアクティブ化する

この統合を有効にするには、標準的な手順に従って、 New Relic で Azure サービスを有効にしてください。

Cosmos DBの統合では、データベースとコレクションのデータを取得するために、追加のロールとパーミッションを作成する必要があります。

  1. Azure Portalに移動し、ターミナルを選択してシェルを開きますアイコン。

  2. 次のコマンドを追加します。

    bash
    $
    az role definition create --role-definition '{
    $
    "Name": "NewRelic Integrations",
    $
    "Actions": [
    $
    "*/read",
    $
    "Microsoft.DocumentDB/databaseAccounts/listKeys/action"
    $
    ],
    $
    "NotActions": [],
    $
    "AssignableScopes": [
    $
    "/subscriptions/YOUR_INSERT_SUBSCRIPTION_ID"
    $
    ],
    $
    "Description": "Read Only for NewRelic Integrations",
    $
    "IsCustom": "true"
    $
    }'
  3. Services > Subscriptionsからサブスクリプションを選択し、 Access control (IAM)に移動して、 Add .

  4. Role検索ボックスに、新しく作成したロール定義の名前を追加します (例: NewRelic Integrations )。

  5. Select 検索ボックスで、 New Relicインテグレーション アプリケーションの名前を追加し、それを選択します。

  6. アプリケーションがSelected membersリストに追加されていることを確認し、次にSaveます。

構成とポーリング

構成オプションを使用して、ポーリング頻度とフィルターデータを変更できます。

デフォルト ポーリング Cosmos DBインテグレーションの情報です。

データの表示と照会

インテグレーション データを表示するには、 one.newrelic.com > All capabilities > Infrastructure > Azureに移動して Cosmos DB インテグレーションを選択します。

次のイベントタイプを使用して、データのクエリと探索を行うことができます。

エンティティ

イベントタイプ

プロバイダー

アカウント

AzureCosmosDbAccountSample

AzureCosmosDbAccount

データベース

AzureCosmosDbDatabaseSample

AzureCosmosDbDatabase

コレクション

AzureCosmosDbCollectionSample

AzureCosmosDbCollection

データの探し方や使い方については、 Understand and use integration data を参照してください。

メトリックデータ

重要

  • 非推奨の Cosmos DB イベントまたはメトリクスについては、 Azure Cosmos DB 統合 (非推奨)」を参照してください。
  • このドキュメントでサポートされているイベントおよびメトリクスに移行することを強くお勧めします。
  • Azure Cosmos DB Microsoft.DocumentDB/mongoClustersリソース タイプは現在サポートされていません。

Cosmos DBインテグレーションで報告されたメトリクスを表示するには、以下のEntityを照会します。各メトリクスに関連するメタデータを使用して、 フィルタリングやファセット 報告されているデータを表示します。メトリクスの詳細情報については、 Azure supported metrics のドキュメントを参照してください。

アカウントデータ

メトリック

説明

メタデータ

totalRequests

リクエストの総数です。

  • account
  • kind
  • region
  • offerType
  • statusCode
  • resourceGroup

metadataRequests

メタデータ・リクエストの数。

  • account
  • kind
  • region
  • offerType
  • statusCode
  • resourceGroup

mongoRequests

Mongoリクエストの回数。

  • account
  • kind
  • region
  • commandName
  • offerType
  • errorCode
  • resourceGroup

mongoRequestCharge

消費されたMongoリクエストユニットの合計数。

  • account
  • kind
  • region
  • commandName
  • offerType
  • errorCode
  • resourceGroup

totalRequestUnits

消費されたリクエストユニットの合計数

  • account
  • kind
  • region
  • offerType
  • statusCode
  • resourceGroup

provisionedThroughput

データベースやコレクションに提供されるスループット。

  • account
  • offerType
  • kind
  • resourceGroup

availableStorageBytes

利用可能な総ストレージ量(単位:バイト)。

  • account
  • kind
  • offerType
  • region
  • resourceGroup

dataUsageBytes

報告されたデータ使用量の合計(単位:バイト)。

  • account
  • kind
  • offerType
  • region
  • resourceGroup

indexUsageBytes

報告されたインデックスの総使用量(単位:バイト)。

  • account
  • kind
  • offerType
  • region
  • resourceGroup

documentQuotaBytes

報告された総ストレージ容量(単位:バイト)。

  • account
  • kind
  • offerType
  • region
  • resourceGroup

documentCount

報告された総ドキュメント数

  • account
  • kind
  • offerType
  • region
  • resourceGroup

ReplicationLatency

P99 地理的に有効なアカウントのソースおよびターゲットリージョン間のレプリケーションレイテンシー(単位:ミリ秒)。

  • account
  • kind
  • sourceRegion
  • offerType
  • targetRegion
  • resourceGroup

ServiceAvailability

アカウントは、1時間、1日、1ヶ月単位での稼働率を要求します。

特定のメタデータはありません。

cassandraRequests

作成されたCassandraリクエストの数

  • account
  • kind
  • errorCode
  • offerType
  • opperationType
  • region
  • resourceType
  • resourceGroup

cassandraRequestCharges

Cassandraリクエストで消費されたリクエスト・ユニットの合計数。

  • account
  • kind
  • errorCode
  • offerType
  • opperationType
  • region
  • resourceType
  • resourceGroup

cassandraConnectionClosures

閉じたCassandra接続の合計数。

  • account
  • kind
  • closureReason
  • offerType
  • region
  • resourceGroup

データベースデータ

メトリック

説明

メタデータ

totalRequests

リクエストの総数です。

  • account
  • databaseName
  • region
  • statusCode

metadataRequests

メタデータ・リクエストの数。

  • account
  • databaseName
  • region
  • statusCode

mongoRequests

Mongoリクエストの回数。

  • account
  • databaseName
  • region
  • commandName
  • errorCode

mongoRequestCharge

消費されたMongoリクエストユニットの合計数。

  • account
  • databaseName
  • region
  • commandName
  • errorCode

totalRequestUnits

消費されたリクエストユニットの合計数

  • account
  • databaseName
  • region
  • statusCode

provisionedThroughput

データベースやコレクションに提供されるスループット。

  • account
  • databaseName

availableStorageBytes

利用可能な総ストレージ量(単位:バイト)。

  • account
  • databaseName
  • region

dataUsageBytes

報告されたデータ使用量の合計(単位:バイト)。

  • account
  • databaseName
  • region

indexUsageBytes

報告されたインデックスの総使用量(単位:バイト)。

  • account
  • databaseName
  • region

documentQuotaBytes

報告された総ストレージ容量(単位:バイト)。

  • account
  • databaseName
  • region

documentCount

報告された総ドキュメント数

  • account
  • databaseName
  • region

replicationLatencyMilliseconds

P99 地理的に有効なアカウントのソースおよびターゲットリージョン間のレプリケーションレイテンシー(単位:ミリ秒)。

  • account
  • sourceRegion
  • targetRegion

serviceAvailabilityPercent

アカウントは、1時間、1日、1ヶ月単位での稼働率を要求します。

特定のメタデータはありません。

cassandraRequests

作成されたCassandraリクエストの数

  • account
  • databaseName
  • errorCode
  • opperationType
  • region
  • resourceType

cassandraRequestCharges

Cassandraリクエストで消費されたリクエスト・ユニットの合計数。

  • account
  • databaseName
  • errorCode
  • opperationType
  • region
  • resourceType

cassandraConnectionClosures

閉じたCassandra接続の合計数。

  • account
  • closureReason
  • region

コレクションデータ

メトリック

説明

メタデータ

totalRequests

リクエストの総数です。

  • account
  • collectionName
  • database
  • region
  • statusCode

metadataRequests

メタデータ・リクエストの数。

  • account
  • collectionName
  • database
  • region
  • statusCode

mongoRequests

Mongoリクエストの回数。

  • account
  • collectionName
  • database
  • region
  • commandName
  • errorCode

mongoRequestCharge

消費されたMongoリクエストユニットの合計数。

  • account
  • collectionName
  • database
  • region
  • commandName
  • errorCode

totalRequestUnits

消費されたリクエストユニットの合計数

  • account
  • collectionName
  • database
  • region
  • statusCode

provisionedThroughput

データベースやコレクションに提供されるスループット。

  • account
  • collectionName
  • database

availableStorageBytes

利用可能な総ストレージ量(単位:バイト)。

  • account
  • collectionName
  • database
  • region

dataUsageBytes

報告されたデータ使用量の合計(単位:バイト)。

  • account
  • collectionName
  • database
  • region

indexUsageBytes

報告されたインデックスの総使用量(単位:バイト)。

  • account
  • collectionName
  • database
  • region

documentQuotaBytes

報告された総ストレージ容量(単位:バイト)。

  • account
  • collectionName
  • database
  • region

documentCount

報告された総ドキュメント数

  • account
  • collectionName
  • database
  • region

replicationLatencyMilliseconds

P99 地理的に有効なアカウントのソースおよびターゲットリージョン間のレプリケーションレイテンシー(単位:ミリ秒)。

  • account
  • collectionName
  • sourceRegion
  • targetRegion

serviceAvailabilityPercent

アカウントは、1時間、1日、1ヶ月単位での稼働率を要求します。

特定のメタデータはありません。

cassandraRequests

作成されたCassandraリクエストの数

  • account
  • collectionName
  • database
  • errorCode
  • opperationType
  • region
  • resourceType

cassandraRequestCharges

Cassandraリクエストで消費されたリクエスト・ユニットの合計数。

  • account
  • collectionName
  • database
  • errorCode
  • opperationType
  • region
  • resourceType

cassandraConnectionClosures

閉じたCassandra接続の合計数。

  • account
  • collectionName
  • closureReason
  • region
Copyright © 2025 New Relic株式会社。

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