go-graphite / carbonapi

Implementation of graphite API (graphite-web) in golang
Other
308 stars 140 forks source link

[BUG] Whispers under symlinks are not returned for queries (Grafana) with wildcards #806

Open interfan7 opened 8 months ago

interfan7 commented 8 months ago

Describe the bug For metrics in Whisper files which are under symlink (in the path):

It seems some searching functionality may malfunction when there is a symlink in the path of the Whispers.

CarbonAPI Version 0.16.0~1

Logs Will update if I reproduce and find something which might be interesting.

CarbonAPI Configuration: Basically we've barely modified the file versus the default version. We've focused on listening host:port. Will provide if necessary.

Simplified query (if applicable) A general query template is in the description.

Backend metric retention and aggregation schemas Will provide if needed, I believe it is not related to the nature of this issue.

Backend response (if possible) Not sure what to fill-in here other than what is elaborated in description. Our backend is go-carbon, the default behavior. We've not employed other solutions such as clickhouse.

Additional context go-carbon 0.17.1.

Civil commented 8 months ago

On carbonapi level, there is no distinction between symlink or not anymore. I'd suspect that go-carbon returns weird results

interfan7 commented 8 months ago

On carbonapi level, there is no distinction between symlink or not anymore. I'd suspect that go-carbon returns weird results

Do you suggest me to create a new issue in go-carbon project?

(I'm not aware of GH having ability to port issue report to another project? Especially as each project has its own desired reporting format.)

deniszh commented 8 months ago

Do you suggest me to create a new issue in go-carbon project?

I would say that make sense, especially because proper investigation would require some additional information, like, go-carbon config and exact symlink paths.