UNPKG

autotel

Version:
30 lines (27 loc) 1.2 kB
declare const HTTPAttributes: { readonly connectionState: "http.connection.state"; readonly requestMethod: "http.request.method"; readonly requestMethodOriginal: "http.request.method_original"; readonly requestResendCount: "http.request.resend_count"; readonly requestSize: "http.request.size"; readonly requestBodySize: "http.request.body.size"; readonly responseSize: "http.response.size"; readonly responseBodySize: "http.response.body.size"; readonly responseStatusCode: "http.response.status_code"; readonly route: "http.route"; }; declare const ServiceAttributes: { readonly name: "service.name"; readonly instance: "service.instance.id"; readonly version: "service.version"; }; declare const URLAttributes: { readonly scheme: "url.scheme"; readonly full: "url.full"; readonly path: "url.path"; readonly query: "url.query"; readonly fragment: "url.fragment"; }; declare function httpRequestHeaderAttribute(name: string): string; declare function httpResponseHeaderAttribute(name: string): string; export { HTTPAttributes, ServiceAttributes, URLAttributes, httpRequestHeaderAttribute, httpResponseHeaderAttribute };