Skip to content

Instantly share code, notes, and snippets.

View ngtuna's full-sized avatar

Tuna ngtuna

View GitHub Profile
k -n aggregator-rc logs -f aggregator-rc-backend-polygon-api-7586b5f44-ks9bx  ✔  core-cluster ⎈  12:16:30 PM 
2023/02/19 05:13:20 Datadog Tracer v1.36.0 INFO: DATADOG TRACER CONFIGURATION {"date":"2023-02-19T05:13:20Z","os_name":"Linux (Unknown Distribution)","os_version":"unknown","version":"v1.36.0","lang":"Go","lang_version":"go1.16.15","env":"production","service":"aggregator-rc-backend-polygon-api","agent_url":"http://10.0.0.105:8126/v0.4/traces","agent_error":"","debug":false,"analytics_enabled":false,"sample_rate":"NaN","sampling_rules":null,"sampling_rules_error":"","service_mappings":null,"tags":{"runtime-id":"261eeb31-55a8-46d5-879f-04e349ff5d95"},"runtime_metrics_enabled":false,"health_metrics_enabled":false,"profiler_code_hotspots_enabled":false,"profiler_endpoints_enabled":false,"dd_version":"v1.29.0","architecture":"amd64","global_service":"aggregator-rc-backend-polygon-api","lambda_mode":"false","appsec":false,"agent_features":{"DropP0s":true,"Stats":true,"Statsd
targetSystem: linux
datadog:
clusterName: prod
site: datadoghq.eu
dd_url: https://app.datadoghq.eu
logs:
enabled: true
containerCollectAll: true
apiKey: ***
apm:
2022/02/05 18:48:34 Datadog Tracer v1.36.0 DEBUG: appsec: not been not enabled during the compilation: please add the go build tag `appsec` to your build options to enable it
2022/02/05 18:48:34 Datadog Tracer v1.36.0 INFO: DATADOG TRACER CONFIGURATION {"date":"2022-02-05T18:48:34Z","os_name":"Linux (Unknown Distribution)","os_version":"unknown","version":"v1.36.0","lang":"Go","lang_version":"go1.16.13","env":"partners","service":"dmm-aggregator-backend-bsc-api","agent_url":"http://10.0.0.10:8126/v0.4/traces","agent_error":"","debug":true,"analytics_enabled":false,"sample_rate":"1.000000","sampling_rules":null,"sampling_rules_error":"","service_mappings":null,"tags":{"runtime-id":"bb00336f-a6c4-4b11-bb3e-fbdda4dd5fad"},"runtime_metrics_enabled":false,"health_metrics_enabled":false,"profiler_code_hotspots_enabled":false,"profiler_endpoints_enabled":false,"dd_version":"api-speedup-usd-bff78f6","architecture":"amd64","global_service":"dmm-aggregator-backend-bsc-api","lambda_mode":"false","appsec":false,"agent_fe
func main() {
tracer.Start(
tracer.WithEnv(os.Getenv("DD_ENV")),
tracer.WithService(os.Getenv("DD_SERVICE")),
tracer.WithServiceVersion(os.Getenv("DD_VERSION")),
)
defer tracer.Stop()
if err := profiler.Start(
profiler.WithProfileTypes(
[2022-01-07T01:55:56Z WARN server::state_keeper] Failed to get account state for account id 1793. Error: "Account #1793 not exist"
[2022-01-07T02:08:48Z WARN server::state_keeper] Failed to get account state for account id 1794. Error: "Account #1794 not exist"
[2022-01-07T02:09:09Z WARN server::state_keeper] Failed to get account state for account id 1794. Error: "Account #1794 not exist"
[2022-01-07T02:09:52Z WARN server::state_keeper] Failed to get account state for account id 1794. Error: "Account #1794 not exist"
[2022-01-07T02:09:52Z WARN server::state_keeper] Failed to get account state for account id 1794. Error: "Account #1794 not exist"
[2022-01-07T02:15:40Z WARN server::state_keeper] Failed to get account state for account id 1795. Error: "Account #1795 not exist"
[2022-01-07T02:16:22Z WARN server::state_keeper] Failed to get account state for account id 1796. Error: "Account #1796 not exist"
[2022-01-07T02:16:22Z WARN server::state_keeper] Failed to get account state for account id 1796. E
[2021-12-23T08:18:03Z DEBUG server::tx_pool] last_executed_block_number: 261
[2021-12-23T08:18:03Z INFO server::state_keeper] Got StateKeeperRequest::GetAccountState
[2021-12-23T08:18:03Z INFO server::state_keeper] Got StateKeeperRequest::GetAccountState
[2021-12-23T08:18:03Z INFO server::tx_pool::pool_state] Re-adding BlockOperation to state: [Deposit(DepositOperation { account_id: 3, deposit_id: 9, token_id: 4, amount: 3000000000000000000, tx_hash: 0x339043b3a4d87d4ec28ef8a5b50c899ce363de4d3f97809cd07c75079b8b6bf0, created_at: 2021-12-22T08:32:18 }), Deposit(DepositOperation { account_id: 2, deposit_id: 10, token_id: 4, amount: 4000000000000000000, tx_hash: 0xb9d3749838b609876b108769eff08adcbaad678799be386604f50c6128bb7ccc, created_at: 2021-12-22T08:35:39 })]
[2021-12-23T08:18:03Z INFO server::tx_pool::pool_state] Re-adding hidden txs to pool. Hidden Txs: []
[2021-12-23T08:18:03Z DEBUG server::tx_pool] max_blocks_in_batch: 5 | amm_tx_submit_limit: 5 | last_executed_block_number: 261 | last_hidden_tx_blo
struct ValidatorState {
address owner;
bool isCandidate;
uint256 cap;
mapping(address => uint256) voters;
}
struct WithdrawState {
mapping(uint256 => uint256) caps;
uint256[] blockNumbers;
kubectl logs -f servicemix-3547043142-hm745
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.ListHttpHandler. Path: /http/list
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.ViewLog. Path: /http/view/log
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.UploadEtc. Path: /http/upload/etc
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.StopServicemix. Path: /http/system/stop
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.ViewFile. Path: /http/view
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.UploadDeploy. Path: /http/upload/deploy
2018-04-06 17:28:14 INFO Server:56 - Add handler: com.olbius.servicemix.handler.ViewEtc. Path: /http/view/etc
kubectl get events
LASTSEEN FIRSTSEEN COUNT NAME KIND SUBOBJECT TYPE REASON SOURCE MESSAGE
25m 25m 1 192.168.11.11 Node Normal NodeNotReady {controllermanager } Node 192.168.11.11 status is now: NodeNotReady
25m 25m 1 192.168.11.11 Node Normal NodeHasSufficientDisk {kubelet 192.168.11.11} Node 192.168.11.11 status is now: NodeHasSufficientDisk
25m 25m 1 192.168.11.11 Node Normal NodeReady {kubelet 192.168.11.11} Node 192.168.11.11 status is now: NodeReady
22m 2d 3 192.168.11.13 Node Normal NodeNotReady {controllermanager } Node 192.1
$ kubectl -n sapa logs -f sapa-backend-9897bdd86-r5xg6
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.7.RELEASE)