Updated:

1 minute read

설명


설치

  • yaml
  • Elasticsearch 데이터
    • prometheus
       {
       "took" : 534,
       "timed_out" : false,
       "_shards" : {
         "total" : 1,
         "successful" : 1,
         "skipped" : 0,
         "failed" : 0
       },
       "hits" : {
         "total" : {
           "value" : 69,
           "relation" : "eq"
         },
         "max_score" : 3.3673677,
         "hits" : [
           {
             "_index" : "metricbeat-2021.04.08-000001",
             "_type" : "_doc",
             "_id" : "GwkesXgBcFi5np7qphoD",
             "_score" : 3.3673677,
             "_source" : {
               "@timestamp" : "2021-04-08T10:54:38.711Z",
               "host" : {
                 "name" : "worker-node"
               },
               "agent" : {
                 "type" : "metricbeat",
                 "version" : "7.11.2",
                 "hostname" : "worker-node",
                 "ephemeral_id" : "0b8605eb-1c2e-4647-9730-5734bac11440",
                 "id" : "4ed35698-26f4-42f7-989d-c65c0f18cb8e",
                 "name" : "worker-node"
               },
               "prometheus" : {
                 "labels" : {
                   "job" : "prometheus",
                   "instance" : "prometheus_ip:prometheus_port"
                 },
                 "metrics" : {
                   "prometheus_tsdb_wal_fsync_duration_seconds_sum" : 1.4930206880000005,
                   "prometheus_tsdb_wal_corruptions_total" : 0,
                   "process_start_time_seconds" : 1.616908127E9,
       ...
               },
               "event" : {
                 "module" : "prometheus",
                 "duration" : 22565352,
                 "dataset" : "prometheus.collector"
               },
               "metricset" : {
                 "name" : "collector",
                 "period" : 60000
               },
               "service" : {
                 "address" : "http://prometheus_ip:prometheus_port/metrics",
                 "type" : "prometheus"
               },
               "ecs" : {
                 "version" : "1.7.0"
               }
             }
           },
       ...