mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* add jaeger support, link hot container & req span * adds jaeger support now with FN_JAEGER_URL, there's a simple tutorial in the operating/metrics.md file now and it's pretty easy to get up and running. * links a hot request span to a hot container span. when we change this to sample at a lower ratio we'll need to finagle the hot container span to always sample or something, otherwise we'll hide that info. at least, since we're sampling at 100% for now if this is flipped on, can see freeze/unfreeze etc. if they hit. this is useful for debugging. note that zipkin's exporter does not follow the link at all, hence jaeger... and they're backed by the Cloud Empire now (CNCF) so we'll probably use it anyway. * vendor: add thrift for jaeger
90 lines
3.0 KiB
JSON
90 lines
3.0 KiB
JSON
{
|
|
"kind": "discovery#restDescription",
|
|
"etag": "\"kEk3sFj6Ef5_yR1-H3bAO6qw9mI/3m5rB86FE5KuW1K3jAl88AxCreg\"",
|
|
"discoveryVersion": "v1",
|
|
"id": "getwithoutbody:v1",
|
|
"name": "getwithoutbody",
|
|
"version": "v1",
|
|
"title": "Example API",
|
|
"description": "The Example API demonstrates a GET with a request.",
|
|
"ownerDomain": "google.com",
|
|
"ownerName": "Google",
|
|
"protocol": "rest",
|
|
"schemas": {
|
|
"ListMetricRequest": {
|
|
"id": "ListMetricRequest",
|
|
"type": "object",
|
|
"description": "The request of getwithoutbody.metricDescriptors.list.",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"getwithoutbody#listMetricRequest\".",
|
|
"default": "getwithoutbody#listMetricRequest"
|
|
}
|
|
}
|
|
},
|
|
"ListMetricResponse": {
|
|
"id": "ListMetricResponse",
|
|
"type": "object",
|
|
"description": "The response of getwithoutbody.metricDescriptors.list.",
|
|
"properties": {
|
|
"kind": {
|
|
"type": "string",
|
|
"description": "Identifies what kind of resource this is. Value: the fixed string \"getwithoutbody#listMetricResponse\".",
|
|
"default": "getwithoutbody#listMetricResponse"
|
|
},
|
|
"nextPageToken": {
|
|
"type": "string",
|
|
"description": "Pagination token. If present, indicates that additional results are available for retrieval. To access the results past the pagination limit, set this value to the pageToken query parameter."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"resources": {
|
|
"metricDescriptors": {
|
|
"methods": {
|
|
"list": {
|
|
"id": "getwithoutbody.metricDescriptors.list",
|
|
"path": "{project}/metricDescriptors",
|
|
"httpMethod": "GET",
|
|
"description": "List all of the available metric descriptors. Large number of metric descriptors will be paginated, use the nextPageToken returned in the response to request subsequent pages of results by setting the pageToken query parameter to the value of the nextPageToken.",
|
|
"parameters": {
|
|
"count": {
|
|
"type": "integer",
|
|
"description": "Maximum number of metric descriptors per page. Used for pagination. If not specified, count = 100.",
|
|
"default": "100",
|
|
"format": "int32",
|
|
"minimum": "1",
|
|
"maximum": "1000",
|
|
"location": "query"
|
|
},
|
|
"pageToken": {
|
|
"type": "string",
|
|
"description": "The pagination token, which is used to page through large result sets. Set this value to the value of the nextPageToken to retrieve the next page of results.",
|
|
"location": "query"
|
|
},
|
|
"project": {
|
|
"type": "string",
|
|
"description": "The project id. The value can be the numeric project ID or string-based project name.",
|
|
"required": true,
|
|
"location": "path"
|
|
}
|
|
},
|
|
"parameterOrder": [
|
|
"project"
|
|
],
|
|
"request": {
|
|
"$ref": "ListMetricRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "ListMetricResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/getwithoutbody.readonly"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|