You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/09/03 12:12:34 UTC
[GitHub] [skywalking] ramonli opened a new issue #5436: How does SkywalkingMeterRegistry send mertrics to the OAP backend?
ramonli opened a new issue #5436:
URL: https://github.com/apache/skywalking/issues/5436
I just can't make my spring boot application work with skywalking according to **https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/spring-sleuth-setup.md**
Setup agent

Setup skywalking meter-registry:
@Bean
public SkywalkingMeterRegistry skywalkingMeterRegistry() {
// Add rate configs If you need, otherwise using none args construct
SkywalkingConfig config = new SkywalkingConfig(Arrays.asList(""));
return new SkywalkingMeterRegistry(config);
}
Create counter:
@PostMapping("/search-group")
public ProductSearchGroupInfo searchGroupInfo(SearchInputParamInfo searchInputParam) {
ProductSearchGroupInfo groupInfo = this.productSearchFacadeProvider.searchGroupInfo(searchInputParam);
Counter saleCounter = Counter.builder("product.search-group").tag("category", "test-skywalking")
.register(this.meterRegistry);
saleCounter.increment();
return groupInfo;
}
And then the backend setting:
// spring-sleuth.yaml

// application.yaml

Finally at the web UI, I have no idea how to configure this item to make it work.

Also I really wonder how does SkywalkingMeterRegistry send mertrics to the OAP backend? just no document found.
Thanks a lot.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] wu-sheng closed issue #5436: How does SkywalkingMeterRegistry send mertrics to the OAP backend?
Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5436:
URL: https://github.com/apache/skywalking/issues/5436
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] ramonli commented on issue #5436: How does SkywalkingMeterRegistry send mertrics to the OAP backend?
Posted by GitBox <gi...@apache.org>.
ramonli commented on issue #5436:
URL: https://github.com/apache/skywalking/issues/5436#issuecomment-686447427

Seem the built-in sleuth pane works well.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] wu-sheng commented on issue #5436: How does SkywalkingMeterRegistry send mertrics to the OAP backend?
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5436:
URL: https://github.com/apache/skywalking/issues/5436#issuecomment-686448336
I don't follow what you mean. The document is here, https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-meter.md#meters-configure, which has been linked in the documents you posted.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org