MCPcopy Create free account

hub / github.com/RobustPerception/azure_metrics_exporter / functions

Functions50 in github.com/RobustPerception/azure_metrics_exporter

↓ 5 callersFunctioncheckOverflow
(m map[string]interface{}, ctx string)
config/config.go:193
↓ 4 callersFunctionfilterAggregations
(aggregations []string)
utils.go:116
↓ 4 callersFunctionhasAggregation
(aggregations []string, aggregation string)
utils.go:103
↓ 3 callersFunctionCreateResourceLabels
CreateResourceLabels - Returns resource labels for a given resource URL.
utils.go:45
↓ 3 callersMethodfilteredListFromResourceGroup
Returns resource list resolved and filtered from resource_groups configuration
azure.go:382
↓ 3 callersFunctiongetAzureMonitorResponse
(azureManagementEndpoint string)
azure.go:497
↓ 3 callersFunctionresourceURLFrom
(resource string, metricNamespace string, metricNames string, aggregations []string)
azure.go:587
↓ 3 callersMethodvalidateAggregations
(aggregations []string)
config/config.go:119
↓ 2 callersFunctionCreateAllResourceLabelsFrom
(rm resourceMeta)
utils.go:71
↓ 2 callersFunctionGetResourceType
GetResourceType returns the resource type with the namespace
utils.go:58
↓ 2 callersMethodextendResources
()
azure.go:520
↓ 2 callersMethodgetAccessToken
()
azure.go:199
↓ 2 callersMethodgetAzureMetricDefinitionResponse
Returns AzureMetricDefinitionResponse for a given resource
azure.go:314
↓ 2 callersMethodgetBatchResponseBody
(urls []string)
azure.go:617
↓ 2 callersMethodgetMetricNamespaceCollectionResponse
Returns MetricNamespaceCollectionResponse for a given resource
azure.go:350
↓ 2 callersFunctionsecureString
(value string)
azure.go:492
↓ 1 callersFunctionGetTimes
GetTimes - Returns the endTime and startTime used for querying Azure Metrics API
utils.go:34
↓ 1 callersFunctionNewAzureClient
NewAzureClient returns an Azure client to talk the Azure API
azure.go:191
↓ 1 callersMethodReloadConfig
ReloadConfig - allows for live reloads of the configuration file.
config/config.go:33
↓ 1 callersMethodValidate
()
config/config.go:61
↓ 1 callersMethodbatchCollectMetrics
(ch chan<- prometheus.Metric, resources []resourceMeta)
main.go:130
↓ 1 callersMethodbatchLookupResources
(resources []resourceMeta)
main.go:166
↓ 1 callersMethodextractAPIVersions
()
azure.go:157
↓ 1 callersMethodextractMetrics
(ch chan<- prometheus.Metric, rm resourceMeta, httpStatusCode int, metricValueData AzureMetricValueResponse, p
main.go:56
↓ 1 callersMethodfilterResources
Returns a filtered resource list based on a given resource list and regular expressions from the configuration
azure.go:532
↓ 1 callersMethodfilterTypesInResourceList
(types []string)
azure.go:478
↓ 1 callersMethodfilteredListByTag
Returns resource list filtered by tag name and tag value
azure.go:393
↓ 1 callersMethodfindBy
(resourceType string)
azure.go:171
↓ 1 callersMethodgetMetricDefinitions
Returns metric definitions for all configured target and resource groups
azure.go:250
↓ 1 callersMethodgetMetricNamespaces
Returns metric namespaces for all configured target and resource groups.
azure.go:286
↓ 1 callersFunctionlatestVersionFrom
(apiList []string)
azure.go:137
↓ 1 callersMethodlistAPIVersions
()
azure.go:457
↓ 1 callersMethodlistByTag
Returns all resource with the given couple tagname, tagvalue
azure.go:427
↓ 1 callersMethodlistFromResourceGroup
Returns all resources for given resource group and types
azure.go:402
↓ 1 callersMethodrefreshAccessToken
()
azure.go:565
MethodCollect
Collect - collect results from Azure Montior API and create Prometheus metrics.
main.go:215
MethodDescribe
Describe implemented with dummy data to satisfy interface.
main.go:43
FunctionPrintPrettyJSON
PrintPrettyJSON - Prints structs nicely for debugging.
utils.go:25
FunctionTestCetResourceType
(t *testing.T)
utils_test.go:72
FunctionTestCreateAllResourceLabelsFrom
(t *testing.T)
utils_test.go:32
FunctionTestCreateResourceLabels
(t *testing.T)
utils_test.go:8
MethodUnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:205
MethodUnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:217
MethodUnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:229
MethodUnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:241
MethodUnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:253
MethodUnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:265
Functionhandler
(w http.ResponseWriter, r *http.Request)
main.go:306
Functioninit
()
main.go:35
Functionmain
()
main.go:314