ropee icon indicating copy to clipboard operation
ropee copied to clipboard

logging and sending metrics issue

Open codingL3gend opened this issue 4 years ago • 4 comments

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

codingL3gend avatar Jun 09 '20 03:06 codingL3gend

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?

kebe7jun avatar Jun 10 '20 06:06 kebe7jun

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

codingL3gend avatar Jun 10 '20 13:06 codingL3gend

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

kebe7jun avatar Jun 11 '20 02:06 kebe7jun

sounds good.

codingL3gend avatar Jun 11 '20 03:06 codingL3gend