{"modulePath":"github.com/influxdata/telegraf","version":"v1.40.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package openstack\n\nPackage openstack implements an OpenStack input plugin for Telegraf\n\nThe OpenStack input plug is a simple two phase metric collector.  In the first pass a set of gatherers are run against the API to cache collections of resources. In the second phase the gathered resources are combined and emitted as metrics.\n\nNo aggregation is performed by the input plugin, instead queries to InfluxDB should be used to gather global totals of things such as tag frequency.\n\n## Types\n\n```go\ntype OpenStack struct {\n\t// Configuration variables\n\tIdentityEndpoint string          `toml:\"authentication_endpoint\"`\n\tDomain           string          `toml:\"domain\"`\n\tProject          string          `toml:\"project\"`\n\tUsername         string          `toml:\"username\"`\n\tPassword         string          `toml:\"password\"`\n\tEnabledServices  []string        `toml:\"enabled_services\"`\n\tOutputSecrets    bool            `toml:\"output_secrets\"`\n\tTagPrefix        string          `toml:\"tag_prefix\"`\n\tTagValue         string          `toml:\"tag_value\"`\n\tHumanReadableTS  bool            `toml:\"human_readable_timestamps\"`\n\tMeasureRequest   bool            `toml:\"measure_openstack_requests\"`\n\tAllTenants       bool            `toml:\"query_all_tenants\"`\n\tLog              telegraf.Logger `toml:\"-\"`\n\tcommon_http.HTTPClientConfig\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (o *OpenStack) Gather(acc telegraf.Accumulator) error\n```\n\n```go\nfunc (o *OpenStack) Init() error\n```\n\n```go\nfunc (*OpenStack) SampleConfig() string\n```\n\n```go\nfunc (o *OpenStack) Start(telegraf.Accumulator) error\n```\n\n```go\nfunc (o *OpenStack) Stop()\n```\n\n","path":"github.com/influxdata/telegraf/plugins/inputs/openstack","name":"openstack","synopsis":"Package openstack implements an OpenStack input plugin for Telegraf","isRedistributable":true}
