통계 수집기를 사용하는 사용자 지정 보고서에 사용자 지정 차원을 추가 할 수없고 아래에 언급 된 변수 정책을 추출 할 수 없습니다.통계 수집기 정책 - 사용자 지정 차원을 추가 할 수 없습니다.
나는 튜토리얼과 워드 프로세서에서 주어진 모든 단계를 따라 왔지만 아직도 붙어있다.
추출 VARIABLE 정책
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ExtractVariables async="false" continueOnError="false" enabled="true" name="Extract- Variables-1">
<DisplayName>Extract Variables 1</DisplayName>
<FaultRules/>
<Properties/>
<Source clearPayload="false">response</Source>
<VariablePrefix></VariablePrefix>
<XMLPayload stopPayloadProcessing="false">
<Namespaces>
<Namespace prefix="yweather">http://xml.weather.yahoo.com/ns/rss/1.0</Namespace>
</Namespaces>
<Variable name="weather.location" type="string">
<XPath>/rss/channel/link</XPath>
</Variable>
<Variable name="weather.condition" type="string">
<XPath>/rss/channel/item/yweather:condition/@text</XPath>
</Variable>
<Variable name="weather.forecast_today" type="string">
<XPath>/rss/channel/item/yweather:forecast[1]/@text</XPath>
</Variable>
<Variable name="weather.forecast_tommorow" type="string">
<XPath>/rss/channel/item/yweather:forecast[2]/@text</XPath>
</Variable>
</XMLPayload>
</ExtractVariables>
통계 수집 정책
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<StatisticsCollector async="false" continueOnError="false" enabled="true" name="Statistics-Collector-1">
<DisplayName>Statistics Collector 1</DisplayName>
<FaultRules/>
<Properties/>
<Statistics>
<Statistic name="location" ref="weather.location" type="string">Earth</Statistic>
<Statistic name="condition" ref="weather.condition" type="string">Sunny</Statistic>
<Statistic name="forecast_today" ref="weather.forecast_today" type="string">Rainy</Statistic>
<Statistic name="forecast_tomorrow" ref="weather.forecast_tomorrow" type="string">Balmy</Statistic>
</Statistics>
</StatisticsCollector>
Apigee Edge에서 디버그를 사용하도록 설정 한 다음 프록시를 통해 요청을 보낼 수 있습니까? 요청이 디버그보기에 캡처 된 것을 보면 파일을 다운로드하고 여기에 첨부하십시오. 디버그 파일은 통계 변수에 값이로드되는지 이해하는 데 도움이됩니다. –
사용자가 직면 한 문제의 성격을 알려주십시오. 사용자 지정 보고서를 만들 때 statscollector 정책에서 언급 한 사용자 지정 차원이 보이지 않거나 statscollector 정책을 실행할 때 오류가 발생했을 수 있습니다. 귀하의 조직 이름도 알려주십시오. –