New Relic 사용량 및 청구에 대한 이해를 돕기 위해 청구 관련 사용량을 이해할 수 있는 사용량 UI를 제공합니다. 또한 사용자 정의 NRQL 쿼리를 실행하여 추가 세부 정보를 얻을 수 있으며 사용량이 특정 수준에 도달했을 때 경고 알림을 만들 수 있습니다.
사용량 UI를 사용하거나 소비 쿼리를 수행할 때 다음 사항에 유의하세요.
결과는 대략적인 것이며 인보이스 금액을 계산하는 데 사용된 값과 정확히 일치하지 않습니다.
이러한 도구를 사용하여 사용량이 많은 영역을 찾고 추적하세요.
쿼리를 사용하여 생성하면 한도에 가까워졌는지 알 수 있습니다.
데이터 수집 사용 쿼리
The usage UI displays your data ingest over time. If you need more detail than the UI provides, you can use a variety of NRQL queries. The examples below include the following data types:
NrConsumption: 시간별 사용량 세부정보를 자세히 알아보려면 이 기능을 사용하세요. 청구서를 대신하는 데에는 도움이 되지 않습니다.
NrMTDConsumption: Use this to see an approximation of your monthly aggregated usage.
NrCustomerMTDConsumption: Use this to see an approximation of a customer's monthly aggregated usage.
이 쿼리는 청구 가능한 수집된 데이터를 합산하고 지난 3개월 동안의 일일 값을 표시합니다.
FROM NrConsumption SELECTsum(GigabytesIngested)
WHERE productLine ='DataPlatform'
SINCE 3 months ago TIMESERIES 1day
이 쿼리는 청구 가능한 수집된 데이터의 합계를 계산하고 소스를 기준으로 지난 3개월 동안의 일일 값을 표시합니다.
FROM NrConsumption SELECTsum(GigabytesIngested)
WHERE productLine ='DataPlatform' SINCE 3 months ago
FACET usageMetric TIMESERIES 1day
이 쿼리는 상위 10개 메트릭 이름별로 메트릭 데이터 를 분류합니다. appName 또는 host 로 패싯하여 분석을 조정할 수도 있습니다.
FROM Metric SELECT bytecountestimate()/10e8 AS'GB Estimate'
This query shows the current full platform ingested data. In other words, it shows how much you'd be billed for your data for that month if you were billed right now. Usage fee information is calculated hourly and takes approximately 3 hours to generate. If no values are displayed, please query data from 4 hours ago using "SINCE 4 hours ago."
FROM NrMTDConsumption SELECT latest(GigabytesIngested)
The usage UI displays your compute usage over time. If you need more detail than the UI provides, you can use a variety of NRQL queries. The examples below include the following data types:
NrConsumption: 시간별 사용량 세부정보를 자세히 알아보려면 이 기능을 사용하세요. 청구서를 대신하는 데에는 도움이 되지 않습니다.
NrMTDConsumption: Use this to see an approximation of your monthly aggregated compute usage.
NrCustomerMTDConsumption: Use this to see an approximation of a customer's monthly aggregated usage.
This query totals your billable core compute usage, and displays a daily value for the past three months:
FROM NrConsumption SELECTsum(consumption)
WHERE metric ='CoreCCU'
SINCE 3 months ago TIMESERIES 1day
This query totals your billable advanced compute usage, and displays a daily value for the past three months:
FROM NrConsumption SELECTsum(consumption)
WHERE metric ='AdvancedCCU'
SINCE 3 months ago TIMESERIES 1day
This query totals your billable core compute usage, and displays a daily value for the past three months faceted by the capability:
FROM NrConsumption SELECTsum(consumption)
WHERE metric ='CoreCCU' SINCE 3 months ago
FACET dimension_productCapability TIMESERIES 1day
This query totals your billable advanced compute usage, and displays a daily value for the past three months faceted by the capability:
FROM NrConsumption SELECTsum(consumption)
WHERE metric ='AdvancedCCU' SINCE 3 months ago
FACET dimension_productCapability TIMESERIES 1day
This query shows the current full platform core compute usage. In other words, it shows how much you'd be billed for your data for that month if you were billed right now. Usage fee information is calculated hourly and takes approximately 3 hours to generate. If no values are displayed, please query data from 4 hours ago using "SINCE 4 hours ago."
FROM NrMTDConsumption select latest(consumption)where metric ='CoreCCU' since 1day ago
This query shows the current full platform advanced compute usage. In other words, it shows how much you'd be billed for your data for that month if you were billed right now. Usage fee information is calculated hourly and takes approximately 3 hours to generate. If no values are displayed, please query data from 4 hours ago using "SINCE 4 hours ago."
FROM NrMTDConsumption select latest(consumption)where metric ='AdvancedCCU' since 1day ago
NrDailyUsage 이벤트는 신세틱스 사용량을 더 자세히 분석하는 데 도움이 될 수 있지만 결과는 사용량 UI 및 NrMTDConsumption 이벤트 와 일치하지 않을 수 있습니다. 하루에 한 번씩 생성됩니다. 사용 타임스탬프는 New Relic이 신세틱 검사를 수신하고 처리하는 시간에 해당합니다. 이로 인해 신세틱 검사가 실행된 시점과 비교하여 사용량 데이터에 약간의 차이가 발생할 수 있습니다.
NrDailyUsageFACET이벤트 와 함께 사용하면 소비를 계정, 위치, 모니터 유형, 모니터 이름 등 여러 카테고리로 분류할 수 있습니다. 상위 계정 구조가 있는 경우 상위 계정에서 쿼리를 실행하여 해당 상위 계정과 하위 계정의 집계된 사용량을 확인하세요.
성공적인 확인과 실패한 확인 모두 전체 신세틱스 소비에 기여합니다. 다음은 두 가지 이벤트 유형을 적절하게 사용하여 신세틱스 소비를 확인하고 분석하기 위한 샘플 쿼리입니다.
데이터 수집 제한 및 쿼리 제한과 관련된 경고를 설정하려면 데이터 제한 도달에 대한 경고 설정 을 참조하십시오.
계정 변경 사항 쿼리
계정의 변경 사항(예: 사용자 관리와 관련된 변경 사항)을 보려면 NrAuditEvent 를 쿼리할 수 있습니다.
사용 관련 이벤트 및 속성
팁
복잡한 조직에서 데이터 수집 관리에 대한 고급 심층 정보는 데이터 수집 거버넌스 를 참조하세요.
사용량을 이해하기 위해 쿼리할 기본 이벤트는 다음과 같습니다.
NrConsumption 매시간 사용량을 기록하며 "실시간" 사용량과 동일합니다. 이 이벤트를 사용하여 시간 경과에 따른 사용 추세를 관찰합니다.
NrMTDConsumptionNrConsumption 이벤트에서 집계 값을 생성합니다. 이 이벤트를 사용하여 월별 청구 기간별 사용량을 확인하십시오. 사용자 수 조회에 가장 적합한 이벤트입니다.
다음은 사용 관련 이벤트에 연결된 가장 중요한 속성 중 일부입니다.
기인하다
설명
productLine
사용 범주입니다. DataPlatform , FullStackObservability 및 ProactiveDetection 의 세 가지 옵션이 있습니다. (2021년 11월 1일부터 IncidentIntelligence 은(는) 더 이상 청구 요소가 아닙니다.) 이러한 범주에 대한 자세한 내용은 New Relic 플랫폼 을 참조하십시오.
metric
이는 여러 범주의 사용량을 단일 메트릭으로 통합합니다. productLine 을(를) 패싯할 때 유용합니다. 가능한 값이 BasicUsers , FullPlatformUsers 및 GigabytesIngested 인 열거형입니다. 핵심 사용자 릴리스 의 값에는 FullPlatformUsers 및 CoreUsers 가 포함됩니다.
consumingAccountId
사용된 에 따라 저장된 이벤트를 직접 담당하는 뉴렐릭 계정의 ID입니다.
바이트 수 추정
사용법에 대해 자세히 알아보기 위해 사용할 수 있는 한 가지 도구는 bytecountestimate() 함수입니다(예: 이 함수를 사용하는 이 쿼리참조).
bytecountestimate()사용에 대해 알아야 할 몇 가지 중요한 사항:
찾은 모든 데이터를 반환하고 해당 데이터 중 일부는 수집 및 청구에 포함되지 않기 때문에 실제 사용량의 추정치일 뿐입니다. 이러한 이유로 다양한 소스에서 보고된 데이터를 조사하거나 보고된 데이터의 상한선을 이해하는 데 주로 유용합니다.
주로 24시간 미만의 시간 범위를 쿼리하는 데 사용하고 원하는 경우 이를 추정하는 데 사용하는 것이 좋습니다. 많은 데이터를 쿼리해야 하는 기능이고, 보존 경계를 넘는 데이터는 찾지 않기 때문입니다.
다음은 bytecountestimate() 작동 방식에 대한 몇 가지 기술적 세부정보입니다.
수집에 포함되지 않지만bytecountestimate() 함수에 의해 반환되는 여러 유형의 데이터가 있습니다. 이는 이 함수가 실제로 사용량에 계산되는 것보다 more 데이터를 표시하는 경우가 있음을 의미합니다. 더 낮은 금액이 표시되는 경우는 거의 없지만, 표시되는 경우에는 약간만 낮아집니다.
Some telemetry data reported from an entity shares common attributes (for example, attributes about your New Relic account). We don't count the duplicated attributes towards your ingest, but bytecountestimate() does count those attributes. This can sometimes result in a large discrepancy between a bytecountestimate() query and your actual usage.
, 및 는 지표 타임슬라이스 데이터 로 알려진 데이터 유형을 보고합니다. 이 데이터는 다른 데이터 유형처럼 NRDB에 저장되지 않으므로 이 데이터에 bytecountestimate() 사용하려고 하면 혼란스러운 결과가 발생할 수 있습니다. 이 데이터를 조회할 때는 지표 이름이 아닌 특수 이름으로 패싯을 조회하는 것이 좋습니다.