Bug 1456238

Summary: [RFE] Add ipv4 and ipv6 to metrics and logs records
Product: [oVirt] ovirt-engine-metrics Reporter: Shirly Radco <sradco>
Component: RFEsAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: bugs, lsvaty, stirabos
Target Milestone: ovirt-4.1.3Keywords: FutureFeature
Target Release: 1.0.4.3Flags: rule-engine: ovirt-4.1?
rule-engine: planning_ack?
rule-engine: devel_ack+
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-06 13:12:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1402901, 1456459    

Description Shirly Radco 2017-05-28 08:58:29 UTC
Description of problem:
We would like to add ipv4 and ipv6 addresses as part of the metrics and logs records.

Comment 1 Lukas Svaty 2017-06-22 09:59:28 UTC
both reported correctly see sample:
ovirt-engine-metrics-1.0.4.2-1.el7ev.noarch


{
  "_index": "project.ovirt-metrics-engine.6fa1c7ec-5685-11e7-94be-001a4a803f01.2017.06.22",
  "_type": "com.example.viaq",
  "_id": "AVzPO-Dq-JHtk37G2ong",
  "_score": null,
  "_source": {
    "hostname": "ls-engine1.example.com",
    "collectd": {
      "interval": 10,
      "plugin": "cpu",
      "plugin_instance": "0",
      "type": "percent",
      "type_instance": "user",
      "cpu": {
        "percent": 1.73116089613035
      }
    },
    "tag": "project.ovirt-metrics-engine",
    "ovirt": {
      "entity": "engine"
    },
    "ipaddr4": "9999.999.999.999",
    "ipaddr6": "FFFF:FFFF:0:FFFF:FFF:FFFF:FFFF:FFFF",
    "@timestamp": "2017-06-22T11:56:48+02:00",
    "kubernetes": {
      "namespace_name": "ovirt-metrics-engine",
      "pod_name": "mux",
      "namespace_id": "6fa1c7ec-5685-11e7-94be-001a4a803f01",
      "container_name": "mux-mux"
    }
  },
  "fields": {
    "@timestamp": [
      1498125408000
    ]
  },
  "sort": [
    1498125408000
  ]
}