This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mongodb | |
time series | |
Copped Collection -> fixed and retrieve insertion order, high throughput | |
Use Custom Collection -> rules for string comp letter case and assent marks | |
Clustered Collection -> stores ordered by used defined cluster key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://betterprogramming.pub/tracing-in-spring-boot-3-webflux-d432d0c78d3e | |
logging.pattern.level: "trace_id=%mdc{traceId} span_id=%mdc{spanId} trace_flags=%mdc{traceFlags} %p" | |
https://spring.academy/guides/microservices-observability-reactive-spring-boot-3 | |
---------------- | |
https://azizulhaq-ananto.medium.com/how-to-handle-logs-and-tracing-in-spring-webflux-and-microservices-a0b45adc4610 | |
@Component |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd -cur_console:n | |
powershell -cur_console:s1TVn | |
bash -cur_console:s1THn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.dynatrace.com/news/blog/distributed-tracing-with-w3c-trace-context-for-improved-end-to-end-visibility/ | |
https://engineering.dynatrace.com/open-source/standards/w3c-trace-context/ | |
https://aloisreitbauer.medium.com/trace-context-and-the-road-toward-trace-tool-interoperability-d4d56932369c | |
https://stackoverflow.com/questions/76620276/use-both-b3-and-w3c-trace-formats-in-trace-propagation-between-spring-boot-2-3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -jar wiremock-jre8-standalone-2.35.jar --port 9999 | |
ls -> __files and mappings folders | |
wiremock recorder -> | |
localhost:9999/__admin/recorder/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWS CloudWatch | |
├── Metrics | |
│ ├── Custom Metrics | |
│ ├── EC2 Metrics | |
│ ├── RDS Metrics | |
│ ├── ELB Metrics | |
│ ├── Lambda Metrics | |
│ └── S3 Metrics | |
├── Alarms | |
│ ├── Actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To use the Spring Actuator loggers endpoint in a traditional Spring application (i.e., one that does not use Spring Boot), you will need to do the following: | |
Add the spring-actuator dependency to your application. | |
Enable the loggers endpoint by adding the management.endpoint.loggers.enabled property to your application.properties file and setting it to true. | |
Configure the LoggersMvcEndpoint bean in your application context. This can be done by creating a configuration class that implements the ManagementConfigurer interface and overrides the configure method. | |
For example: | |
Copy code | |
@Configuration | |
public class ManagementConfig implements ManagementConfigurer { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We use a Socket Attaching Connector, which is enabled by default when the dt_socket transport is configured and the VM is running in the server debugging mode. | |
#Java Env Variable (Append $JAVA_OPTS or %JAVA_OPTS% if required) | |
JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005" | |
#For Java 9 or above | |
Since Java 9.0 JDWP supports only local connections by default, add*:<port> to listen all interfaces | |
java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 <AppJar> | |
#For java 1.5 to 1.8: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Citrix for Linux from | |
https://www.citrix.com/en-in/downloads/workspace-app/linux/workspace-app-for-linux-latest.html | |
If Error: | |
You have not chosen to trust "entrust root certification authority-G2" the issuer of the server security certificate ssl error 61 | |
Follow this step to resolve cert issue: | |
https://mikesmithers.wordpress.com/2018/06/08/you-have-chosen-not-to-trust-citrix-receiver-and-ssl-error-61-on-ubuntu/ | |
in Gist : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt upgrade | |
nvidia-smi | |
sudo apt install nvidia-utils-515 | |
nvidia-smi | |
sudo apt install nvidia-driver-515 | |
sudo prime-select nvidia | |
nvidia-smi | |
sudo reboot | |
nvidia-smi |
NewerOlder