Files
fn-serverless/vendor/google.golang.org/api/google-api-go-generator/testdata/repeated.json
Reed Allman 9eaf824398 add jaeger support, link hot container & req span (#840)
* 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
2018-03-13 15:57:12 -07:00

66 lines
1.8 KiB
JSON

{
"kind": "discovery#restDescription",
"etag": "\"kEk3sFj6Ef5_yR1-H3bAO6qw9mI/3m5rB86FE5KuW1K3jAl88AxCreg\"",
"discoveryVersion": "v1",
"id": "repeated:v1",
"name": "repeated",
"version": "v1",
"title": "Example API",
"description": "The Example API demonstrates repeated fields.",
"ownerDomain": "google.com",
"ownerName": "Google",
"protocol": "rest",
"schemas": {
},
"resources": {
"accounts": {
"resources": {
"reports": {
"methods": {
"generate": {
"id": "adsense.accounts.reports.generate",
"path": "accounts/{accountId}/reports",
"httpMethod": "GET",
"description": "Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify \"alt=csv\" as a query parameter.",
"parameters": {
"accountId": {
"type": "string",
"description": "Account upon which to report.",
"required": true,
"location": "path"
},
"currency": {
"type": "string",
"description": "Optional currency to use when reporting on monetary metrics. Defaults to the account's currency if not set.",
"pattern": "[a-zA-Z]+",
"location": "query"
},
"ids": {
"type": "string",
"description": "Select only user profiles with these IDs.",
"format": "int64",
"repeated": true,
"location": "query"
},
"dimension": {
"type": "string",
"description": "Dimensions to base the report on.",
"pattern": "[a-zA-Z_]+",
"repeated": true,
"location": "query"
}
},
"parameterOrder": [
"ids",
"currency",
"accountId",
"dimension"
]
}
}
}
}
}
}
}