[Flow Logs] error: invalid literal for int() with base 10: '-': ValueError
See original GitHub issuecontext
- Datadog-VPC-Flow-Logs deployed from https://serverlessrepo.aws.amazon.com/ on Sunday 3rd June
- code not modified; using keys via KMS
- 2/3 of events processed successfully; 1/3 show error with log message below
error
invalid literal for int() with base 10: '-': ValueError
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 337, in lambda_handler
process_message(message, tags, timestamp, node_ip)
File "/var/task/lambda_function.py", line 53, in process_message
process_packets(packets, detailed_tags, timestamp)
File "/var/task/lambda_function.py", line 231, in process_packets
stats.histogram("packets.per_request", int(packets), tags=tags, timestamp=timestamp)
ValueError: invalid literal for int() with base 10: '-'
metrics
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ValueError: invalid literal for int() with base 10: '' - Stack Overflow
2. For anyone currently looking here. The error may be that one of the lines isn't in integer form. · 1. i got...
Read more >[Solved]: Python ValueError: invalid literal for int() with base 10
In Python “ValueError: invalid literal for int() with base 10” error is occurred when you try to convert a string value that is...
Read more >ValueError: invalid literal for int() with base 10: '\n'
ValueError : invalid literal for int() with base 10: '\n' ... I'm getting the error "int() with base 10" can anyone please find...
Read more >Python ValueError: invalid literal for int() with base 10 Solution
Our error message tells us there is an invalid literal for an integer in base 10. This means the value we have passed...
Read more >How to Throw Exceptions in Python - Rollbar
Difference Between Python Syntax Errors and Python Exceptions ... Enter 1st number:s invalid literal for int() with base 10: 's' Enter 1st ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for your patience. This has been deployed in the latest version of the application.
@garnermccloud Any update on this? thanks