You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 22b3e93
Browse filesBrowse the repository at this point in the historyBrowse files
Add an E2E test to test telemetry metric scraping. The
test sends a request to the Lightspeed /query endpoint
and then sends a query to Prometheus and checks if
ls_llm_calls_total metrics is greater than zero.
Copy file name to clipboardExpand all lines: playbooks/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,10 @@ All parameters can be overridden via the `AnsibleTest` custom resource when runn
26
26
*`pytest_args`: (String) Additional arguments to pass to pytest. Default value: `-v --tb=short --color=yes`
27
27
*`junit_xml_path`: (String) Path where JUnit XML test results will be written. The test-operator provides writable storage at this location. Default value: `/var/lib/AnsibleTests/external_files/test-results.xml`
28
28
*`test_suite_path`: (String) Path to the test suite directory. The test-operator clones git repositories to this location. Default value: `{{ ansible_env.HOME }}/ansible`
29
+
*`prometheus_url`: (String) Telemetry Prometheus URL. Empty by default; required when selecting telemetry tests.
30
+
*`prometheus_ca_cert_path`: (String) Path inside the test pod to a PEM CA bundle for Prometheus. Empty by default, which uses Requests' default trust store. TLS verification is always enabled.
31
+
*`prometheus_api_timeout`: (Number) Timeout in seconds for each Prometheus API request. Default: `10`.
32
+
*`prometheus_scrape_timeout`: (Number) Time in seconds to poll for a positive collected LLM call counter. Default: `120`.
0 commit comments