influxdata / influxdata/telegraf

Solr performance statistics missing values

Open
#16,162 2 comments 0 reactions 1 assignee Claimed by @srebhan View on GitHub
bug
Dominant language
Go
Stars
17.8k
Forks
5.8k
Avg merge
1d 20h
Merged PRs (30d)
161

Description

### Relevant telegraf.conf

I test the telegraph v. 1.32.2 to the Solr v.8.11.3 with the result that the fields solr_queryhandler and solr_requesthandler all zero values provide.
One and a half year ago i use a Solr v.6 and the values are filled.

What endpoint can i check or provide to find out more informations?

### Logs from Telegraf

```text
2024-11-07T09:24:49Z I! Loading config: telegraf_solr_dynVar.conf
2024-11-07T09:24:49Z I! Starting Telegraf 1.32.2 brought to you by InfluxData the makers of InfluxDB
2024-11-07T09:24:49Z I! Available plugins: 235 inputs, 9 aggregators, 32 processors, 26 parsers, 62 outputs, 5 secret-stores
2024-11-07T09:24:49Z I! Loaded inputs: solr
2024-11-07T09:24:49Z I! Loaded aggregators:
2024-11-07T09:24:49Z I! Loaded processors:
2024-11-07T09:24:49Z I! Loaded secretstores:
2024-11-07T09:24:49Z I! Loaded outputs: influxdb_v2
2024-11-07T09:24:49Z I! Tags enabled: host=jus-se-teas110
2024-11-07T09:24:49Z I! [agent] Config: Interval:20s, Quiet:false, Hostname:"jus-se-teas110", Flush Interval:20s
2024-11-07T09:24:49Z D! [agent] Initializing plugins
2024-11-07T09:24:49Z D! [agent] Connecting outputs
2024-11-07T09:24:49Z D! [agent] Attempting connection to [outputs.influxdb_v2]
2024-11-07T09:24:49Z D! [agent] Successfully connected to outputs.influxdb_v2
2024-11-07T09:24:49Z D! [agent] Starting service inputs
2024-11-07T09:24:49Z D! [inputs.solr] Found API version 2 for server "http://jus-se-teas110:52104"...
2024-11-07T09:25:09Z D! [outputs.influxdb_v2] Wrote batch of 97 metrics in 74.3073ms
2024-11-07T09:25:09Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 10000 metrics
2024-11-07T09:25:29Z D! [outputs.influxdb_v2] Wrote batch of 97 metrics in 12.9024ms
```

### System info

telegraph 1.32.2, Solr 8.11

### Docker

_No response_

### Steps to reproduce

1. Define the server URL
[[inputs.solr]]
servers = ["http://${solrhostname}:${solrport}"]
2. start telegraf
3. for example look in the influxdb Data exporter

### Expected behavior

You should see higher values then zero.
![solr_v 6](https://github.com/user-attachments/assets/a00d9e63-a377-44fb-ba3d-289ee5c811ab)

### Actual behavior

You see only zero values and get no hint in the debug.log.

### Additional info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.