New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use URI statistics #10964
Comments
Any logs on pinpoint agent or pinpoint collector would be very helpful. |
Are there any keywords? Look, they are all related to INFO level logs. |
I wanted to check if connection between agent and collector is well established without any errors, and if there's any successful transactions between them. Pinpoint configuration properties are also being logged so you may check that too. |
Thank you so much |
You don't need to compile the code. It should work with the distributed jar file. |
Did you set |
Where is pinot's kafka setting? Currently, my kafka is on this machine. /usr/lib/jvm/jdk-11.0.20/bin/java -jar -Dpinpoint.zookeeper.address=localhost -Dspring.config.additional-location=/root/pinpoint/collector.properties pinpoint-collector-starter-boot-2.5.3.jar pinpoint.pinot.jdbc.url=jdbc:pinot://localhost:9000 pinpoint.metric.kafka.bootstrap.servers=localhost:9092 pinpoint.collector.type=ALL collector.stat.uri=true kafka.uri.topic=url-stat pinpoint.pinot.tenantId=DefaultTenant |
I checked the collector log and the Kafka related information looks normal. I’m not sure if it’s because of writing localhost or because kafka is not configured in Pinot. |
Could you please tell me which IP address should be used for kafka? Is it ok to write localhost? If not set, it uses the value for "listeners".advertised.listeners=PLAINTEXT://localhost:9092 Do you need to write the external IP address of the host here? |
Thank you very much. It seems to be a kafka configuration problem. Now there is data in pinot, but there is still no data in web url_statisic. mdm-test-1 1.5 MDM-test-1 3 0 0 0 0 0 0 0 0 0 2150 But I didn’t check it on the web |
you need to set |
OK, thank you. Now you can write without setting an account and password. |
did you try with username and password configuration and it still didn't work? |
I haven't tried this yet |
"I found the problem. The query is going with WHERE tenantId = 'pinpoint', but in my database, the default is tenantId = 'DefaultTenant'. Looking at the table structure, it shows:
How do I update this? Can I set the default to 'pinpoint'?" |
I have solved this problem by configuring when starting the web |
DefaultTenant is used for Pinot cluster, and tenantId in |
Hello,
I am currently starting in this way on version 2.5.3 and would like to use the URI statistics feature:
java -jar -Dpinpoint.zookeeper.address=localhost pinpoint-web-starter-boot-2.5.3.jar java -jar -Dpinpoint.zookeeper.address=localhost pinpoint-collector-starter-boot-2.5.3.jar
The service is started with:
java -javaagent:/root/pinpoint-agent-2.5.3/pinpoint-bootstrap.jar \ -Dpinpoint.agentId=xxxx \ -Dpinpoint.applicationName=xxxx \ -Dprofiler.transport.grpc.collector.ip=xxx \ -Dprofiler.collector.ip=xxx \ -jar xxxx.jar \
However, there's no data in the URI statistics, even though initialization and everything in Pinot is done, and the table structures are there, but no data is coming in. Can you advise if there's something wrong with my setup or if I need to start something extra? Thank you.
The text was updated successfully, but these errors were encountered: