@ -223,8 +223,8 @@ var expectedConf = &Config{
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFallbackProtocol : PrometheusText0_0_4 ,
ScrapeFailureLogFile : "testdata/fail_prom.log" ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -340,8 +340,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : 210 ,
ScrapeProtocols : [ ] ScrapeProtocol { PrometheusText0_0_4 } ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -442,8 +442,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -502,8 +502,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -540,8 +540,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -584,8 +584,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -628,8 +628,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -662,8 +662,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -704,8 +704,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -743,8 +743,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -789,8 +789,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -825,8 +825,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -864,8 +864,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -896,8 +896,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -931,8 +931,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -966,8 +966,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1001,8 +1001,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1033,8 +1033,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1073,8 +1073,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1112,8 +1112,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1148,8 +1148,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1183,8 +1183,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1222,8 +1222,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1264,8 +1264,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1325,8 +1325,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1357,8 +1357,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1400,8 +1400,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1449,8 +1449,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1488,8 +1488,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1528,8 +1528,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1563,8 +1563,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,
@ -1600,8 +1600,8 @@ var expectedConf = &Config{
LabelValueLengthLimit : globLabelValueLengthLimit ,
ScrapeProtocols : DefaultGlobalConfig . ScrapeProtocols ,
ScrapeFailureLogFile : globScrapeFailureLogFile ,
MetricNameValidationScheme : UTF8ValidationConfig ,
MetricNameEscapingScheme : model . AllowUTF8 ,
MetricNameValidationScheme : DefaultGlobalConfig . MetricNameValidationScheme ,
MetricNameEscapingScheme : DefaultGlobalConfig . MetricNameEscapingScheme ,
AlwaysScrapeClassicHistograms : boolPtr ( false ) ,
ConvertClassicHistogramsToNHCB : boolPtr ( false ) ,