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

Add functional test coverage for Network Explorer metrics #684

Merged
merged 1 commit into from
Mar 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

### Added

- Add functional test coverage for Network Explorer metrics ([#684](https://github.com/signalfx/splunk-otel-collector-chart/pull/684)

## [0.71.0] - 2023-03-01

### Added
Expand Down
10 changes: 10 additions & 0 deletions ci_scripts/sck_otel_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,13 @@ clusterReceiver:
- name: nodes
- name: events
mode: watch

gateway:
replicaCount: 1
resources:
limits:
cpu: 300m
memory: 300Mi

networkExplorer:
enabled: true
25 changes: 24 additions & 1 deletion test/k8s_metrics_test/test_config_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,30 @@
("system.processes.count"),
("system.processes.created"),
#Up Metrics
("up")
("up"),
# Network Explorer Metrics
("tcp.bytes"),
("tcp.active"),
("tcp.packets"),
("tcp.retrans"),
("tcp.syn.timeouts"),
("tcp.new_sockets"),
("tcp.resets"),
("tcp.rtt.num_measurements"),
("tcp.rtt.average"),
("udp.bytes"),
("udp.packets"),
("udp.active"),
("udp.drops"),
("http.status_code"),
("http.active_sockets"),
("http.client.duration_average"),
("http.server.duration_average"),
("dns.active_sockets"),
("dns.responses"),
("dns.timeouts"),
("dns.client.duration_average"),
("dns.server.duration_average")
])
def test_metric_name(setup, metric):
'''
Expand Down