datadog finops

개요

데이터독의 메트릭 및 로깅 비용을 줄이는 방법을 소개합니다.

 

절감 포인트

데이터독은 로깅, 메트릭, APM, RUM 등 다양한 모니터링 서비스를 제공하는 플랫폼입니다. 이 글에서는 데이터독의 비용을 줄이는 방법에 대해 다룹니다. 특히, AWS 환경에서 데이터독을 사용하는 경우에 초점을 맞추고 있습니다.

 

Metric

---
title: Datadog Metrics pipeline (Streaming)
---
flowchart LR
    direction LR
    subgraph "Region (ap-northeast-2)"
        subgraph "Resources"
            rds["RDS"]
            docdb["DocDB"]
        end
        cw["`CloudWatch
        API`"]
        subgraph cws["CloudWatch Stream"]
            mp("`Metrics Filtering
            Config`")
        end
        ki["`Kinesis
        Data Firehose`"]
    end

    subgraph "Datadog"
        crawler["`AWS Intergation
        Crawler`"]
    end

    rds & docdb --> cw e1@--"`**MetricsUpdate**
    $$$`"--> cws e1@--> ki e2@--> crawler

    e1@{ animate: true }
    classDef costNode fill:darkorange,color:white
    classDef datadog fill:purple,color:white
    class cws costNode
    class Datadog datadog
    linkStyle 2 stroke:orange,stroke-width:1px,color:orange

 

Logging

전반적인 비용 모델:

logging in datadog

 

Log Management 비용 체계:

flowchart LR
    direction LR
    subgraph aws["Region (ap-northeast-2)"]
        direction LR
        subgraph "Data Sources"
            rds["RDS"]
            docdb["DocDB"]
        end
        subgraph "Processing Layer"
            direction TB
            lambda["`Lambda
            log forwarder`"]
            logs["`CloudWatch Logs`"]
        end
    end
    subgraph dd["Datadog"]
        direction LR
        id["Indexed"]
        ig["Ingested"]
    end
    rds --> logs
    docdb --> logs 
    logs --> lambda
    lambda --> id --> ig
    
    %% Cost warning class for expensive operations
    classDef expensive fill:#red,color:white,stroke:#ff0000,stroke-width:3px,stroke-dasharray: 5 5
    
    %% Apply expensive class to costly Datadog operations
    class id,ig expensive
항목기준 단위목적요금 예시
IngestedPer ingested, per month모든 수집된 로그 처리$0.10/GB
IndexedPer million log events, per month분석 가능한 로그 저장 및 검색$2.55/1M logs (15일 보관) *

* $2.55/1M logs는 온디맨드 가격 기준이며 연간 결제하면 더 저렴함.

 

 

DTO