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

HTTP Grafana #1562

Closed
wants to merge 12 commits into from
Closed

HTTP Grafana #1562

wants to merge 12 commits into from

Conversation

Alan-Cha
Copy link
Member

No description provided.

@Alan-Cha
Copy link
Member Author

Fixes #1537
Fixes #1538
Fixes #1547
Fixes #1548
Fixes #1549
Fixes #1550
Fixes #1551

Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Signed-off-by: Alan Cha <[email protected]>
Comment on lines 12 to 15
abnmetrics:
endpoint: iter8-abn:50051

### resources are the resource limits for the pods
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to add this since we moved to Grafana.

Comment on lines 70 to 72
err := os.Setenv(base.MetricsServerURL, "http://iter8.default:8080")
assert.NoError(t, err)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not clear that this is needed.

Comment on lines 40 to 48
Name string

// Namespace is the namespace the experiment was deployed in
Namespace string
}

// Experiment struct containing spec and result
type Experiment struct {
Metadata ExperimentMetadata
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add go tags json:"" yaml:""

// getFortioResults collects Fortio run results
// func (t *collectHTTPTask) getFortioResults() (*fhttp.HTTPRunnerResults, error) {
// key is the metric prefix
func (t *collectHTTPTask) getFortioResults() (map[string]*fhttp.HTTPRunnerResults, error) {
// key is the endpoint
func (t *collectHTTPTask) getFortioResults() (map[string]fhttp.HTTPRunnerResults, error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we are attempting to keep the old functionality, I think it better to leave the data structure the same.

Comment on lines 386 to 388
// TODO: warmup option
// // ignore results if warmup
// if t.With.Warmup != nil && *t.With.Warmup {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do this

}

// httpEndpointPanel is the data needed to produce a single panel for
type httpEndpointPanel struct {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

httpEndpointRow ?

@Alan-Cha Alan-Cha closed this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants