@@ -12,30 +12,30 @@ status:
1212resource_attributes :
1313
1414attributes :
15- http.url :
16- description : Full HTTP request URL.
15+ error.message :
16+ description : Error message recorded during check
1717 type : string
18- http.status_code :
19- description : HTTP response status code
20- type : int
2118 http.method :
2219 description : HTTP request method
2320 type : string
2421 http.status_class :
2522 description : HTTP response status class
2623 type : string
27- error.message :
28- description : Error message recorded during check
24+ http.status_code :
25+ description : HTTP response status code
26+ type : int
27+ http.tls.cn :
28+ description : The commonName in the subject of the certificate.
2929 type : string
3030 http.tls.issuer :
3131 description : The entity that issued the certificate.
3232 type : string
33- http.tls.cn :
34- description : The commonName in the subject of the certificate.
35- type : string
3633 http.tls.san :
3734 description : The Subject Alternative Name of the certificate.
3835 type : slice
36+ http.url :
37+ description : Full HTTP request URL.
38+ type : string
3939 network.transport :
4040 description : OSI transport layer or inter-process communication method.
4141 type : string
@@ -44,17 +44,33 @@ attributes:
4444 type : string
4545
4646metrics :
47- httpcheck.status :
48- description : 1 if the check resulted in status_code matching the status_class, otherwise 0 .
49- enabled : true
47+ httpcheck.client.connection.duration :
48+ description : Time spent establishing TCP connection to the endpoint .
49+ enabled : false
5050 stability :
5151 level : development
52- sum :
52+ gauge :
5353 value_type : int
54- aggregation_temporality : cumulative
55- monotonic : false
56- unit : " 1"
57- attributes : [http.url, http.status_code, http.method, http.status_class]
54+ unit : ms
55+ attributes : [http.url, network.transport]
56+ httpcheck.client.request.duration :
57+ description : Time spent sending the HTTP request to the endpoint.
58+ enabled : false
59+ stability :
60+ level : development
61+ gauge :
62+ value_type : int
63+ unit : ms
64+ attributes : [http.url]
65+ httpcheck.dns.lookup.duration :
66+ description : Time spent performing DNS lookup for the endpoint.
67+ enabled : false
68+ stability :
69+ level : development
70+ gauge :
71+ value_type : int
72+ unit : ms
73+ attributes : [http.url]
5874 httpcheck.duration :
5975 description : Measures the duration of the HTTP check.
6076 enabled : true
@@ -75,71 +91,55 @@ metrics:
7591 monotonic : false
7692 unit : " {error}"
7793 attributes : [http.url, error.message]
78- httpcheck.tls.cert_remaining :
79- description : Time in seconds until certificate expiry, as specified by `NotAfter` field in the x.509 certificate. Negative values represent time in seconds since expiration.
80- enabled : false
81- stability :
82- level : development
83- gauge :
84- value_type : int
85- unit : " s"
86- attributes : [http.url, http.tls.issuer, http.tls.cn, http.tls.san]
87- httpcheck.dns.lookup.duration :
88- description : Time spent performing DNS lookup for the endpoint.
94+ httpcheck.response.duration :
95+ description : Time spent receiving the HTTP response from the endpoint.
8996 enabled : false
9097 stability :
9198 level : development
9299 gauge :
93100 value_type : int
94101 unit : ms
95102 attributes : [http.url]
96- httpcheck.client.connection.duration :
97- description : Time spent establishing TCP connection to the endpoint.
98- enabled : false
99- stability :
100- level : development
101- gauge :
102- value_type : int
103- unit : ms
104- attributes : [http.url, network.transport]
105- httpcheck.tls.handshake.duration :
106- description : Time spent performing TLS handshake with the endpoint.
103+ httpcheck.response.size :
104+ description : Size of response body in bytes.
107105 enabled : false
108106 stability :
109107 level : development
110108 gauge :
111109 value_type : int
112- unit : ms
110+ unit : " By "
113111 attributes : [http.url]
114- httpcheck.client.request.duration :
115- description : Time spent sending the HTTP request to the endpoint .
116- enabled : false
112+ httpcheck.status :
113+ description : 1 if the check resulted in status_code matching the status_class, otherwise 0 .
114+ enabled : true
117115 stability :
118116 level : development
119- gauge :
117+ sum :
120118 value_type : int
121- unit : ms
122- attributes : [http.url]
123- httpcheck.response.duration :
124- description : Time spent receiving the HTTP response from the endpoint.
119+ aggregation_temporality : cumulative
120+ monotonic : false
121+ unit : " 1"
122+ attributes : [http.url, http.status_code, http.method, http.status_class]
123+ httpcheck.tls.cert_remaining :
124+ description : Time in seconds until certificate expiry, as specified by `NotAfter` field in the x.509 certificate. Negative values represent time in seconds since expiration.
125125 enabled : false
126126 stability :
127127 level : development
128128 gauge :
129129 value_type : int
130- unit : ms
131- attributes : [http.url]
132- httpcheck.response.size :
133- description : Size of response body in bytes .
130+ unit : " s "
131+ attributes : [http.url, http.tls.issuer, http.tls.cn, http.tls.san ]
132+ httpcheck.tls.handshake.duration :
133+ description : Time spent performing TLS handshake with the endpoint .
134134 enabled : false
135135 stability :
136136 level : development
137137 gauge :
138138 value_type : int
139- unit : " By "
139+ unit : ms
140140 attributes : [http.url]
141- httpcheck.validation.passed :
142- description : Number of response validations that passed .
141+ httpcheck.validation.failed :
142+ description : Number of response validations that failed .
143143 enabled : false
144144 stability :
145145 level : development
@@ -149,8 +149,8 @@ metrics:
149149 monotonic : false
150150 unit : " {validation}"
151151 attributes : [http.url, validation.type]
152- httpcheck.validation.failed :
153- description : Number of response validations that failed .
152+ httpcheck.validation.passed :
153+ description : Number of response validations that passed .
154154 enabled : false
155155 stability :
156156 level : development
0 commit comments