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

adds method to read test metrics #22

Merged
merged 1 commit into from
Jan 3, 2019
Merged

Conversation

sam-io
Copy link
Contributor

@sam-io sam-io commented Jan 3, 2019

No description provided.

client.go Outdated
@@ -101,14 +102,14 @@ func NewClientAPI(apiURL string, accessToken string) ClientAPI {

func (client *Client) createResource(
resource interface{}, resourceType string, resourceName string, endpoint string) (*response, error) {
DebugF(1, "creating %s %s", resourceType, resourceName)
Copy link
Owner

Choose a reason for hiding this comment

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

Need to call DebugF

test.go Outdated
environmentUUID = "all"
}

log.Printf("[DEBUG] reading %s %s", "metrics", test.ID)
Copy link
Owner

Choose a reason for hiding this comment

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

DebugF

@ewilde ewilde merged commit 2adee83 into ewilde:master Jan 3, 2019
region = "all"
}
if timeframe == "" {
timeframe = "month"
Copy link
Owner

Choose a reason for hiding this comment

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

@sam-io out of interest why do we default to month, api default is day?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

probably because that is the value that I needed for the project I was working on, the default should be day though

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.

None yet

2 participants