8/7/2023 0 Comments Splunk table dedupGrafana exposes metrics for Prometheus on the /metrics endpoint. Url: ' View Grafana metrics with Prometheus # datasourceUid value can be anything, but it should be unique across all defined data source uids. # Field with internal link pointing to data source in Grafana. # Access mode - proxy (server in the UI) or direct (browser in the UI). You can define and configure the data source in YAML files as part of Grafana’s provisioning system.įor more information about provisioning, and for available configuration options, refer to Provisioning Grafana. (Optional) Adds a custom display label to override the value of the Label name field.Īdds a name for the exemplar traceID property. You can interpolate the value from the field by using the $ macro. (Visible only if you disable Internal link) Defines the external link’s full URL. (Visible only if you enable Internal link) Selects the backend tracing data store for your exemplar data. Select the backend tracing data store for your exemplar data. When enabled, this reveals the data source selector. Multiple parameters should be concatenated together with an ‘&’.Įnable this option if you have an internal link. For example timeout, partial_response, dedup, or max_source_resolution. This helps if you have performance issues with bigger Prometheus instances.Īdd custom parameters to the Prometheus query URL. The version of your Prometheus server, note that this field is not visible until the Prometheus type is selected.Ĭhecking this option will disable the metrics chooser and metric/label support in the query field’s autocomplete. Some Prometheus types, such as Cortex, don’t support this API and must be manually populated. When selected, the Version field attempts to populate automatically using the Prometheus buildinfo API. The type of your Prometheus server Prometheus, Cortex, Thanos, Mimir. Change this to GET if you have a Prometheus version older than 2.1 or if POST requests are restricted in your network. POST is the recommended and pre-selected method as it allows bigger queries. Use either POST or GET HTTP method to query your data source. Set this to the typical scrape and evaluation interval configured in Prometheus. Toggle whether to enable Alertmanager integration for this data source. Otherwise change to Server mode to prevent errors.Įnable basic authentication to the Prometheus data source. If Server mode is already selected this option is hidden. The URL of your Prometheus server, for example. This is how you refer to the data source in panels and queries.ĭefault data source that is pre-selected for new panels. Set the data source’s basic configuration options: Name The Settings tab of the data source is displayed. Under Your connections, click Data sources. To configure basic settings for the data source, complete the following steps: The Prometheus data source also works with other projects that implement the Prometheus querying API.įor more information on how to query other Prometheus-compatible projects from Grafana, refer to the specific project’s documentation: Once you’ve added the data source, you can configure it so that your Grafana instance’s users can create queries in its query editor when they build dashboards, use Explore, and annotate visualizations. Only users with the organization administrator role can add data sources.Īdministrators can also configure the data source via YAML with Grafana’s provisioning system. This topic explains options, variables, querying, and other features specific to the Prometheus data source, which include its feature-rich code editor for queries and visual query builder.įor instructions on how to add a data source to Grafana, refer to the administration documentation. Grafana ships with built-in support for Prometheus. Enterprise Open source Prometheus data source
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |