kebe7jun / ropee

A scalable prometheus remote storage adapter for splunk.
Apache License 2.0
58 stars 6 forks source link

logging and sending metrics issue #11

Open codingL3gend opened 4 years ago

codingL3gend commented 4 years ago

currently i am not seeing any detailed logging. even set DEBUG environment variable to true. i need to figure out if/why the metrics are failing to send to my splunk instance. perhaps it has something to do with the setBasicAuth implementation which i'd like to ask a question about as well if it can accept a value in the form of Authorization: Splunk token. any help would be greatly appreciated

kebe7jun commented 4 years ago

Ohhh, this really lacks debug log info, I can optimize the debug log for that.

perhaps it has something to do with the setBasicAuth implementation which i'd like to ask a question about as well if it can accept a value in the form of Authorization: Splunk token

that means you wantn't set user and password?

codingL3gend commented 4 years ago

i was able to get it working. it was an issue on my behalf with not using the FQDN of our splunk server. however would it be possible to get an option to not have to use basic auth for the remote_read configuration and to be able to use the token auth similar to how the write does? I was going to modify the source to see if this can happen first but I figure I'd ask before I go down that road

kebe7jun commented 4 years ago

I see, of course you can do that. : ) It sounds a good feature.

codingL3gend commented 4 years ago

sounds good.