Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Aug 27, 2016

When run on Travis, the unique_resource_id() function causes the type name to exceed 40 characters: reducing the prefix length empirically allows the create() | delete() pair to work as intended.

Towards #2176.

When run on Travis, the 'unique_resource_id()' function causes the type name to exceed 40 characters: reducing the prefix length empirically allows the 'create()' | 'delete()' pair to work as intended.
@tseaver tseaver added api: monitoring Issues related to the Cloud Monitoring API. flaky labels Aug 27, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 27, 2016
@dhermes
Copy link
Contributor

dhermes commented Aug 27, 2016

OK a 500 was totally the wrong error. LGTM

@tseaver tseaver merged commit 3784293 into googleapis:master Aug 27, 2016
@tseaver tseaver deleted the monitoring-shorten-descriptor-names branch August 27, 2016 12:30
@rimey
Copy link
Contributor

rimey commented Aug 27, 2016

The conversation above could give the mistaken impression that the limit imposed by the API on the length of metric type names is 40 characters, so I'd just like to clarify that the limit is supposed to be 100 characters.

@dhermes
Copy link
Contributor

dhermes commented Aug 29, 2016

Similarly, the 500 gives the mistaken impression that the error is transient.

@rimey
Copy link
Contributor

rimey commented Aug 29, 2016

Why would a 500 give the impression that the error is transient?

@dhermes
Copy link
Contributor

dhermes commented Aug 29, 2016

"500 Internal Server Error" indicates the backend failed to handle the request. I guess as a user I just assume a Google API won't fail to handle the same valid request on a consistent basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: monitoring Issues related to the Cloud Monitoring API. cla: yes This human has signed the Contributor License Agreement.

5 participants