- What is the Difference between API Observability and API Monitoring
- API Observability: A framework for managing your applications in an API world
- Intro to API Observability
- The RED method: A new strategy for monitoring microservices
- Usando Prometheus para coletar métricas de aplicações Golang
- Collector
- OpenTelemetry Demo Documentation
- [MELT 101](https://newrelic.com/sites/default/files/2022-03/melt-101-four-essential-telemetry-data-types.pd
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
├── README.md | |
├── go.mod | |
├── go.sum | |
├── cmd | |
│ ├── api | |
│ │ └── main.go | |
│ └── appctl | |
│ └── main.go | |
├── config | |
│ ├── config.go |
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 | |
│ ├── api | |
│ │ └── main.go | |
│ └── appctl | |
│ └── main.go |
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
├── book | |
│ ├── book.go | |
│ ├── service.go | |
│ ├── service_test.go | |
│ ├── mock | |
│ │ ├── use_case.go | |
│ │ ├── repository.go | |
│ ├── postgres | |
│ │ ├── book_storage.go | |
│ │ ├── book_storage_test.go |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"log" | |
"net/http" | |
"time" | |
"github.com/charmbracelet/lipgloss" |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"log" | |
"net/http" | |
"time" | |
) |
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
package service_test | |
import ( | |
"testing" | |
"github.com/PicPay/example" | |
) | |
func TestFindAll(t *testing.T) { | |
s := example.NewService() | |
all, err := s.FindAll() |
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
package service | |
//NewService create new service | |
func NewService() *Service { | |
return &Service{} | |
} | |
//FindAll | |
func (s *Service) FindAll() ([]*entity.Privilege, error) { | |
acl := s.getDefaultPrivileges() |
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
int open(const char* path, int flags, mode_t permissions); | |
int close(int fd); | |
ssize_t read(int fd, void* buffer, size_t count); | |
ssize_t write(int fd, const void* buffer, size_t count); | |
off_t lseek(int fd, off_t offset, int referencePosition); |
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
FileInputStream fileStream = new FileInputStream(fileName); | |
BufferedInputStream bufferedStream = new BufferedInputStream(fileStream); | |
ObjectInputStream objectStream = new ObjectInputStream(bufferedStream); |
NewerOlder