Questions tagged [dapr]

Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.

Dapr is a portable, event-driven runtime that makes it easy for enterprise developers to build resilient, microservice stateless and stateful applications that run on the cloud and edge and embraces the diversity of languages and developer frameworks.

Dapr.io

164 questions
0
votes
1 answer

How to consider single dapr pubsub.yaml file if we have multiple files in components directory

I have to use pubsub yaml file conditionally based on environment. In local I have to use rabbitmq and in other environmenta i have to use other pubsub broker. I have different pubsub yaml files in components folder for different messaging…
0
votes
1 answer

Dapr Exponential backoff for RETRY (AzureServiceBus)

Currently deployed services to the Azure container apps and they communicate through the azure service bus During communication, a service will send 4000 messages some messages will throw errors because of the database max connections (200) to the…
0
votes
1 answer

Dapr sidecar on a different machine from the application

I'm doing some tests with Dapr that are not working, the scenario is not very common (for the moment it's just a few tests). It is that a Web App deployed in Azure uses a Dapr sidecar that is also located in azure, but that does not run, let's say,…
0
votes
1 answer

Looking for instructions how to run Dapr QuickStart sample locally without Kubernetes

I am going through the following Dapr sample: https://github.com/dapr/quickstarts/tree/master/tutorials/hello-kubernetes The sample needs Kubernetes. To my understanding, Dapr can run locally with no need for Kubernetes. Is there any instructions…
Allan Xu
  • 7,998
  • 11
  • 51
  • 122
0
votes
0 answers

Dapr logs on dashboard not showing

Does anyone know how logs from dapr can be viewed on eithe the dapr dashboard or via grafana I setup dapr and it was showing logs in the dashboard but for some reason it’s not showing anymore
Howie
  • 1
0
votes
0 answers

Dapr pub-sub connection refused

I have an endpoint wired up to subscribe to an Azure Service Bus Topic. Something like this: [Topic("my-component", "my-topic")] [HttpPost("[action]")] public async Task> DoIt(CloudEvent cloudEvent) { ... } Sometimes, the…
spottedmahn
  • 14,823
  • 13
  • 108
  • 178
0
votes
0 answers

Prometheus not scraping Dapr metrics

I have set up prometheus for Dapr metrics in Docker Compose but I'm not getting my Grafana dashboards to populate. I think its because Prometheus is not scraping Dapr metric port localhost:9090. See my configs below: Docker…
0
votes
0 answers

dapr to access kubernetes secrets as secretstore

following my previous question about dapr and k8s secrets. I have a k8s secret defined as follow: apiVersion: v1 kind: Secret metadata: name: secretstore namespace: my-namespace type: Opaque data: MY_KEY: I then defined a dpar…
Domenico
  • 29
  • 6
0
votes
0 answers

dapr.io/config annotation to access a secret

I am trying to deploy a k8s pos with dapr sidecar container. I want the dapr container to access a secret key named "MY_KEY" stored in a secret called my-secrets. I wrote this manifest for the deployment: apiVersion: apps/v1 kind:…
Domenico
  • 29
  • 6
0
votes
0 answers

Zipkin no show external service

My code is in .net with dapr, but in zipkin only the apis that I develop are shown, but the external endpoints of others are not shown. i am using opentelemetry
dev
  • 29
  • 1
0
votes
1 answer

Fine-grained control over what kind of failures trip a dapr circuit breaker

Question Is it possible to further specifiy what kind of failures trip a dapr circuit breaker targeting a component (AWS SQS)? Use case I am sending emails via AWS SES. If you reach your sending limits, the AWS sdk throws an error (code 454). In…
Kim Kern
  • 54,283
  • 17
  • 197
  • 195
0
votes
1 answer

Setting Dapr @Topic fields at runtime

Stack: Java Jakarta EE10 Wildfly27 Docker Dapr The issue is configuration of Topics, dynamically. I have several environments TEST/DEV/PROD and i want to use different topics for the different environments, but the same image. Ideally i would like…
0
votes
0 answers

Dapr, How to implement in docker-compose some log viewer in my local

I want to implement Dapr with "OpenTelemetry SDK for .NET" in my docker-compose to view the application logs. any example with Elastic Search, Kibana or some other? none at the moment only https://docs.dapr.io/operations/monitoring/logging/
dev
  • 29
  • 1
0
votes
2 answers

Can't set up MQTT (Mosquito Docker) + SSL + MQTTNet (C#) + Dapr.io binding

I am trying to set up a local MQTT broker using mosquito image and connect to it with MQTTNet as publisher and subscribe using Dapr MQTT binding. Everything works fine if I am using anonymous mode (both in Docker self-hosted and in K8S). But we need…
Kokos
  • 2,143
  • 3
  • 17
  • 16
0
votes
1 answer

Dapr sidecar injector logs show regular expression error when applying sidecar limits

I want to deploy a Dapr application with limitations on the sidecar annotations: dapr.io/enabled: "true" dapr.io/app-id: "simple-js" dapr.io/app-port: "5001" dapr.io/sidecar-cpu-limit: “200m” …
Kai Walter
  • 3,485
  • 2
  • 32
  • 62