Assigned
Status Update
Comments
ng...@google.com <ng...@google.com> #2
Interesting request. Given the above scenario you've described, I wanted to see what behavior would occur if using those special labels with a custom trace. I sent the following:
PATCHhttps://cloudtrace.googleapis.com/v1/projects/{projectId}/traces
{
"traces": [
{
"projectId": "{projectId}",
"traceId": "12345678123456781234567812345678",
"spans": [
{
"spanId": "1",
"kind": "SPAN_KIND_UNSPECIFIED",
"name": "Example span name",
"startTime": "2017-05-22T17:01:33.045123456Z",
"endTime": "2017-05-22T17:01:35.045123456Z",
"labels": {
"g.co/gae/app/module ": "custom-external-module",
"g.co/gae/app/module_version ": "v1"
}
}
]
}
]
}
With the above trace successfully patched, I could see the `custom-external-module` Service in the trace details. I could not however, see the `custom-external-module` listed in the Services drop down nor the version `v1` shown anywhere. From this result, I presume that the Services drop down is populated the actual GAE service names and the Service field in the detailed view, with the trace labels.
1. Did you want `custom-external-module` to be listed and the Service drop-down and `v1` listed in the Version drop-down? If not, have I misunderstood your request?
2. For the time being, have you considered using more elaborate trace filters[0] to see the traces you want? If this does not work for you, can you provide an example of a set of traces you'd like to see in a single search or filter?
3. Regarding the documentation of "special" labels (or lack there of), the TraceSpan reference[1] currently only includes some of the predefined labels starting with "/". The "g.co/.. ." predefined labels are not listed here. Is there you'd like to see all "g.co/ " labels listed?
[0]:https://cloud.google.com/trace/docs/trace-filters
[1]:https://cloud.google.com/trace/docs/reference/v1/rest/v1/projects.traces#tracespan
PATCH
{
"traces": [
{
"projectId": "{projectId}",
"traceId": "12345678123456781234567812345678",
"spans": [
{
"spanId": "1",
"kind": "SPAN_KIND_UNSPECIFIED",
"name": "Example span name",
"startTime": "2017-05-22T17:01:33.045123456Z",
"endTime": "2017-05-22T17:01:35.045123456Z",
"labels": {
"
"
}
}
]
}
]
}
With the above trace successfully patched, I could see the `custom-external-module` Service in the trace details. I could not however, see the `custom-external-module` listed in the Services drop down nor the version `v1` shown anywhere. From this result, I presume that the Services drop down is populated the actual GAE service names and the Service field in the detailed view, with the trace labels.
1. Did you want `custom-external-module` to be listed and the Service drop-down and `v1` listed in the Version drop-down? If not, have I misunderstood your request?
2. For the time being, have you considered using more elaborate trace filters[0] to see the traces you want? If this does not work for you, can you provide an example of a set of traces you'd like to see in a single search or filter?
3. Regarding the documentation of "special" labels (or lack there of), the TraceSpan reference[1] currently only includes some of the predefined labels starting with "/". The "
[0]:
[1]:
ma...@workiva.com <ma...@workiva.com> #3
Hello and thank you for your response.
Answers to Questions:
1. Did you want `custom-external-module` to be listed and the Service drop-down and `v1` listed in the Version drop-down? If not, have I misunderstood your request?
Yes. You understood correctly.
2. For the time being, have you considered using more elaborate trace filters[0] to see the traces you want? If this does not work for you, can you provide an example of a set of traces you'd like to see in a single search or filter?
This is what I'm currently doing. It is a bit confusing to have some services available by drop-down and the other's requiring to use filters.
3. Regarding the documentation of "special" labels (or lack there of), the TraceSpan reference[1] currently only includes some of the predefined labels starting with "/". The "g.co/.. ." predefined labels are not listed here. Is there you'd like to see all "g.co/ " labels listed?
Yes, I'd like to see a comprehensive list of labels with a description of what they're used for, and what Stackdriver features require them.
Additional:
I'm hopeful that the use of google's internal labels will give us more consistency in our traces. So that the labeling, presentation, and functionality are the same, regardless of whether they originated on App Engine or elsewhere.
I am also hopeful that at some point we'll be able to see aggregate stats for a given service (ie, how many traces collected per hour, etc), and easily be able to compare these against other services, so that we have a relative idea of how busy a given service is, as well as some high level view of performance by service.
Thank you,
Answers to Questions:
1. Did you want `custom-external-module` to be listed and the Service drop-down and `v1` listed in the Version drop-down? If not, have I misunderstood your request?
Yes. You understood correctly.
2. For the time being, have you considered using more elaborate trace filters[0] to see the traces you want? If this does not work for you, can you provide an example of a set of traces you'd like to see in a single search or filter?
This is what I'm currently doing. It is a bit confusing to have some services available by drop-down and the other's requiring to use filters.
3. Regarding the documentation of "special" labels (or lack there of), the TraceSpan reference[1] currently only includes some of the predefined labels starting with "/". The "
Yes, I'd like to see a comprehensive list of labels with a description of what they're used for, and what Stackdriver features require them.
Additional:
I'm hopeful that the use of google's internal labels will give us more consistency in our traces. So that the labeling, presentation, and functionality are the same, regardless of whether they originated on App Engine or elsewhere.
I am also hopeful that at some point we'll be able to see aggregate stats for a given service (ie, how many traces collected per hour, etc), and easily be able to compare these against other services, so that we have a relative idea of how busy a given service is, as well as some high level view of performance by service.
Thank you,
ng...@google.com <ng...@google.com> #4
I have forwarded this feature request to the engineering team. Any questions, comments or updates they may have will be posted here. Thanks again for bringing this up.
ms...@gmail.com <ms...@gmail.com> #5
I m done at surrender I can't bear the abuse and isolation anymore I'll sign up he divorce and you no longer have to worry yourself with me
Description
Currently we set labels on our traces, such as:
"
"
And what I'm wondering is whether or not these are labels we should be using when pushing data from outside sources?
I don't see them documented anywhere, however, we want our outside services to have the same type of functionality that other first-class modules have, in terms of being able to select the service/version from a drop-down and seeing the related traces.
I'm also wondering what other 'special' labels/tags are out there, and how best we can use them with out services that use Google Stackdriver.