Skip to content

Commit

Permalink
additional scenario
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bacher <[email protected]>
  • Loading branch information
bacherfl committed Sep 24, 2024
1 parent f5f7af8 commit b65cc9d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions internal/testbed/load/tests/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,30 @@ func TestPrometheusMetric(t *testing.T) {
},
processors: metricProcessors,
},
{
name: "Prometheus Prometheus 1kDPS - 5 Prometheus Endpoints",
sender: datasenders2.NewMultiHostPrometheusDataSender(testbed.DefaultHost, getAvailablePorts(t, 5)),
receiver: testbed.NewOTLPDataReceiver(testutil.GetAvailablePort(t)),
extendedLoadOptions: ExtendedLoadOptions{
resourceSpec: testbed.ResourceSpec{
ExpectedMaxCPU: 150,
ExpectedMaxRAM: 1500,
},
loadOptions: &testbed.LoadOptions{
DataItemsPerSecond: 1,
ItemsPerBatch: 1,
Parallel: 1,
},
attrCount: 25,
attrSizeByte: 20,
attrKeySizeByte: 100,
scrapeLoadOptions: scrapeLoadOptions{
numberOfMetrics: 1000,
scrapeIntervalMilliSeconds: 1000,
},
},
processors: metricProcessors,
},
{
name: "Prometheus Prometheus 1kDPS - 10 Prometheus Endpoints",
sender: datasenders2.NewMultiHostPrometheusDataSender(testbed.DefaultHost, getAvailablePorts(t, 10)),
Expand Down

0 comments on commit b65cc9d

Please sign in to comment.