AppMetrics / Reporting

App Metrics Extensions for reporting metrics

Home Page:http://app-metrics.io/getting-started/reporting/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http reporter not working (.NET CORE 2.0 web api)

alhardy opened this issue · comments

From @mts57017 on January 23, 2018 3:44

is there something special i need to do to post json from app metrics to api endpoint? i am getting http error 415 for all requests

Copied from original issue: AppMetrics/AppMetrics#216

From @mts57017 on January 23, 2018 12:27

so i figured out what is going on....it looks like when app metrics is outputting to then endpoint, it is not in a format that can be picked up by the api. so if i use a stream reader, readtoendasync, i can see the data from the origin, like i am supposed too.

is this a .net core issue? something else?

Do you have a code snippet?

From @mts57017 on January 23, 2018 13:14

image

this is the current config

From @mts57017 on January 23, 2018 13:15

this is how i have to capture now

image