Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Sep 26, 2024
1 parent 6bf650a commit ef52eef
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Documentation is [available here](https://kube-burner.github.io/kube-burner-ocp/
Some of the benefits the OCP wrapper provides are:

- Simplified execution of the supported workloads. (Only some flags are required)
- Adds OpenShift metadata to the generated documents.
- Adds OpenShift metadata to generated jobSummary and a small subset of metadata fields to the remaining metrics.
- Prevents modifying configuration files to tweak some of the parameters of the workloads.
- Discovers the Prometheus URL and authentication token, so the user does not have to perform those operations before using them.
- Workloads configuration is directly embedded in the binary.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ require (
sigs.k8s.io/yaml v1.3.0 // indirect
)

replace github.com/kube-burner/kube-burner => github.com/rsevilla87/kube-burner v1.7.6-0.20240926073724-2b0caacee619
replace github.com/kube-burner/kube-burner => github.com/rsevilla87/kube-burner v1.7.6-0.20240926090502-2e59036445b9
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,8 @@ github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6L
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog=
github.com/rsevilla87/kube-burner v1.7.6-0.20240926073724-2b0caacee619 h1:B4QRIyyym1mo5dS8hNr8zzbDDghjbh8oUdb8zZukZnY=
github.com/rsevilla87/kube-burner v1.7.6-0.20240926073724-2b0caacee619/go.mod h1:NKtSusPSi2rmS5kYAYC1A+JTsC4RsI0VIHFt6ET4EJE=
github.com/rsevilla87/kube-burner v1.7.6-0.20240926090502-2e59036445b9 h1:ttXzGjTFu7ooOfHq4jZWDEZbO/aUxY4NbBnXMwZAnYw=
github.com/rsevilla87/kube-burner v1.7.6-0.20240926090502-2e59036445b9/go.mod h1:NKtSusPSi2rmS5kYAYC1A+JTsC4RsI0VIHFt6ET4EJE=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
Expand Down
3 changes: 2 additions & 1 deletion test/helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ print_events() {
check_metric_value() {
sleep 3s # There's some delay on the documents to show up in OpenSearch
for metric in "${@}"; do
endpoint="${ES_SERVER}/${ES_INDEX}/_search?q=uuid.keyword:${UUID}+AND+metricName.keyword:${metric}+AND+ocpVersion.keyword:*"
query="uuid.keyword:${UUID}+AND+metricName.keyword:${metric}+AND+(metadata.ocpVersion.keyword:*+OR+ocpVersion.keyword:*)"
endpoint="${ES_SERVER}/${ES_INDEX}/_search?q=${query}"
RESULT=$(curl -sS ${endpoint} | jq '.hits.total.value // error')
RETURN_CODE=$?
if [ "${RETURN_CODE}" -ne 0 ]; then
Expand Down

0 comments on commit ef52eef

Please sign in to comment.