• English日本語한국어
  • ログイン今すぐ開始

この機械翻訳は参考用に提供されます。

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

問題を作成する

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. 次のコマンドを追加します。

    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. 「サービス」> 「サブスクリプション」 から、サブスクリプションを選択し、 「アクセスコントロール(IAM)」 から、 「追加」 を選択しています。

  4. [役割]検索ボックスで、新しく作成された役割定義の名前(たとえば、 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 integration (deprecated) を参照してください。このドキュメントでサポートされているイベントやメトリクスに移行することを強くお勧めします。

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
  • 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 © 2024 New Relic株式会社。

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