-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/snmp] Snmp add integration tests #15674
[receiver/snmp] Snmp add integration tests #15674
Conversation
pinging @djaglowski @StefanKurek as code owners |
receiver/snmpreceiver/testdata/integration/v3_config_expected_metrics.json
Outdated
Show resolved
Hide resolved
receiver/snmpreceiver/testdata/integration/integration_test_v2c_config.yaml
Outdated
Show resolved
Hide resolved
receiver/snmpreceiver/testdata/integration/integration_test_v2c_config.yaml
Show resolved
Hide resolved
1.3.6.1.4.1.2021.10.1.4.3|4|Load-3 | ||
1.3.6.1.4.1.2021.10.1.5.1|2|1 | ||
1.3.6.1.4.1.2021.10.1.5.2|2|2 | ||
1.3.6.1.4.1.2021.10.1.5.3|2|3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.3.6.1.4.1.2021.10.1.5.3|2|3 | |
1.3.6.1.4.1.2021.10.1.5.3|2|3 | |
pipelines: | ||
metrics: | ||
receivers: [snmp] | ||
exporters: [nop] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exporters: [nop] | |
exporters: [nop] | |
pipelines: | ||
metrics: | ||
receivers: [snmp] | ||
exporters: [nop] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exporters: [nop] | |
exporters: [nop] | |
] | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
} | |
] | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
} | |
receiver/snmpreceiver/testdata/integration/integration_test_v2c_config.yaml
Show resolved
Hide resolved
@tamir-michaeli, this looks good - just need to fix the file endings and resolve conflicts |
…c, expected metrics and config files
* SNMP Receiver added integration tests Co-authored-by: Stefan Kurek <[email protected]>
* SNMP Receiver added integration tests Co-authored-by: Stefan Kurek <[email protected]>
Description:
Adds integration tests for the SNMP Metric Receiver.
Link to tracking Issue:
#13409
Testing:
Added integration tests for scraper functionality
Documentation:
No new documentation needed