gaoyanyu opened a new issue, #13233:
URL: https://github.com/apache/skywalking/issues/13233

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   OAP server (apache/skywalking)
   
   ### What happened
   
   I start skywalking python agent like this:
   `from skywalking import agent as sw_agent
    from skywalking import config as sw_config
      sw_config.init(
               agent_collector_backend_services='127.0.0.1:11800',
               agent_name='client',
               agent_instance_name='client-pod1',
               agent_trace_ignore_path="/metrics/,/health",
               agent_log_reporter_active=True,  # 启用日志上报
               agent_log_reporter_level="INFO",  # 上报日志级别
               agent_logging_level="DEBUG",
               sample_n_per_3_secs=5,
           )
           sw_agent.start()`
   and got output like this:
   `2025-05-06 15:54:15.271 | INFO     | __main__:<module>:57 - 2025-05-06 
15:54:15
   'Invalid configuration option sample_n_per_3_secs'
    * Serving Flask app 'client'
    * Debug mode: on
   `
   Do I miss something?
   
   ### What you expected to happen
   
   output is normal
   
   ### How to reproduce
   
   [skywalking python agent sample 
configuration](https://skywalking.incubator.apache.org/docs/skywalking-python/next/en/setup/configuration/)
 shows like this:
   
   
![Image](https://github.com/user-attachments/assets/ad798fea-dba1-41c5-967d-0faa2f3c2f14)
   
   ### Anything else
   
   skywalking oap&ui version: 10.2.0
   skywalking python agent version: 1.1.0
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to