Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobustPerception/azure_metrics_exporter
/ functions
Functions
50 in github.com/RobustPerception/azure_metrics_exporter
⨍
Functions
50
◇
Types & classes
26
↓ 5 callers
Function
checkOverflow
(m map[string]interface{}, ctx string)
config/config.go:193
↓ 4 callers
Function
filterAggregations
(aggregations []string)
utils.go:116
↓ 4 callers
Function
hasAggregation
(aggregations []string, aggregation string)
utils.go:103
↓ 3 callers
Function
CreateResourceLabels
CreateResourceLabels - Returns resource labels for a given resource URL.
utils.go:45
↓ 3 callers
Method
filteredListFromResourceGroup
Returns resource list resolved and filtered from resource_groups configuration
azure.go:382
↓ 3 callers
Function
getAzureMonitorResponse
(azureManagementEndpoint string)
azure.go:497
↓ 3 callers
Function
resourceURLFrom
(resource string, metricNamespace string, metricNames string, aggregations []string)
azure.go:587
↓ 3 callers
Method
validateAggregations
(aggregations []string)
config/config.go:119
↓ 2 callers
Function
CreateAllResourceLabelsFrom
(rm resourceMeta)
utils.go:71
↓ 2 callers
Function
GetResourceType
GetResourceType returns the resource type with the namespace
utils.go:58
↓ 2 callers
Method
extendResources
()
azure.go:520
↓ 2 callers
Method
getAccessToken
()
azure.go:199
↓ 2 callers
Method
getAzureMetricDefinitionResponse
Returns AzureMetricDefinitionResponse for a given resource
azure.go:314
↓ 2 callers
Method
getBatchResponseBody
(urls []string)
azure.go:617
↓ 2 callers
Method
getMetricNamespaceCollectionResponse
Returns MetricNamespaceCollectionResponse for a given resource
azure.go:350
↓ 2 callers
Function
secureString
(value string)
azure.go:492
↓ 1 callers
Function
GetTimes
GetTimes - Returns the endTime and startTime used for querying Azure Metrics API
utils.go:34
↓ 1 callers
Function
NewAzureClient
NewAzureClient returns an Azure client to talk the Azure API
azure.go:191
↓ 1 callers
Method
ReloadConfig
ReloadConfig - allows for live reloads of the configuration file.
config/config.go:33
↓ 1 callers
Method
Validate
()
config/config.go:61
↓ 1 callers
Method
batchCollectMetrics
(ch chan<- prometheus.Metric, resources []resourceMeta)
main.go:130
↓ 1 callers
Method
batchLookupResources
(resources []resourceMeta)
main.go:166
↓ 1 callers
Method
extractAPIVersions
()
azure.go:157
↓ 1 callers
Method
extractMetrics
(ch chan<- prometheus.Metric, rm resourceMeta, httpStatusCode int, metricValueData AzureMetricValueResponse, p
main.go:56
↓ 1 callers
Method
filterResources
Returns a filtered resource list based on a given resource list and regular expressions from the configuration
azure.go:532
↓ 1 callers
Method
filterTypesInResourceList
(types []string)
azure.go:478
↓ 1 callers
Method
filteredListByTag
Returns resource list filtered by tag name and tag value
azure.go:393
↓ 1 callers
Method
findBy
(resourceType string)
azure.go:171
↓ 1 callers
Method
getMetricDefinitions
Returns metric definitions for all configured target and resource groups
azure.go:250
↓ 1 callers
Method
getMetricNamespaces
Returns metric namespaces for all configured target and resource groups.
azure.go:286
↓ 1 callers
Function
latestVersionFrom
(apiList []string)
azure.go:137
↓ 1 callers
Method
listAPIVersions
()
azure.go:457
↓ 1 callers
Method
listByTag
Returns all resource with the given couple tagname, tagvalue
azure.go:427
↓ 1 callers
Method
listFromResourceGroup
Returns all resources for given resource group and types
azure.go:402
↓ 1 callers
Method
refreshAccessToken
()
azure.go:565
Method
Collect
Collect - collect results from Azure Montior API and create Prometheus metrics.
main.go:215
Method
Describe
Describe implemented with dummy data to satisfy interface.
main.go:43
Function
PrintPrettyJSON
PrintPrettyJSON - Prints structs nicely for debugging.
utils.go:25
Function
TestCetResourceType
(t *testing.T)
utils_test.go:72
Function
TestCreateAllResourceLabelsFrom
(t *testing.T)
utils_test.go:32
Function
TestCreateResourceLabels
(t *testing.T)
utils_test.go:8
Method
UnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:205
Method
UnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:217
Method
UnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:229
Method
UnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:241
Method
UnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:253
Method
UnmarshalYAML
UnmarshalYAML implements the yaml.Unmarshaler interface.
config/config.go:265
Function
handler
(w http.ResponseWriter, r *http.Request)
main.go:306
Function
init
()
main.go:35
Function
main
()
main.go:314