Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Metricbeat] add a network_summary metricset #15196

Merged
merged 24 commits into from
Jan 13, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d00d6db
initial commit of system/network_summary
fearful-symmetry Dec 18, 2019
2c37aa4
add tests, clean up
fearful-symmetry Dec 18, 2019
27d36de
update notice
fearful-symmetry Dec 18, 2019
61e394d
update golang.org/x/sys
fearful-symmetry Dec 19, 2019
f7ac244
update notice
fearful-symmetry Dec 19, 2019
0568dd5
fix change in sid.String
fearful-symmetry Dec 19, 2019
2f8cf0a
try and revert vendor to master
fearful-symmetry Dec 30, 2019
8389e4a
try and revert vendor to upstream/master
fearful-symmetry Dec 30, 2019
d705aa5
reset vendor from master
fearful-symmetry Dec 30, 2019
cf725ea
re-update go-sysinfo
fearful-symmetry Dec 30, 2019
5d7fc72
Merge remote-tracking branch 'upstream/master' into add-network-summary
fearful-symmetry Jan 2, 2020
d1df761
Merge remote-tracking branch 'upstream/master' into add-network-summary
fearful-symmetry Jan 3, 2020
ae561f5
update fields
fearful-symmetry Jan 3, 2020
83f803a
cleanup, updates
fearful-symmetry Jan 3, 2020
b444cab
make update
fearful-symmetry Jan 6, 2020
f55fea2
change mapping
fearful-symmetry Jan 6, 2020
0e4f7aa
update tests
fearful-symmetry Jan 6, 2020
6e92d88
remove change to winlogbeat for x/sys compat issues
fearful-symmetry Jan 6, 2020
0ab13db
remove extra spaces
fearful-symmetry Jan 6, 2020
699bd31
update fields
fearful-symmetry Jan 6, 2020
9d6d91d
update mapping to use uint64
fearful-symmetry Jan 13, 2020
73cbc2e
Merge remote-tracking branch 'upstream/master' into add-network-summary
fearful-symmetry Jan 13, 2020
b970bf4
update changelog
fearful-symmetry Jan 13, 2020
9c30581
update notice
fearful-symmetry Jan 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup, updates
  • Loading branch information
fearful-symmetry committed Jan 3, 2020
commit 83f803a57d85f3dd58804d31ff68b0185c85a110
10 changes: 5 additions & 5 deletions metricbeat/module/system/network_summary/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
- name: ip.*
type: object
description: >
IP protocol counters
IP counters
- name: tcp.*
type: object
description: >
TCP protocol counters
TCP counters
fearful-symmetry marked this conversation as resolved.
Show resolved Hide resolved
- name: udp.*
type: object
description: >
UDP protocol counters
UDP counters
fearful-symmetry marked this conversation as resolved.
Show resolved Hide resolved
- name: udpLite.*
fearful-symmetry marked this conversation as resolved.
Show resolved Hide resolved
type: object
description: >
UDP Lite protocol counters
UDP Lite counters
fearful-symmetry marked this conversation as resolved.
Show resolved Hide resolved
- name: icmp.*
type: object
description: >
ICMP protocol counters
ICMP counters
fearful-symmetry marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func New(base mb.BaseMetricSet) (mb.MetricSet, error) {
}, nil
}

// Fetch methods implements the data gathering and data conversion to the right
// Fetch implements the data gathering and data conversion to the right
// format. It publishes the event which is then forwarded to the output. In case
// of an error set the Error field of mb.Event or simply call report.Error().
func (m *MetricSet) Fetch(report mb.ReporterV2) error {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
)

func TestMapping(t *testing.T) {

example := &types.NetworkCountersInfo{
SNMP: types.SNMP{
IP: map[string]int64{"DefaultTTL": 64},
Expand All @@ -52,7 +51,6 @@ func TestMapping(t *testing.T) {

out := eventMapping(example)
assert.Equal(t, exampleOut, out)

}

func TestData(t *testing.T) {
Expand Down